some style modifications
[scpubgit/stemmatology.git] / stemmaweb / root / src / index.tt
index 910b1d1..993eef3 100644 (file)
@@ -1,6 +1,6 @@
 [% WRAPPER header.tt
        pagetitle = "Stemmaweb - Text tradition tools"
-       applicationjs = "js/componentload.js"
+       applicationjs = c.uri_for( 'js/componentload.js' )
 %]
     <script type="text/javascript">
 $(document).ready(function() {
@@ -11,8 +11,17 @@ $(document).ready(function() {
 
 [% END %]
 
-    <div id="topbanner"><h1>Stemmaweb - a collection of tools for analysis of collated texts</h1></div>
-    <div id="directory"></div>
+    <div id="topbanner">
+      <h1>Stemmaweb - a collection of tools for analysis of collated texts</h1>
+      <span class="mainnav"><a href="[% c.uri_for( 'about.html' ) %]">About<a> | <a href="[% c.uri_for( 'doc.html' ) %]">Help</a></span>
+    </div>
+    <div id="directory_container">
+      <h2>Text directory</h2>
+      <div id="directory">
+       <h3>Loading texts, please wait...</h3>
+       <img src="[% c.uri_for( 'images', 'ajax-loader.gif' ) %]" />
+      </div>
+    </div>
     <div id="stemma_graph"></div>
     <div id="variant_graph"></div>