1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
6 <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script>
7 <script type="text/javascript" src="js/interaction.js"></script>
8 <link type="text/css" href="[% c.uri_for('css/cupertino/jquery-ui-1.8.13.custom.css') %]" rel="stylesheet" />
9 [% INCLUDE style.tt2 %]
12 <div id="variants_table">
14 [% FOREACH row IN variants -%]
15 [% INCLUDE variantrow %]
22 [% BLOCK variantrow -%]
23 [% SET rowclass = 'class="genealogical"' IF row.genealogical -%]
24 [% SET rowclass = 'class="coincidental"' UNLESS row.genealogical -%]
26 <th><span class="rowid">[% row.id %]</span></th>
27 [% FOREACH reading IN row.readings -%]
28 [% SET cellclass = 'clickable conflict' IF reading.conflict -%]
29 [% SET cellclass = 'clickable' IF !reading.conflict -%]
30 <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>
32 [% FILTER repeat( row.empty ) -%]