From fe1329985fa311a6b5ecbe2ec821d9274bc892d3 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sat, 15 Nov 2025 12:26:01 +0100 Subject: [PATCH] Improved Admin.cshtml preset collapsing --- src/Views/Settings/Admin.cshtml | 60 +++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 17 deletions(-) diff --git a/src/Views/Settings/Admin.cshtml b/src/Views/Settings/Admin.cshtml index 5980139..c6d42d4 100644 --- a/src/Views/Settings/Admin.cshtml +++ b/src/Views/Settings/Admin.cshtml @@ -12,7 +12,7 @@ ViewData["Title"] = T["Users"]; } -
+

@T["General settings"]

@@ -45,15 +45,18 @@
-

@T["Presets"]

- +
+ +

@T["Presets"]

+ + + +
@foreach (var preset in Model.Presets) { @@ -65,37 +68,37 @@ @foreach (var attr in preset.Value.Attribute) {
-
+
-
+
-
+
} -
+
-
+
} -
+
- + + + \ No newline at end of file