fileHost/templates/manage_uploads.html

28 lines
552 B
HTML
Raw Permalink Normal View History

2018-04-14 21:29:21 -04:00
<!DOCTYPE html>
<html>
<head>
<title>Manage your uploads</title>
</head>
<body>
2018-05-22 09:42:02 -04:00
<pre>
2018-05-17 12:46:36 -04:00
<form method="post" enctype="multipart/form-data" action="{{ url_for('manage_uploads') }}">
2018-04-15 00:08:18 -04:00
<table>
<tr>
<th>File</th>
<th>Date Uploaded</th>
2018-05-17 12:46:36 -04:00
<th>Delete</th>
2018-04-15 00:08:18 -04:00
</tr>
{% for file, date in uploads %}
<tr>
2018-05-21 14:27:51 -04:00
<td><a href="{{ upload_url + file }}">{{ file }}</a></td>
2018-05-17 12:46:36 -04:00
<td>{{ date }}</td>
<td><input type="checkbox" name="{{ file }}"/></td>
2018-04-15 00:08:18 -04:00
</tr>
{% endfor %}
</table>
2018-05-17 12:46:36 -04:00
<input type="submit" value="Delete this" name="submit"/>
</form>
2018-05-22 09:42:02 -04:00
</pre>
2018-04-14 21:29:21 -04:00
</body>
</html>