Mercurial > repos > jankanis > blast2html
comparison visualise.html.jinja @ 9:bbdc8fb0de2b
fix descriptiontable width
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Thu, 08 May 2014 18:59:32 +0200 |
parents | beb83da5a6b7 |
children | 2fbdf2eb27b4 |
comparison
equal
deleted
inserted
replaced
8:beb83da5a6b7 | 9:bbdc8fb0de2b |
---|---|
170 table.descriptiontable td { | 170 table.descriptiontable td { |
171 overflow: hidden; | 171 overflow: hidden; |
172 white-space: nowrap; | 172 white-space: nowrap; |
173 } | 173 } |
174 table.descriptiontable td div { | 174 table.descriptiontable td div { |
175 display: inline-block; | 175 width: 1em; |
176 overflow: hidden; | 176 overflow: visible; |
177 max-height: 1.4em; | |
178 white-space: nowrap; | 177 white-space: nowrap; |
179 } | 178 } |
180 | 179 |
181 </style> | 180 </style> |
182 | 181 |
255 <h2>Descriptions</h2> | 254 <h2>Descriptions</h2> |
256 | 255 |
257 <div class=grey><div class=white> | 256 <div class=grey><div class=white> |
258 <h4 class=blackHeader>Sequences producing significant alignments:</h4> | 257 <h4 class=blackHeader>Sequences producing significant alignments:</h4> |
259 <table class=descriptiontable> | 258 <table class=descriptiontable> |
259 <col/><col/><col/><col/><col/><col/><col/> | |
260 <tr> | 260 <tr> |
261 <th>Description</th> | 261 <th>Description</th> |
262 <th>Max score</th> | 262 <th>Max score</th> |
263 <th>Total score</th> | 263 <th>Total score</th> |
264 <th>Query cover</th> | 264 <th>Query cover</th> |
266 <th>Ident</th> | 266 <th>Ident</th> |
267 <th>Accession</th> | 267 <th>Accession</th> |
268 </tr> | 268 </tr> |
269 {% for hit in hit_info %} | 269 {% for hit in hit_info %} |
270 <tr> | 270 <tr> |
271 <td><div>{{hit.description}}</div></td> | 271 <td style="width: 100%"><div>{{hit.description}}</div></td> |
272 <td>{{hit.maxscore}}</td> | 272 <td>{{hit.maxscore}}</td> |
273 <td>{{hit.totalscore}}</td> | 273 <td>{{hit.totalscore}}</td> |
274 <td>{{hit.cover}}</td> | 274 <td>{{hit.cover}}</td> |
275 <td>{{hit.e_value}}</td> | 275 <td>{{hit.e_value}}</td> |
276 <td>{{hit.ident}}</td> | 276 <td>{{hit.ident}}</td> |