From 0e9d4f5d53ae2b80aa7d9acc64a056fa2b339876 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Wed, 18 Mar 2026 14:16:18 -0600 Subject: [PATCH] better wifi page --- .../system/routes/wifi/wifi.component.ts | 46 ++++++++++--------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/web/projects/ui/src/app/routes/portal/routes/system/routes/wifi/wifi.component.ts b/web/projects/ui/src/app/routes/portal/routes/system/routes/wifi/wifi.component.ts index 6ae42a6b8..0c4ba2174 100644 --- a/web/projects/ui/src/app/routes/portal/routes/system/routes/wifi/wifi.component.ts +++ b/web/projects/ui/src/app/routes/portal/routes/system/routes/wifi/wifi.component.ts @@ -40,20 +40,21 @@ import { wifiSpec } from './wifi.const' WiFi - @if (status()?.interface) { -
-
- Wi-Fi - - {{ 'Documentation' | i18n }} - +
+
+ Wi-Fi + + {{ 'Documentation' | i18n }} + + + @if (status()?.interface) { -
+ } +
+ + @if (status()?.interface) { @if (status()?.enabled) { @if (wifi(); as data) { @if (data.known.length) { @@ -86,12 +90,12 @@ import { wifiSpec } from './wifi.const' {{ 'WiFi is disabled' | i18n }} } -
- } @else { - - {{ 'No wireless interface detected' | i18n }} - - } + } @else { + + {{ 'No wireless interface detected' | i18n }} + + } + `, styles: ` :host {