From 4cb684b6784c8d08683fb682992a1205c918bb6d Mon Sep 17 00:00:00 2001 From: Julien WITTOUCK Date: Fri, 29 Aug 2025 10:36:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20:=20update=20quiz=20edit=20form?= =?UTF-8?q?=20with=20streamlined=20styles=20and=20utility=20classes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - replace inline styles with `btn-primary`, `btn-secondary`, and `text-input` classes - adopt consistent color palettes with `dark-*` and `white` text schemes - simplify markup by removing redundant class definitions - ensure visual cohesion and maintain usability within the form layout - align with the updated design system for better maintainability --- src/main/resources/templates/quiz/edit.html | 40 ++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/main/resources/templates/quiz/edit.html b/src/main/resources/templates/quiz/edit.html index 547bcaf..6b54c82 100644 --- a/src/main/resources/templates/quiz/edit.html +++ b/src/main/resources/templates/quiz/edit.html @@ -7,61 +7,61 @@ -
+
-
-

Success Message

+

Success Message

-
+
-

Edit Quiz

-

Please enter the details about the quiz to create

+

Edit Quiz

+

Please enter the details about the quiz to create

-
+

Questions are separated by a blank line.

-

Question titles should start by a # and a space : # question title.

-

Single choice questions use ( ) incorrect and (x) correct syntax.

-

Multiple choice questions use [ ] incorrect and [x] correct syntax.

-

Full Text questions use = expected syntax.

-

You can add an explanation to a question with the > explanation text syntax. This text can contain HTML (and links).

+

Question titles should start by a # and a space : # question title.

+

Single choice questions use ( ) incorrect and (x) correct syntax.

+

Multiple choice questions use [ ] incorrect and [x] correct syntax.

+

Full Text questions use = expected syntax.

+

You can add an explanation to a question with the > explanation text syntax. This text can contain HTML (and links).

- +
+ class="block w-full text-input placeholder:text-dark-6" placeholder="">
-

The Quiz name will be used in the quiz URL.

+

The Quiz name will be used in the quiz URL.

- -

Write the quiz content in Markdown format.

+ +

Write the quiz content in Markdown format.

+ class="block w-full text-input placeholder:text-dark-6">
@@ -70,9 +70,9 @@
- + - +