Source

The Maggot / src / templates / index.tmpl

Full commit
Brendan Howell cbb2793 
Brendan Howell 49321be 


Brendan Howell 2b27199 




Brendan Howell 49321be 









Brendan Howell 2b27199 
Brendan Howell 49321be 
Brendan Howell 2b27199 
Brendan Howell cbb2793 
#include "templates/header.tmpl"    
    <img src="/static/maggot.png" alt="maggot" />
    #if len($sessions):
    <h3>Current Corpora:</h3>
    <ul>
      #for $session in $sessions:
        <li><a href="/session?sid=$session.id">$session.name</a></li>
      #end for
    </ul>
    #end if
    #if len($old_sessions):
    <h3>Digested Corpora:</h3>
	<ul>
      #for $session in $old_sessions:
        <li><a href="/session?sid=$session.id">$session.name</a></li>
      #end for
    </ul>
    #end if
    <h3>Actions:</h3>
    <ul>
        <li><a href="/newsession">Create New Corpus</a></li>  
    </ul>
#include "templates/footer.tmpl"