fileHost/templates/manage_uploads.html
2018-05-22 09:42:02 -04:00

28 lines
552 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Manage your uploads</title>
</head>
<body>
<pre>
<form method="post" enctype="multipart/form-data" action="{{ url_for('manage_uploads') }}">
<table>
<tr>
<th>File</th>
<th>Date Uploaded</th>
<th>Delete</th>
</tr>
{% for file, date in uploads %}
<tr>
<td><a href="{{ upload_url + file }}">{{ file }}</a></td>
<td>{{ date }}</td>
<td><input type="checkbox" name="{{ file }}"/></td>
</tr>
{% endfor %}
</table>
<input type="submit" value="Delete this" name="submit"/>
</form>
</pre>
</body>
</html>