cockpit: show both AP bands with per-band restart

vanrouter.js hardcoded the 5GHz iface; generalize to an APS list
(iface + hostapd unit + band label). The Access Points card now renders
a status line, client table, and Restart button per band, and the WAN
table excludes both AP ifaces.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Andreas Wrede
2026-07-06 10:31:21 -04:00
co-authored by Claude Fable 5
parent e652b0f7bd
commit db16964d5a
4 changed files with 47 additions and 33 deletions
+1 -4
View File
@@ -16,10 +16,7 @@
</div>
<div class="card">
<div class="card-head">
<h3>Access Point</h3>
<button id="ap-restart" class="btn">Restart AP</button>
</div>
<h3>Access Points</h3>
<div id="ap"></div>
</div>