add help docs, especially for relationship mapper
[scpubgit/stemmaweb.git] / root / src / index.tt
index 1aaaddc..884a68e 100644 (file)
@@ -1,6 +1,7 @@
 [% WRAPPER header.tt
        pagetitle = "Stemmaweb - Text tradition tools"
        applicationjs = c.uri_for( 'js/componentload.js' )
+       applicationstyle = c.uri_for( 'css/dashboard.css' )
 %]
     <script type="text/javascript">
 // Set global variables that must be passed by the server
@@ -9,10 +10,12 @@ var textOnLoad = "[% withtradition %]";
     </script>
 
 [% END %]
-
+   <div id="main_page" class="clearfix">
+   <div class="mainnav">
+       <span>[% IF c.user_exists %]Hello! [% c.user.get_object.email %]! &nbsp; <a class="navlink" href="[% c.uri_for( '/logout' ) %]">Sign out</a> | [% ELSE %]<a class="navlink" onclick="window.open('[% c.uri_for( '/login' ) %]', 'loginwindow', 'height=385,width=445')">Sign in/Register</a> | [% END %]<a class="navlink" href="[% c.uri_for( '/about' ) %]">About Stemmaweb</a> </span>
+   </div>
     <div id="topbanner">
-      <h1>Stemmaweb - a collection of tools for analysis of collated texts</h1>
-      <span class="mainnav">[% IF c.user_exists %]Hello! [% c.user.get_object.email %] <a class="navlink" href="[% c.uri_for( '/logout' ) %]">Sign out</a> | [% ELSE %]<a class="navlink" onclick="window.open('[% c.uri_for( '/login' ) %]', 'loginwindow', 'height=385,width=445')">Login</a> | [% END %]<a class="navlink" href="[% c.uri_for( '/about' ) %]">About</a> </span>
+      <h1 class="title">Stemmaweb - a collection of tools for analysis of collated texts</h1>
       <p id="compatibility_check"><span class="error">This browser does not support 
       the functions necessary for Stemmaweb to work properly. We recommend use of 
       <a href="http://mozilla.org/firefox">Mozilla Firefox</a> or 
@@ -31,7 +34,7 @@ var textOnLoad = "[% withtradition %]";
        <h3>Loading tradition information, please wait...</h3>
        <img src="[% c.uri_for( 'images', 'ajax-loader.gif' ) %]" alt="Loading tradition info..." />
     </div>
-    <div id="textinfo_container">
+    <div id="textinfo_container" class="clearfix">
       <div id="textinfo_load_status"></div>
       <h2>Text <span class="texttitle"></span></h2>
       <form id="open_textinfo_edit" action="" method="GET" name="edit_textinfo">
@@ -94,6 +97,7 @@ var textOnLoad = "[% withtradition %]";
             </div>
           </a>
       </div>
+      <div id="stemma_load_status"></div>
       <div id="stemma_graph"></div>
       <div id="stemma_graph_title"><span id="stemma_identifier"></span></div>
     </div>
@@ -103,7 +107,8 @@ var textOnLoad = "[% withtradition %]";
        <h3>Loading texts, please wait...</h3>
        <img src="[% c.uri_for( 'images', 'ajax-loader.gif' ) %]" alt="Loading tradition list..."/>
     </div>
-    
+  </div> <!-- main_page -->
+  
     <!-- Textinfo editor dialog -->
     <div id="textinfo-edit-dialog" title="Edit information about this tradition">
       <div id="textinfo_edit_container">
@@ -203,7 +208,7 @@ var textOnLoad = "[% withtradition %]";
     </div>
     
     <div id="root_tree_dialog">
-        Use this node to root the stemma? <img id="root_tree_dialog_button_ok" src="/images/tick_circle_frame_24.png"/>
+        Use this node to root the stemma? <img id="root_tree_dialog_button_ok" src="[% c.uri_for( 'images', 'tick_circle_frame_24.png' ) %]"/>
     </div>
     
 [% PROCESS footer.tt %]
\ No newline at end of file