Commit | Line | Data |
4fb61281 |
1 | [% BLOCK js %] |
dbcf12a6 |
2 | <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> |
3 | <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script> |
4 | <script type="text/javascript" src="js/interaction.js"></script> |
4fb61281 |
5 | [% END %] |
dbcf12a6 |
6 | |
ce14597f |
7 | [% BLOCK variantrow -%] |
8 | [% SET rowclass = 'class="genealogical"' IF row.genealogical -%] |
9 | [% SET rowclass = 'class="coincidental"' UNLESS row.genealogical -%] |
10 | <tr [% rowclass %]> |
11 | <th><span class="rowid">[% row.id %]</span></th> |
12 | [% FOREACH reading IN row.readings -%] |
9c52877e |
13 | [% SET cellclass = 'clickable conflict' IF reading.conflict -%] |
0a8f09a9 |
14 | [% SET cellclass = 'clickable' IF !reading.conflict -%] |
d5c17cec |
15 | <td class="[% cellclass %]"><span onclick="color_nodes($(this).parent().index(), [% reading.group %], [% reading.missing %]);$(this).parents('tr').addClass('active_variant_row');$(this).parent().addClass('active_variant_cell cellb'+($(this).parent().index()-1))">[% reading.text %]</span></td> |
ce14597f |
16 | [% END -%] |
17 | [% FILTER repeat( row.empty ) -%] |
18 | <td/> |
19 | [% END -%] |
20 | </tr> |
4fb61281 |
21 | [% END -%] |
22 | |
23 | <h2>[% text_title %]</h2> |
24 | <div id="statistics"> |
25 | <p>Analyzed [% total %] variant locations, of which [% genealogical %] entirely followed the stemma. [% conflict %] readings conflicted with the stemma.</p> |
26 | </div> |
27 | <div id="svg_graph"> |
28 | [% svg %] |
29 | </div> |
30 | <div id="variants_table"> |
31 | <table> |
32 | [% FOREACH row IN variants -%] |
33 | [% INCLUDE variantrow %] |
34 | [% END -%] |
35 | </table> |
36 | </div> |
37 | |