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
View File
@@ -19,6 +19,7 @@ th { color: #6a6e73; font-weight: 600; }
.bar-fill.warn { background: #e08a00; }
.bar-fill.crit { background: #c9190b; }
.muted { color: #6a6e73; font-size: 12px; }
.ap-band + .ap-band { border-top: 1px solid #ededed; margin-top: 10px; padding-top: 4px; }
.active-wan { font-weight: 700; color: #0066cc; }
.btn { margin-left: 6px; padding: 3px 10px; cursor: pointer; }
.btn[disabled] { cursor: default; opacity: 0.5; }