fileHost/templates/manage_uploads.html

26 lines
539 B
HTML
Raw Normal View History

2018-04-14 21:29:21 -04:00
<!DOCTYPE html>
<html>
<head>
<title>Manage your uploads</title>
</head>
<body>
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-17 12:46:36 -04:00
<td><a href="{{ upload_dir + file }}">{{ file }}</a></td>
<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-04-14 21:29:21 -04:00
</body>
</html>