The project's mark is now in use rather than only on file. The README opens Added: - The project's mark is now in use rather than only on file. The README opens Changed: - panel: the sign-in and setup pages are now a column the width of their own - panel: the three monitoring pages — Deliveries, Mail queue, System log — are Fixed: - panel: Deliveries now shows the subject as text rather than as its MIME - panel: table cells may now break inside a word, so no single long value can - panel: the Applications list on a domain page no longer comes apart. It was a Full detail: CHANGELOG.md (0.4.0).
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
{{define "deliveries_rows"}}
|
|
<div id="deliveries-rows" hx-get="/deliveries/rows?domain={{.FilterDomain}}&app={{.FilterApp}}&p={{.Page}}"
|
|
hx-trigger="every 5s" hx-swap="outerHTML">
|
|
{{if .Rows}}
|
|
<table>
|
|
<thead>
|
|
<tr><th>Time</th><th>Domain</th><th>App</th><th>From</th><th>To</th><th>Subject</th><th>Status</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{{range .Rows}}
|
|
<tr>
|
|
<td class="time muted">{{.CreatedAt.Format "2006-01-02 15:04:05"}}</td>
|
|
<td>{{.Domain}}</td>
|
|
<td>{{.AppLogin}}</td>
|
|
<td>{{.From}}</td>
|
|
<td>{{.To}}</td>
|
|
<td class="subject"><span title="{{.Subject}}">{{.Subject}}</span></td>
|
|
<td>{{.Status}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
<p class="muted">
|
|
Page {{.Page}}{{if .LastPage}} of {{.LastPage}}{{end}}
|
|
{{if .HasPrev}} · <a href="/deliveries?domain={{.FilterDomain}}&app={{.FilterApp}}&p={{.PrevPage}}">← Newer</a>{{end}}
|
|
{{if .HasNext}} · <a href="/deliveries?domain={{.FilterDomain}}&app={{.FilterApp}}&p={{.NextPage}}">Older →</a>{{end}}
|
|
</p>
|
|
{{else}}
|
|
<p class="muted">No messages logged yet.</p>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|