41 lines
855 B
HTML
41 lines
855 B
HTML
|
<!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.new_folders }}</td>
|
||
|
<td>{{ sync.duration }}</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</table>
|
||
|
</body>
|
||
|
<style>
|
||
|
ul {
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
</style>
|
||
|
</html>
|