fileHost/templates/manage_uploads.html

26 lines
539 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Manage your uploads</title>
</head>
<body>
<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>
</body>
</html>