X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fsrc%2Fstexaminer.tt;h=be3f0add16109e7ce0b456684ac95788c4c2cb32;hb=76f05423e4d36c01a24381f4b1ec91b4a762bfbe;hp=e855d48002e546dcce641f927a29d5b31ad819f0;hpb=701e11796340f3fcf1c98993bccb59726e45527b;p=scpubgit%2Fstemmaweb.git diff --git a/root/src/stexaminer.tt b/root/src/stexaminer.tt index e855d48..be3f0ad 100644 --- a/root/src/stexaminer.tt +++ b/root/src/stexaminer.tt @@ -1,15 +1,21 @@ -[% PROCESS header.tt +[% WRAPPER header.tt pagetitle = "Stexaminer - $text_title" - applicationjs = base _ "js/stexaminer.js" + applicationjs = c.uri_for('/js/stexaminer.js') + applicationstyle = c.uri_for('/css/stexaminer.css') %] + +[% END -%]

Stexaminer

[% text_title %]

-
-

Analyzed [% total %] variant locations, of which [% genealogical %] entirely followed the stemma. [% conflict %] readings conflicted with the stemma.

-
-
- [% svg %] -
[% FOREACH row IN variants -%] @@ -17,6 +23,22 @@ [% END -%]
+
+ [% svg %] +
+
+

Aggregate text statistics

+ +

(Choose a row in the table to display statistics about individual readings.)

+
+
+

Statistics for readings at

+
+ [% PROCESS footer.tt %] @@ -24,11 +46,11 @@ [% SET rowclass = 'class="genealogical"' IF row.genealogical -%] [% SET rowclass = 'class="coincidental"' UNLESS row.genealogical -%] - [% row.id %] + [% row.id %] [% FOREACH reading IN row.readings -%] [% SET cellclass = 'clickable conflict' IF reading.conflict -%] [% SET cellclass = 'clickable' IF !reading.conflict -%] - [% reading.text %] + [% reading.text %] [% END -%] [% FILTER repeat( row.empty ) -%]