From ba2b936609a0b8f6898cf7583ab0bf69556229c2 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Tue, 26 May 2026 01:12:54 -0400 Subject: [PATCH] ui: align dashboard styling with ScadaLink master conventions - Rename DashboardLayout.razor -> MainLayout.razor; dashboard.css -> site.css - Sidebar 218 -> 220px; add hamburger + Bootstrap collapse for site.css} | 52 ++++-- 8 files changed, 212 insertions(+), 158 deletions(-) delete mode 100644 src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/DashboardLayout.razor create mode 100644 src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor rename src/ZB.MOM.WW.MxGateway.Server/wwwroot/css/{dashboard.css => site.css} (92%) diff --git a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/App.razor b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/App.razor index 6b932d9..a01fb1b 100644 --- a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/App.razor +++ b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/App.razor @@ -6,7 +6,7 @@ - + diff --git a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/DashboardLayout.razor b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/DashboardLayout.razor deleted file mode 100644 index 8675a69..0000000 --- a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/DashboardLayout.razor +++ /dev/null @@ -1,68 +0,0 @@ -@inherits LayoutComponentBase - -
- MXAccess Gateway - - gateway dashboard - - - - @authState.User.Identity?.Name - - signed in - - - - - signed out - - - -
- -
- - -
- @Body -
-
diff --git a/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor new file mode 100644 index 0000000..81532ee --- /dev/null +++ b/src/ZB.MOM.WW.MxGateway.Server/Dashboard/Components/Layout/MainLayout.razor @@ -0,0 +1,83 @@ +@inherits LayoutComponentBase + +
+ MXAccess Gateway + + gateway dashboard + + + + @authState.User.Identity?.Name + + signed in + + + + + signed out + + + +
+ +@* Hamburger toggle: visible only on viewports