From fbf429128c1b1dd9852956efb5788c02aeb111b1 Mon Sep 17 00:00:00 2001 From: OUNZAR Aymane Date: Thu, 23 Oct 2025 23:58:42 +0200 Subject: [PATCH] feat(ui): add mode toggle and JS script to hide inactive layout section - Added radio buttons for selecting between Default and Custom modes. - Implemented JavaScript logic to show only the active mode section (Default or Custom) and completely hide the inactive one using `display: none`. - Ensured proper enabling/disabling of input fields for clean form submission. --- .../templates/multi-page-layout.html | 71 ++++++++++++++++--- 1 file changed, 60 insertions(+), 11 deletions(-) diff --git a/app/core/src/main/resources/templates/multi-page-layout.html b/app/core/src/main/resources/templates/multi-page-layout.html index df65f14f6..6528f9193 100644 --- a/app/core/src/main/resources/templates/multi-page-layout.html +++ b/app/core/src/main/resources/templates/multi-page-layout.html @@ -19,8 +19,20 @@
+ +
+ + +
+ +
+ + +
+
+
- @@ -28,17 +40,19 @@
+
+
+ + +
+
+ + +
+
- - -
-
- - -
-
- - @@ -58,6 +72,41 @@
+ + +