CSS fixes.
[scpubgit/stemmaweb.git] / root / src / stexaminer.tt
index 6b85243..a3308bb 100644 (file)
@@ -1,7 +1,7 @@
 [% WRAPPER header.tt
-       pagetitle = "Stexaminer - $text_title"
-       applicationjs = c.uri_for('/js/stexaminer.js')
-       applicationstyle = c.uri_for('/css/stexaminer.css')
+    pagetitle = "Stexaminer - $text_title"
+    applicationjs = c.uri_for('/js/stexaminer.js')
+    applicationstyle = c.uri_for('/css/stexaminer.css')
 %]
 <script type="text/javascript">
 var baseurl = "[% c.uri_for( '/stexaminer/' ) %]";
@@ -15,17 +15,16 @@ var readingstats = [% reading_statistics %];
 var graphdot = '[% graphdot %]';
 </script>
 [% END -%]
-       <div id="topbanner">
-               <span class="mainnav">
-                       <a href="help" title="Stexaminer help" class="navlink" id="aboutlink">Help / About</a> | <a href="[% c.uri_for( '/' ) %]?withtradition=[% text_id %]" title="Index" class="navlink">Return to index</a>
-               </div>
-           <h1>Stexaminer</h1>
-       <h2>[% text_title %]</h2>
-       <p><span class="navlink" onClick="$('#options').dialog('open')">Analysis options</span></p>
+    <div id="topbanner">
+        <span class="mainnav">
+            <a href="help" title="Stexaminer help" class="navlink" id="aboutlink">Help / About</a> | <a href="[% c.uri_for( '/' ) %]?withtradition=[% text_id %]" title="Index" class="navlink">Return to index</a>
+        </div>
+        <h1>Stexaminer</h1>
+        <h2>[% text_title %]</h2>
     </div>
     <div id="status">
 [% IF error -%]
-           <span class="error">[% error %]</span>
+        <span class="error">[% error %]</span>
 [% END -%]
     </div>
     <div id="variants_table">
@@ -36,60 +35,65 @@ var graphdot = '[% graphdot %]';
      </table>
     </div>
     <div>
-               <div id="stemma_graph">
-               </div>
-               <div id="row_statistics">
-                 <h3>Aggregate text statistics</h3>
-                 <ul>
-                       <li>Total number of variant locations analyzed: [% total %]</li>
-                       <li>Number of fully genealogical locations: [% genealogical %]</li>
-                       <li>Number of readings that conflict with the stemma: [% conflict %]</li>
-                       <li>Genealogical reading transitions by relationship type: [% todo %]</li>
-                 </ul>
-                 <p>(Choose a row in the table to display statistics about individual readings.)</p>
-               </div>
+        <div id="stemma_graph">
+        </div>
+        <div id="row_statistics">
+          <h3>Aggregate text statistics</h3>
+          <div id="options_button_container">
+            <div id="options_button" class="button" onClick="$('#options').dialog('open')">
+                  <span>Analysis options</span>
+            </div>
+          </div>
+          <ul id="aggregates">
+            <li>Total number of variant locations analyzed: [% total %]</li>
+            <li>Number of fully genealogical locations: [% genealogical %]</li>
+            <li>Number of readings that conflict with the stemma: [% conflict %]</li>
+            <li>Genealogical reading transitions by relationship type: [% todo %]</li>
+          </ul>
+          <p>(Choose a row in the table to display statistics about individual readings.)</p>
+        </div>
     </div>
     
     <div id="stats_template" class="template">
-           <h3>Statistics for readings at <span id="statrank"></span>:</h3>
-           <!-- reading_template will be appended here for each reading -->
-           <span class="solutionstatus"></span>
+        <h3>Statistics for readings at <span id="statrank"></span>:</h3>
+        <!-- reading_template will be appended here for each reading -->
+        <span class="solutionstatus"></span>
     </div>
     
-       <div id="reading_template" class="template">
-               <div class="reading_statistics">
-                       <span class="readinglabel"></span> - copied <span class="reading_copied"></span> time(s), changed <span class="reading_changed"></span> time(s)<br/>
-                       Reading root(s) at <span class="readingroots"></span><br/>
-                       <span class="readingreversions">Reading reversion(s) at <span class="reversionroots"></span><br/></span>
-                       <!-- source_parent_template will be appended here if there are parents -->
-                       <!-- reversion_parent_template will be appended here if there are reversions -->
-               </div>
+    <div id="reading_template" class="template">
+        <div class="reading_statistics">
+            <span class="readinglabel"></span> - copied <span class="reading_copied"></span> time(s), changed <span class="reading_changed"></span> time(s)<br/>
+            Reading root(s) at <span class="readingroots"></span><br/>
+            <span class="readingreversions">Reading reversion(s) at <span class="reversionroots"></span><br/></span>
+            <!-- source_parent_template will be appended here if there are parents -->
+            <!-- reversion_parent_template will be appended here if there are reversions -->
+        </div>
     </div>
     
-       <div id="reading_source_template" class="template">
-               <div class="parent_statistics">
-                       Reading parent(s):
-                       <ul class="reading_source_list"></ul>
-               </div>
-       </div>
-       <div id="reading_reversion_template" class="template">
-               <div class="parent_statistics">
-                       Reverted reading parent(s):
-                       <ul class="reading_reversion_list"></ul>
-               </div>
-       </div>
-       
-       <div id="options" title="Analysis options...">
-       <form id="use_variants_form" name="use_variants_form">
-               <fieldset>
-                       <input type="radio" name="ignore_variant" value="none" [% 'checked="true"' IF ignore_variant == 'none' %]>Analyze all variation</input><br/>
-                       <input type="radio" name="ignore_variant" value="orthographic" [% 'checked="true"' IF ignore_variant == 'orthographic' %]>Ignore orthographic variation</input><br/>
-                       <input type="radio" name="ignore_variant" value="spelling" [% 'checked="true"' IF ignore_variant == 'spelling' %]>Ignore orthographic and spelling variation</input>
-               </fieldset>
-               <fieldset>
-                       <input type="checkbox" name="show_type1" [% 'checked="true"' IF show_type1 %]>Include type-1 variation</input>
-               </fieldset>
-       </form>
+    <div id="reading_source_template" class="template">
+        <div class="parent_statistics">
+            Reading parent(s):
+            <ul class="reading_source_list"></ul>
+        </div>
+    </div>
+    <div id="reading_reversion_template" class="template">
+        <div class="parent_statistics">
+            Reverted reading parent(s):
+            <ul class="reading_reversion_list"></ul>
+        </div>
+    </div>
+    
+    <div id="options" title="Analysis options...">
+        <form id="use_variants_form" name="use_variants_form">
+            <fieldset>
+                <input type="radio" name="ignore_variant" value="none" [% 'checked="true"' IF ignore_variant == 'none' %]>Analyze all variation</input><br/>
+                <input type="radio" name="ignore_variant" value="orthographic" [% 'checked="true"' IF ignore_variant == 'orthographic' %]>Ignore orthographic variation</input><br/>
+                <input type="radio" name="ignore_variant" value="spelling" [% 'checked="true"' IF ignore_variant == 'spelling' %]>Ignore orthographic and spelling variation</input>
+            </fieldset>
+            <fieldset>
+                <input type="checkbox" name="show_type1" [% 'checked="true"' IF show_type1 %]>Include type-1 variation</input>
+            </fieldset>
+         </form>
     </div>