<%inherit file='base_bli.mako'/>

<div id = "sidebar">
<div class="box">

<p>
<input type="button" value="Create a new user" onclick="window.location.href='createDB';" />
</p>

<form action="doLogin" method="post" onsubmit="">
% if session.has_key('error'):
    <span class="error">Error</span>: ${session['error']}
    <%
    del session['error']
    session.save()
    %>
% endif

<table>
<tr><td>User Name: </td></tr>
<tr><td> <input type="text" name="user" value="" /> </td></tr>
<tr><td>Password: </td></tr>
<tr><td> <input type="password" name="password" value="" /> </td></tr>
<tr><td>
<input type="submit" value="Login" />
<input type="reset" value="Clear" />
</td></tr>
</table>
</form>
</div>

<%include file='links.mako'/>

</div>
<!-- END sidebar -->

<div id="content">
<div class="box">
<div class="box_header">Using Trio</div>
<p>
To use the Trio system you need to either create a new user or log into
an existing one.
</p>

<p>
Clicking "Create a new user" prompts you to enter a new user name and a
password. Once you click "Create and login" you will be logged into the
Trio system. You can then create and query databases from our samples,
or create your own. Visit the Help tab from the Home page for more
information.
</p>

<p>
When possible, we endeavor to leave user databases intact: usually when
you log in later with the same name and password, you'll find your data
in the state that you left it. However, sometimes when we upgrade the
system, old databases become unusable. Furthermore if you access a
different instance of the Trio server (through an alternate URL), then
users and data created elsewhere are not visible.
</p>

</div>
</div>
