From 482d5f5637335b7c84b15db3c31536aab9c96125 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 18 May 2026 02:20:09 -0400 Subject: [PATCH] feat: restyle Admin UI with the technical-light design system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adopt the technical-light design system across the Admin web UI: - Vendor theme.css + IBM Plex woff2 fonts into wwwroot; include theme.css globally after Bootstrap. - Rebuild MainLayout: top app-bar (brand mark, breadcrumb, connection pill) + hairline-ruled side rail with accent-bordered active link. - Convert all 33 pages to the component catalog — tables to panel + data-table (num/mono columns), KPI cards to agg-grid, detail blocks to metric-card/kv rows, badges to chips, alerts to panel notice, headings to page-title/panel-head, .rise reveals. - Buttons/forms stay on Bootstrap; theme.css restyles them via --bs-* overrides. View-specific layout lives in app.css; all colour/type comes from theme.css tokens. Also fix a pre-existing /fleet 500: the node-state query ordered on a property of a constructed FleetNodeRow record, which EF Core cannot translate. Order the join's columns before projecting. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../Components/App.razor | 1 + .../Components/Layout/MainLayout.razor | 62 ++- .../Components/Pages/Account.razor | 135 +++---- .../Components/Pages/AlarmsHistorian.razor | 68 ++-- .../Components/Pages/Certificates.razor | 118 +++--- .../Components/Pages/Clusters/AclsTab.razor | 98 ++--- .../Components/Pages/Clusters/AuditTab.razor | 39 +- .../Pages/Clusters/ClusterDetail.razor | 37 +- .../Pages/Clusters/ClustersList.razor | 59 +-- .../Pages/Clusters/DiffSection.razor | 38 +- .../Pages/Clusters/DiffViewer.razor | 6 +- .../Pages/Clusters/DraftEditor.razor | 22 +- .../Pages/Clusters/DriversTab.razor | 68 ++-- .../Pages/Clusters/EquipmentTab.razor | 79 ++-- .../Pages/Clusters/Generations.razor | 73 ++-- .../Pages/Clusters/IdentificationFields.razor | 2 +- .../Pages/Clusters/ImportEquipment.razor | 67 ++-- .../Pages/Clusters/NamespacesTab.razor | 39 +- .../Pages/Clusters/NewCluster.razor | 4 +- .../Pages/Clusters/RedundancyTab.razor | 150 +++---- .../Pages/Clusters/ScriptEditor.razor | 2 +- .../Pages/Clusters/ScriptsTab.razor | 38 +- .../Components/Pages/Clusters/TagsTab.razor | 87 ++-- .../Components/Pages/Clusters/UnsTab.razor | 148 +++---- .../Pages/Drivers/FocasDetail.razor | 267 ++++++------ .../Components/Pages/Fleet.razor | 128 +++--- .../Components/Pages/Home.razor | 93 +++-- .../Components/Pages/Hosts.razor | 160 ++++---- .../Components/Pages/Login.razor | 52 +-- .../Pages/Modbus/ModbusAddressEditor.razor | 16 +- .../Pages/Modbus/ModbusAddressPreview.razor | 67 ++-- .../Pages/Modbus/ModbusDiagnostics.razor | 134 ++++--- .../Pages/Modbus/ModbusOptionsEditor.razor | 40 +- .../Components/Pages/Reservations.razor | 92 +++-- .../Components/Pages/RoleGrants.razor | 67 ++-- .../ZB.MOM.WW.OtOpcUa.Admin/wwwroot/app.css | 108 ++++- .../wwwroot/fonts/ibm-plex-mono-500.woff2 | Bin 0 -> 14988 bytes .../wwwroot/fonts/ibm-plex-sans-400.woff2 | Bin 0 -> 19156 bytes .../wwwroot/fonts/ibm-plex-sans-600.woff2 | Bin 0 -> 20356 bytes .../ZB.MOM.WW.OtOpcUa.Admin/wwwroot/theme.css | 379 ++++++++++++++++++ 40 files changed, 1837 insertions(+), 1206 deletions(-) create mode 100644 src/Server/ZB.MOM.WW.OtOpcUa.Admin/wwwroot/fonts/ibm-plex-mono-500.woff2 create mode 100644 src/Server/ZB.MOM.WW.OtOpcUa.Admin/wwwroot/fonts/ibm-plex-sans-400.woff2 create mode 100644 src/Server/ZB.MOM.WW.OtOpcUa.Admin/wwwroot/fonts/ibm-plex-sans-600.woff2 create mode 100644 src/Server/ZB.MOM.WW.OtOpcUa.Admin/wwwroot/theme.css diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/App.razor b/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/App.razor index 96b0ea4..b77ac80 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/App.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/App.razor @@ -7,6 +7,7 @@ OtOpcUa Admin + diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/Layout/MainLayout.razor b/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/Layout/MainLayout.razor index 1007b88..700e89e 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/Layout/MainLayout.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.Admin/Components/Layout/MainLayout.razor @@ -1,38 +1,58 @@ @inherits LayoutComponentBase -
-