From c9d448914e50b0d9b56b34a4ead930b0ad3e8495 Mon Sep 17 00:00:00 2001 From: Alain Kimbu Date: Mon, 24 Aug 2026 15:08:30 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Phase=202:=20button=20consolidation=20(init?= =?UTF-8?q?ial=20set)=20=E2=80=94=20replace=20Bootstrap=20btn=20usages=20w?= =?UTF-8?q?ith=20design=20tokens=20on=20key=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Store.UI/Pages/BranchAdmin.cshtml | 2 +- Store.UI/Pages/CommunicationLogs.cshtml | 6 +++--- Store.UI/Pages/Pos.cshtml | 14 +++++++------- Store.UI/Pages/PurchaseOrders.cshtml | 12 +++++------- Store.UI/Pages/VerifyContact.cshtml | 2 +- 5 files changed, 17 insertions(+), 19 deletions(-) diff --git a/Store.UI/Pages/BranchAdmin.cshtml b/Store.UI/Pages/BranchAdmin.cshtml index 62cd9e0..b7738ac 100644 --- a/Store.UI/Pages/BranchAdmin.cshtml +++ b/Store.UI/Pages/BranchAdmin.cshtml @@ -76,7 +76,7 @@ } - diff --git a/Store.UI/Pages/CommunicationLogs.cshtml b/Store.UI/Pages/CommunicationLogs.cshtml index 38cb659..5319c8e 100644 --- a/Store.UI/Pages/CommunicationLogs.cshtml +++ b/Store.UI/Pages/CommunicationLogs.cshtml @@ -31,7 +31,7 @@
- Clear + Clear
@@ -89,7 +89,7 @@ @log.Payload - @@ -119,7 +119,7 @@ diff --git a/Store.UI/Pages/Pos.cshtml b/Store.UI/Pages/Pos.cshtml index 25256d2..11ddf1a 100644 --- a/Store.UI/Pages/Pos.cshtml +++ b/Store.UI/Pages/Pos.cshtml @@ -36,9 +36,9 @@

Fast checkout flow for supermarket operations.

- Back to Dashboard + Back to Dashboard
- +
@@ -72,7 +72,7 @@

Cart

- +
@@ -113,7 +113,7 @@
- +
@@ -139,8 +139,8 @@ - - + +
@@ -151,7 +151,7 @@
diff --git a/Store.UI/Pages/PurchaseOrders.cshtml b/Store.UI/Pages/PurchaseOrders.cshtml index 54108f3..c13bf90 100644 --- a/Store.UI/Pages/PurchaseOrders.cshtml +++ b/Store.UI/Pages/PurchaseOrders.cshtml @@ -28,7 +28,7 @@
- +
@@ -78,13 +78,12 @@
@Html.AntiForgeryToken() - +
@Html.AntiForgeryToken() - +
} @if (po.Status == "Submitted") @@ -92,13 +91,12 @@
@Html.AntiForgeryToken() - +
@Html.AntiForgeryToken() - +
} @if (po.Status == "Approved" || po.Status == "PartiallyReceived") diff --git a/Store.UI/Pages/VerifyContact.cshtml b/Store.UI/Pages/VerifyContact.cshtml index b8334bd..425138b 100644 --- a/Store.UI/Pages/VerifyContact.cshtml +++ b/Store.UI/Pages/VerifyContact.cshtml @@ -31,6 +31,6 @@

Verification Failed

@Model.ErrorMessage

