From cd7acaf49087aaa43ce22ac2bb82254b19ee7568 Mon Sep 17 00:00:00 2001 From: "Janus C. H. Knudsen" Date: Tue, 20 Jan 2026 21:32:03 +0100 Subject: [PATCH] Enhances customer list and detail views Improves customer page UI with interactive elements: - Adds quick view sidebar button for each customer row - Implements row-level navigation to customer details - Corrects Danish spelling and typography - Refactors data table layout for better usability Modernizes customer interaction by enabling direct page navigation and quick information access --- .../Features/Customers/Pages/Detail.cshtml | 10 +- .../Features/Customers/Pages/Index.cshtml | 110 ++++++- .../ServiceDetailRules/Default.cshtml | 288 +++++++++--------- .../wwwroot/css/components.css | 2 +- .../wwwroot/css/customers.css | 59 +++- 5 files changed, 291 insertions(+), 178 deletions(-) diff --git a/PlanTempus.Application/Features/Customers/Pages/Detail.cshtml b/PlanTempus.Application/Features/Customers/Pages/Detail.cshtml index 4ef9731..c1c8295 100644 --- a/PlanTempus.Application/Features/Customers/Pages/Detail.cshtml +++ b/PlanTempus.Application/Features/Customers/Pages/Detail.cshtml @@ -54,11 +54,11 @@ Emma L. - foretrukken frisor + foretrukken frisør 12.450 kr - total omsaetning + total omsætning @@ -205,7 +205,7 @@ - Foretrukken frisor + Foretrukken frisør Emma L. @@ -213,8 +213,8 @@ Tirsdag/Torsdag - Specielle onsker - Foretraekker kold tone, ikke for mork + Specielle ønsker + Foretraekker kold tone, ikke for mørk diff --git a/PlanTempus.Application/Features/Customers/Pages/Index.cshtml b/PlanTempus.Application/Features/Customers/Pages/Index.cshtml index 8b75e69..cf3787e 100644 --- a/PlanTempus.Application/Features/Customers/Pages/Index.cshtml +++ b/PlanTempus.Application/Features/Customers/Pages/Index.cshtml @@ -51,6 +51,7 @@ + Navn Telefon Email @@ -61,7 +62,12 @@ Tags - + + + + + + AJ Anna Jensen @@ -75,7 +81,12 @@ - + + + + + + CH Camilla Holm @@ -91,7 +102,12 @@ - + + + + + + EL Emma Larsen @@ -105,7 +121,12 @@ - + + + + + + FC Freja Christensen @@ -122,7 +143,12 @@ - + + + + + + IA Ida Andersen @@ -138,7 +164,12 @@ - + + + + + + KB Katrine Berg @@ -152,7 +183,12 @@ - + + + + + + LF Line Frost @@ -168,7 +204,12 @@ - + + + + + + LH Louise Hansen @@ -184,7 +225,12 @@ - + + + + + + MP Maja Petersen @@ -200,7 +246,12 @@ - + + + + + + MO Maria Olsen @@ -216,7 +267,12 @@ - + + + + + + RS Rikke Skov @@ -230,7 +286,12 @@ - + + + + + + SN Sofie Nielsen @@ -419,13 +480,30 @@ @section Scripts {