Improve device detail view
build / build-linux-amd64 (push) Successful in 1m53s

This commit is contained in:
2026-05-22 23:03:06 +02:00
parent aeee852835
commit 7b6526a2e8
3 changed files with 50 additions and 4 deletions
+2 -1
View File
@@ -227,7 +227,8 @@ async fn render_page(
<h2 class="text-lg font-semibold">{heading} <code class="font-mono text-sky-300">{id}</code></h2>
<button class="text-xs text-sky-300 hover:text-sky-200"
hx-get="/admin/pages/devices/list-fragment"
hx-target="#devices-region" hx-swap="innerHTML">{back}</button>
hx-target="#devices-region" hx-swap="innerHTML"
hx-push-url="#devices">{back}</button>
</header>"##,
heading = t(lang, "exec.heading"),
id = html_escape(peer_id),