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

<!-- BEGIN big-column -->
<div id = "big-column">
<div class="box">
<div class="box_header">Load a file into a Trio script</div>

<p>
<form action="upload" method="post" enctype="multipart/form-data">
file name: <input type="file" name="myFile" />&nbsp;<input type="submit" value="Load" />
</form>
</p>

<hr />

<p>
% for query in session['user'].queries:
    % if query.strip() != "":
        % if query.startswith("--"):
            <span class="comment"><em>${query.strip()}</em></span><br />
        % else:
            <!--ul class="query-list" -->
            <p><a href="index?execute=False&query=${query}"><pre>${query}</pre></a></p>
            <!-- /ul -->
        % endif
    % endif
% endfor
</p>

</div>
</div>
<!-- END big-column -->
