From d85b07bde7bb8c5c7ad47f688b69eede7fbb2d9a Mon Sep 17 00:00:00 2001 From: ChiaraBm Date: Mon, 19 Jan 2026 10:24:05 +0100 Subject: [PATCH] Upgraded ShadcnBlazor and Extras to 1.0.9. Replaced Checkbox with Switch for "Is Enabled" fields and updated CSS editor language to `Css`. --- Moonlight.Frontend/Moonlight.Frontend.csproj | 4 ++-- Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Create.razor | 6 +++--- Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Update.razor | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Moonlight.Frontend/Moonlight.Frontend.csproj b/Moonlight.Frontend/Moonlight.Frontend.csproj index 303231da..73eb2f4e 100644 --- a/Moonlight.Frontend/Moonlight.Frontend.csproj +++ b/Moonlight.Frontend/Moonlight.Frontend.csproj @@ -24,8 +24,8 @@ - - + + diff --git a/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Create.razor b/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Create.razor index 66b3a14a..f49da5ea 100644 --- a/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Create.razor +++ b/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Create.razor @@ -7,11 +7,11 @@ @using ShadcnBlazor.Buttons @using ShadcnBlazor.Labels @using ShadcnBlazor.Cards -@using ShadcnBlazor.Checkboxes @using ShadcnBlazor.Extras.Editors @using ShadcnBlazor.Extras.FormHandlers @using ShadcnBlazor.Extras.Toasts @using ShadcnBlazor.Inputs +@using ShadcnBlazor.Switches @attribute [Authorize(Policy = Permissions.Themes.Create)] @@ -79,7 +79,7 @@
- +
@@ -92,7 +92,7 @@
- +
diff --git a/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Update.razor b/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Update.razor index df0b4a33..adb6111f 100644 --- a/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Update.razor +++ b/Moonlight.Frontend/UI/Admin/Views/Sys/Themes/Update.razor @@ -9,12 +9,12 @@ @using ShadcnBlazor.Buttons @using ShadcnBlazor.Labels @using ShadcnBlazor.Cards -@using ShadcnBlazor.Checkboxes @using ShadcnBlazor.Extras.Common @using ShadcnBlazor.Extras.Editors @using ShadcnBlazor.Extras.FormHandlers @using ShadcnBlazor.Extras.Toasts @using ShadcnBlazor.Inputs +@using ShadcnBlazor.Switches @attribute [Authorize(Policy = Permissions.Themes.Edit)] @@ -83,7 +83,7 @@
- +
@@ -96,7 +96,7 @@
- +