2 pagetitle = "Stexaminer - $text_title"
3 applicationjs = base _ "js/stexaminer.js"
6 <h2>[% text_title %]</h2>
8 <p>Analyzed [% total %] variant locations, of which [% genealogical %] entirely followed the stemma. [% conflict %] readings conflicted with the stemma.</p>
10 <div id="stemma_graph">
13 <div id="variants_table">
15 [% FOREACH row IN variants -%]
16 [% INCLUDE variantrow %]
20 [% PROCESS footer.tt %]
23 [% BLOCK variantrow -%]
24 [% SET rowclass = 'class="genealogical"' IF row.genealogical -%]
25 [% SET rowclass = 'class="coincidental"' UNLESS row.genealogical -%]
27 <th><span class="rowid">[% row.id %]</span></th>
28 [% FOREACH reading IN row.readings -%]
29 [% SET cellclass = 'clickable conflict' IF reading.conflict -%]
30 [% SET cellclass = 'clickable' IF !reading.conflict -%]
31 <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>
33 [% FILTER repeat( row.empty ) -%]