aab35f0679
- Deliveries fragment/pagination links urlquery-encode the domain/app filters instead of splicing them into the query string raw. - The four polled regions (deliveries rows, status, mail queue, system log) carry aria-live="polite" so a screen reader announces refreshes. - security.md accepted risks note that data-confirm prompts are JavaScript-only and why that is acceptable. docs/plans/code-review.md P3 fully checked off; CHANGELOG updated. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
321 B
HTML
8 lines
321 B
HTML
{{define "system_log_body"}}
|
|
<div id="system-log-body" data-poll aria-live="polite" hx-get="/system-log/body" hx-trigger="load" hx-swap="outerHTML">
|
|
{{if .Error}}<p class="error">{{.Error}}</p>{{end}}
|
|
<span class="code">{{if .Lines}}{{range .Lines}}{{.}}
|
|
{{end}}{{else}}No log lines yet.{{end}}</span>
|
|
</div>
|
|
{{end}}
|