imap-archiver/templates/index.html

40 lines
815 B
HTML
Raw Normal View History

2024-03-06 14:25:36 -07:00
<!doctype html>
<html>
<head>
<title>Email Folders</title>
</head>
<body>
<h1>Email Folders</h1>
<ul>
{% for folder in folders %}
<li><a href="{{ url_for('folder', table_name=folder.table_name) }}">{{ folder.name }}</a></li>
{% endfor %}
</ul>
<h1>Last Syncs</h1>
<table>
<tr>
<th>Timestamp</th>
<th>Type</th>
<th>New Emails</th>
<th>New Attachments</th>
<th>New Folders</th>
<th>Duration</th>
</tr>
{% for sync in syncs %}
<tr>
<td>{{ sync.timestamp }}</td>
<td>{{ sync.type }}</td>
<td>{{ sync.new_emails }}</td>
<td>{{ sync.new_attachments }}</td>
<td>{{ sync.duration }}</td>
</tr>
{% endfor %}
</table>
</body>
<style>
ul {
list-style-type: none;
}
</style>
</html>