34 lines
1008 B
HTML
Executable File
34 lines
1008 B
HTML
Executable File
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<div id=index_title><h1>{{ g.site_name | safe }}</h1></div>
|
|
<div id=index_menu>
|
|
<div id=index_enter>
|
|
<input id="index_form_name" type=text name=name title="Hidden share name"
|
|
onkeydown="index_form_enter(event)" autofocus>
|
|
<input type=submit value=Go onclick="index_form_submit()">
|
|
</div>
|
|
</div>
|
|
<div class=clear></div>
|
|
<table id=index_table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name
|
|
<th class=td_right>Expires
|
|
<th class=td_right>Upload
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for entry in entries %}
|
|
<tr>
|
|
<td><a
|
|
href="{{ url_for('list_view',name=entry.name) }}"
|
|
title="{{ entry.description | safe }}"
|
|
>{{ entry.name }}</a>
|
|
{% if entry.password_set %}(Logged in){% endif %}
|
|
<td class=td_right>{% if entry.expire %}{{ entry.expire|safe }}{% else %}-{% endif %}
|
|
<td class=td_right>{% if entry.upload %}yes{% else %}no{% endif %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|