Commit | Line | Data |
cf9626aa |
1 | [% WRAPPER header.tt |
2 | pagetitle = "Stemmaweb - Text tradition tools" |
abc6a992 |
3 | applicationjs = c.uri_for( 'js/componentload.js' ) |
cf9626aa |
4 | %] |
5 | <script type="text/javascript"> |
57acbbe2 |
6 | var selectedTextID; |
cf9626aa |
7 | $(document).ready(function() { |
8 | // call out to load the directory div |
9 | $('#directory').load( "[% c.uri_for( 'directory' ) %]" ); |
10 | }); |
11 | </script> |
12 | |
13 | [% END %] |
14 | |
0dd07adc |
15 | <div id="topbanner"> |
16 | <h1>Stemmaweb - a collection of tools for analysis of collated texts</h1> |
3e97c22c |
17 | <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> | <a class="navlink" onclick="window.open('[% c.uri_for( '/register' ) %]', 'regwindow', 'height=385,width=445')">Register</a> | [% END %]<a class="navlink" href="[% c.uri_for( 'about.html' ) %]">About<a> </span> |
0dd07adc |
18 | </div> |
329b68ed |
19 | <div id="directory_container"> |
20 | <h2>Text directory</h2> |
21 | <div id="directory"> |
0dd07adc |
22 | <h3>Loading texts, please wait...</h3> |
23 | <img src="[% c.uri_for( 'images', 'ajax-loader.gif' ) %]" /> |
329b68ed |
24 | </div> |
0dd07adc |
25 | </div> |
57acbbe2 |
26 | <div id="stemma_container"> |
27 | <h2>Stemma for <span class="texttitle">selected text</span></h2> |
28 | <div id="stemma_graph"></div> |
29 | <form id="run_stexaminer" action="" method="GET" name="run_stexaminer"> |
30 | <div class="button" id="stexaminer_button" onClick="$('#run_stexaminer').submit()"> |
31 | <span>Examine variants against this stemma</span> |
32 | </div> |
33 | </form> |
57acbbe2 |
34 | <form id="run_relater" action="" method="GET" name="run_relater"> |
35 | <div class="button" id="relater_button" onClick="$('#run_relater').submit()"> |
36 | <span>Run relationship mapper</span> |
37 | </div> |
38 | </form> |
91b888ed |
39 | </div> |
40 | <div id="variant_container"> |
57acbbe2 |
41 | </div> |
cf9626aa |
42 | |
43 | [% PROCESS footer.tt %] |