initial
This commit is contained in:
22
code/templates/list.html
Normal file
22
code/templates/list.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<a href="{{ url_for('send', name=name) }}">+ upload</a>
|
||||
<table class=entriesall>
|
||||
<tr>
|
||||
<th>name
|
||||
<th>time
|
||||
<th>trip
|
||||
<th>kmδ
|
||||
<th>daysδ
|
||||
<th>km/d
|
||||
</tr>
|
||||
{% for entry in entries %}
|
||||
<tr>
|
||||
<td>{{ entry.name }}
|
||||
<td>{{ entry.size|safe }}
|
||||
<td>{{ entry.mtime|safe }}
|
||||
{% else %}
|
||||
<li>no files
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user