From: Tara L Andrews Date: Wed, 19 Sep 2012 17:44:57 +0000 (+0200) Subject: keep analysis options button visible after row click X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8c01174cbb9c9e401a1d7a62ab4c627576799a6d;p=scpubgit%2Fstemmaweb.git keep analysis options button visible after row click --- diff --git a/root/js/stexaminer.js b/root/js/stexaminer.js index be48368..dced82d 100644 --- a/root/js/stexaminer.js +++ b/root/js/stexaminer.js @@ -90,8 +90,9 @@ function color_nodes( column_index, arr_node_ids, arr_greynode_ids ) { } function show_stats( rs ) { + // Update the title + $('#stats_title').empty().text('Statistics for reading at ' + rs.id + ':' ); var rshtml = $('#stats_template').clone(); - rshtml.find('#statrank').append( rs.id ); if( "unsolved" in rs ) { var nocalcmsg; if( rs.unsolved == 'IDP error' ) { @@ -125,8 +126,7 @@ function show_stats( rs ) { rshtml.append( rdgstats.contents() ); }); } - $('#row_statistics').empty(); - $('#row_statistics').append( rshtml.contents() ); + $('#stats_container').empty().append( rshtml.contents() ); }; @@ -166,7 +166,7 @@ $(document).ready(function () { }); $('#options').dialog({ autoOpen: false, - height: 200, + // height: 'auto', width: 300, modal: true, buttons: { diff --git a/root/src/stexaminer.tt b/root/src/stexaminer.tt index a3308bb..155c31f 100644 --- a/root/src/stexaminer.tt +++ b/root/src/stexaminer.tt @@ -38,24 +38,25 @@ var graphdot = '[% graphdot %]';
-

Aggregate text statistics

+

Aggregate text statistics

Analysis options
- -

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

+
+
    +
  • Total number of variant locations analyzed: [% total %]
  • +
  • Number of fully genealogical locations: [% genealogical %]
  • +
  • Number of readings that conflict with the stemma: [% conflict %]
  • +
  • Genealogical reading transitions by relationship type: [% todo %]
  • +
+

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

+
-

Statistics for readings at :

@@ -86,7 +87,7 @@ var graphdot = '[% graphdot %]';
- Analyze all variation
+ Analyze all variation
Ignore orthographic variation
Ignore orthographic and spelling variation