Saddle/templates/gallery.html

31 lines
736 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Saddle - Gallery</title>
<link rel="stylesheet" type="text/css" href="/static/saddle.css">
<meta name="viewport" content="width=device-width, initial-scale=0.8">
<meta name="description" content="A file upload service.">
</head>
<body>
<header>
{% include 'header.html' %}
</header>
<main>
<section>
<table>
<tr>
<th>Upload Date</th>
<th>Filename</th>
</tr>
{% for upload in uploads %}
<tr>
<td>{{ upload['upload_date'].strftime('%Y-%m-%d') }}</td>
<td><a href="{{ upload_url + upload['filename'] }}">{{ upload['filename'] }}</a></td>
</tr>
{% endfor %}
</table>
</section>
</main>
</body>
</html>