2 pagetitle = "Stexaminer - $text_title"
3 applicationjs = c.uri_for('/js/stexaminer.js')
4 applicationstyle = c.uri_for('/css/stexaminer.css')
7 <h2>[% text_title %]</h2>
9 <p>Analyzed [% total %] variant locations, of which [% genealogical %] entirely followed the stemma. [% conflict %] readings conflicted with the stemma.</p>
11 <div id="stemma_graph">
14 <div id="variants_table">
16 [% FOREACH row IN variants -%]
17 [% INCLUDE variantrow %]
21 [% PROCESS footer.tt %]
24 [% BLOCK variantrow -%]
25 [% SET rowclass = 'class="genealogical"' IF row.genealogical -%]
26 [% SET rowclass = 'class="coincidental"' UNLESS row.genealogical -%]
28 <th><span class="rowid">[% row.id %]</span></th>
29 [% FOREACH reading IN row.readings -%]
30 [% SET cellclass = 'clickable conflict' IF reading.conflict -%]
31 [% SET cellclass = 'clickable' IF !reading.conflict -%]
32 <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>
34 [% FILTER repeat( row.empty ) -%]