From 936d41c2f199e766d07d2e34a750b1fbad09135a Mon Sep 17 00:00:00 2001 From: Anatolii Grynchuk Date: Sat, 2 May 2026 02:51:58 +0300 Subject: [PATCH] feat: improved admin UI styles and layout - Max-width 860px on editor card - Two-column row for ServiceName/Key/Language fields - Gradient card header, proper shadow, grey footer - Footer buttons right-aligned - Smaller uppercase table headers, better typography - Overhauled admin.css with CSS variables and cleaner rules Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Views/AdminTemplates/Edit.cshtml | 40 ++--- .../Views/Shared/_EditorLayout.cshtml | 23 ++- .../wwwroot/css/admin.css | 140 ++++++++++-------- 3 files changed, 107 insertions(+), 96 deletions(-) diff --git a/HrynCo.NotificationService.Web/Views/AdminTemplates/Edit.cshtml b/HrynCo.NotificationService.Web/Views/AdminTemplates/Edit.cshtml index 5344878..dc24870 100644 --- a/HrynCo.NotificationService.Web/Views/AdminTemplates/Edit.cshtml +++ b/HrynCo.NotificationService.Web/Views/AdminTemplates/Edit.cshtml @@ -21,42 +21,42 @@ } -
- - - +
+
+ + + +
+
+ + + +
+
+ + + +
-
- - - -
- -
- - - -
- -
+
-
+
-
+
-
+
diff --git a/HrynCo.NotificationService.Web/Views/Shared/_EditorLayout.cshtml b/HrynCo.NotificationService.Web/Views/Shared/_EditorLayout.cshtml index 442cf97..788af8d 100644 --- a/HrynCo.NotificationService.Web/Views/Shared/_EditorLayout.cshtml +++ b/HrynCo.NotificationService.Web/Views/Shared/_EditorLayout.cshtml @@ -1,17 +1,16 @@ @{ Layout = "~/Views/Shared/_Layout.cshtml"; } -
-
-
- - @ViewData["EditorTitle"] -
-
-
- @RenderBody() -
-