panel: the PTR (reverse DNS) check no longer reports a correctly published Fixed: - panel: the PTR (reverse DNS) check no longer reports a correctly published Changed: - panel: the three monitoring pages now live at URLs that match their nav - panel: each entry in the navigation bar now carries an icon beside its label, - panel: the navigation bar is laid out as two rows on purpose — the signed-in Full detail: CHANGELOG.md (0.3.0).
33 lines
1.1 KiB
HTML
33 lines
1.1 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="muted">{{.CreatedAt.Format "2006-01-02 15:04:05"}}</td>
|
|
<td>{{.Domain}}</td>
|
|
<td>{{.AppLogin}}</td>
|
|
<td>{{.From}}</td>
|
|
<td>{{.To}}</td>
|
|
<td>{{.Subject}}</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}}
|