From 232691a396542a4d7d033918c2f23d0661710405 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Mar 2026 21:17:07 +0000 Subject: [PATCH 1/2] Initial plan From 56f346ac20ea2146b281430a03c60bd8445b3bf1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 7 Mar 2026 21:22:58 +0000 Subject: [PATCH 2/2] fix(ui): replace Tailwind v3-only peer toggles with Alpine.js-driven toggles in admin users modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Block this user" and "Complimentary plan" toggle switches were always greyed out because the app loads Tailwind CSS v2.2.19 from CDN, but the toggles used Tailwind v3-only features (peer, peer-checked:*, after:content-[''], arbitrary value syntax like after:top-[2px], etc.). Replaced both toggles with button[role=switch] elements driven by Alpine.js @click handlers and :class bindings — fully compatible with Tailwind v2. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/admin_users.html | 58 ++++++++++++++++------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/frontend/templates/admin_users.html b/frontend/templates/admin_users.html index 2b6e83df..be8e4fdc 100644 --- a/frontend/templates/admin_users.html +++ b/frontend/templates/admin_users.html @@ -321,21 +321,24 @@
- - +
@@ -391,21 +394,24 @@
- - +