2024-10-04 20:43:58 +10:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Inbox | HNS Login Email</title>
|
|
|
|
<link rel="icon" href="/assets/img/favicon.png" type="image/png">
|
|
|
|
<link rel="stylesheet" href="/assets/css/index.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<header style="display: inline;">
|
2024-10-04 21:11:21 +10:00
|
|
|
<img src="/favicon.png" style="width:50px;height:50px;">
|
2024-10-09 15:25:48 +11:00
|
|
|
<h1>HNS Email</h1> <span style="float:right">{{emails.email}} | <a href="/notifications">Notifications</a> | <a
|
2024-10-04 21:36:31 +10:00
|
|
|
href="/logout">Logout</a></span>
|
2024-10-04 20:43:58 +10:00
|
|
|
</header>
|
2024-10-04 21:36:31 +10:00
|
|
|
<br>
|
|
|
|
<a href="/refresh" class="button" style="float: right;">Refresh</a>
|
2024-10-04 20:43:58 +10:00
|
|
|
<div class="centre">
|
2024-10-04 21:36:31 +10:00
|
|
|
|
2024-10-04 20:43:58 +10:00
|
|
|
{% for conversation in emails.conversations %}
|
|
|
|
<div class="conversation">
|
|
|
|
<span>Conversation: {{conversation.id}}</span>
|
|
|
|
{% for message in conversation.messages %}
|
|
|
|
<div class="email">
|
2024-10-04 21:36:31 +10:00
|
|
|
<div class="from">{{message.name}} ({{message.from}})</div>
|
|
|
|
<div class="date">{{message.date}}</div>
|
|
|
|
<div class="subject">{{message.subject}}</div>
|
2024-10-04 20:43:58 +10:00
|
|
|
<div class="body">{{message.body|safe}}</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<a class="button" href="/delete/{{conversation.id}}">Delete Conversation</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|