- Return to Profile + Return to Profile } From 086d9d9e547e93fdbe59d404cad210bcbeba9856 Mon Sep 17 00:00:00 2001 From: Alain Kimbu Date: Mon, 24 Aug 2026 15:57:14 +0100 Subject: [PATCH 2/2] Phase 2: Replace legacy btn-danger markup with design tokens\n\nMap destructive markup class usages to design-token classes: use 'button-command danger' for destructive submit/inline actions and 'btn-icon danger' for icon delete buttons. Leave page-local CSS helper classes (supplier-btn-danger, crm-btn-danger) for a follow-up refactor.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Store.UI/Pages/AuditLog.cshtml | 4 ++-- Store.UI/Pages/BatchTracking.cshtml | 2 +- Store.UI/Pages/BranchAdmin.cshtml | 2 +- Store.UI/Pages/Payments.cshtml | 8 ++++---- Store.UI/Pages/Profile.cshtml | 12 ++++++------ Store.UI/Pages/PromotionEffectiveness.cshtml | 2 +- Store.UI/Pages/Verify2FA.cshtml | 2 +- Store.UI/Pages/_Host.cshtml | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Store.UI/Pages/AuditLog.cshtml b/Store.UI/Pages/AuditLog.cshtml index 4cda37f..d9b1301 100644 --- a/Store.UI/Pages/AuditLog.cshtml +++ b/Store.UI/Pages/AuditLog.cshtml @@ -100,13 +100,13 @@ @if (Model.CurrentPage > 1) { ← Prev + class="button-secondary btn-sm">← Prev } Page @Model.CurrentPage @if (Model.Movements.Count == Model.PageSize) { Next → + class="button-secondary btn-sm">Next → } diff --git a/Store.UI/Pages/BatchTracking.cshtml b/Store.UI/Pages/BatchTracking.cshtml index 13a1654..ced4984 100644 --- a/Store.UI/Pages/BatchTracking.cshtml +++ b/Store.UI/Pages/BatchTracking.cshtml @@ -92,7 +92,7 @@ - diff --git a/Store.UI/Pages/BranchAdmin.cshtml b/Store.UI/Pages/BranchAdmin.cshtml index b7738ac..7cb6c25 100644 --- a/Store.UI/Pages/BranchAdmin.cshtml +++ b/Store.UI/Pages/BranchAdmin.cshtml @@ -145,7 +145,7 @@
- diff --git a/Store.UI/Pages/Payments.cshtml b/Store.UI/Pages/Payments.cshtml index 076634c..07ebd2d 100644 --- a/Store.UI/Pages/Payments.cshtml +++ b/Store.UI/Pages/Payments.cshtml @@ -40,7 +40,7 @@ - +
@if (Model.Settlement is not null) @@ -103,7 +103,7 @@ } - + @@ -148,12 +148,12 @@ } diff --git a/Store.UI/Pages/Profile.cshtml b/Store.UI/Pages/Profile.cshtml index e4deeb9..a4bd1ce 100644 --- a/Store.UI/Pages/Profile.cshtml +++ b/Store.UI/Pages/Profile.cshtml @@ -356,7 +356,7 @@ @if (Model.TwoFactorEnabled) { - + } else { @@ -396,7 +396,7 @@ @key.RegistrationDate.ToString("MMM dd, yyyy HH:mm") - + } @@ -418,7 +418,7 @@ Recent Activity - +
@@ -597,7 +597,7 @@
@@ -618,7 +618,7 @@ @@ -640,7 +640,7 @@ diff --git a/Store.UI/Pages/PromotionEffectiveness.cshtml b/Store.UI/Pages/PromotionEffectiveness.cshtml index 92e6abd..3e626b6 100644 --- a/Store.UI/Pages/PromotionEffectiveness.cshtml +++ b/Store.UI/Pages/PromotionEffectiveness.cshtml @@ -22,7 +22,7 @@
- +
diff --git a/Store.UI/Pages/Verify2FA.cshtml b/Store.UI/Pages/Verify2FA.cshtml index 05b6b8f..57f5da7 100644 --- a/Store.UI/Pages/Verify2FA.cshtml +++ b/Store.UI/Pages/Verify2FA.cshtml @@ -30,7 +30,7 @@ - diff --git a/Store.UI/Pages/_Host.cshtml b/Store.UI/Pages/_Host.cshtml index c609193..a4b747b 100644 --- a/Store.UI/Pages/_Host.cshtml +++ b/Store.UI/Pages/_Host.cshtml @@ -44,11 +44,11 @@

Efficient inventory and business management

@if (User?.Identity?.IsAuthenticated == true) { - Go to Dashboard + Go to Dashboard } else { - Login + Login }