Mercurial > repos > jankanis > blast2html
comparison visualise.html.jinja @ 6:d20ce91e1297
slight update
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Wed, 07 May 2014 19:02:20 +0200 |
parents | 1df2bfce5c24 |
children | 9e7927673089 |
comparison
equal
deleted
inserted
replaced
5:1df2bfce5c24 | 6:d20ce91e1297 |
---|---|
90 | 90 |
91 table.matchresult { | 91 table.matchresult { |
92 height: 5px; | 92 height: 5px; |
93 width: 40em; | 93 width: 40em; |
94 align: center; | 94 align: center; |
95 margin: 5px auto; | 95 margin: 4px auto 0 auto; |
96 } | |
97 table.matchresult tr { | |
98 height: 5px; | |
99 } | |
100 table.matchresult td { | |
101 height: 5px; | |
102 } | |
103 a.matchlink { | |
104 display: block; | |
105 heigth: 5px; | |
96 } | 106 } |
97 </style> | 107 </style> |
98 | 108 |
99 </head> | 109 </head> |
100 | 110 |
126 <td style="background-color: {{colors[3]}}">80-200</td> | 136 <td style="background-color: {{colors[3]}}">80-200</td> |
127 <td style="background-color: {{colors[4]}}">>=200</td> | 137 <td style="background-color: {{colors[4]}}">>=200</td> |
128 </tr></table> | 138 </tr></table> |
129 | 139 |
130 {% for line in match_colors %} | 140 {% for line in match_colors %} |
131 <table class=matchresult><tr> | 141 <a href={{line.link}}> |
132 {% for match in line.colors %} | 142 <table class=matchresult><tr> |
133 <td width={{match[0]}} style="background-color: {{match[1]}}"> </td> | 143 {% for match in line.colors %} |
134 {% endfor %} | 144 <td style="background-color: {{match[1]}}; width: {{match[0]}}px" /> |
135 </tr></table> | 145 {% endfor %} |
146 </tr></table> | |
147 </a> | |
136 {% endfor %} | 148 {% endfor %} |
137 | 149 |
138 <p>hoi</p> | 150 <p>hoi</p> |
139 | 151 |
140 </div> | 152 </div> |