28 lines
552 B
HTML
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>
|