Ask about a reboot in a box over the page

The reboot links on the Overview open the question instead of sending
you to the Advanced page, where the button is out of sight.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 13:26:30 +01:00
co-authored by Claude Sonnet 5.5
parent 81eea34501
commit e3f93698a9
5 changed files with 88 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
<section class="panel">
<h2>Reboot</h2>
<p>Restarts the router; routing stops for a minute or two. A new kernel from an update only runs after this.</p>
<form method="post" action="/reboot" data-confirm="Reboot the router now?"><input type="hidden" name="csrf" value="{{.CSRF}}"><button>Reboot</button></form>
<form method="post" action="/reboot" data-dialog="Reboot the router now? Routing stops for a minute or two." data-dialog-ok="Reboot"><input type="hidden" name="csrf" value="{{.CSRF}}"><button>Reboot</button></form>
</section>
<section class="panel">