From 5eecee12eb8d613291642dfc4e63c63e4dfba8dd Mon Sep 17 00:00:00 2001 From: Julien WITTOUCK Date: Fri, 4 Aug 2023 10:49:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20:=20add=20active=20menu=20condit?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/classrooms/new.html | 2 +- src/main/resources/templates/error/4xx.html | 2 +- src/main/resources/templates/home.html | 2 +- src/main/resources/templates/layout.html | 8 +++++--- .../templates/quiz-submitted-with-answers-correction.html | 2 +- src/main/resources/templates/quiz-submitted.html | 2 +- src/main/resources/templates/quiz.html | 2 +- src/main/resources/templates/quiz/edit.html | 2 +- src/main/resources/templates/quiz/list.html | 2 +- 9 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/main/resources/templates/classrooms/new.html b/src/main/resources/templates/classrooms/new.html index 383f3f2..bb83e4f 100644 --- a/src/main/resources/templates/classrooms/new.html +++ b/src/main/resources/templates/classrooms/new.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/error/4xx.html b/src/main/resources/templates/error/4xx.html index cd0ffad..77563b2 100644 --- a/src/main/resources/templates/error/4xx.html +++ b/src/main/resources/templates/error/4xx.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html index f38819c..1fa1171 100644 --- a/src/main/resources/templates/home.html +++ b/src/main/resources/templates/home.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/layout.html b/src/main/resources/templates/layout.html index 7cea209..6a2354b 100644 --- a/src/main/resources/templates/layout.html +++ b/src/main/resources/templates/layout.html @@ -3,7 +3,7 @@ xmlns:th="http://www.thymeleaf.org" lang="en" class="h-full bg-gray-100" - th:fragment="layout (pageTitle, content)"> + th:fragment="layout (pageTitle, content, activeMenu)"> @@ -52,10 +52,12 @@
Dashboard Quiz
diff --git a/src/main/resources/templates/quiz-submitted-with-answers-correction.html b/src/main/resources/templates/quiz-submitted-with-answers-correction.html index d63045b..910c223 100644 --- a/src/main/resources/templates/quiz-submitted-with-answers-correction.html +++ b/src/main/resources/templates/quiz-submitted-with-answers-correction.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/quiz-submitted.html b/src/main/resources/templates/quiz-submitted.html index 374eeaf..4cc56ac 100644 --- a/src/main/resources/templates/quiz-submitted.html +++ b/src/main/resources/templates/quiz-submitted.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/quiz.html b/src/main/resources/templates/quiz.html index 8f5442f..b49e44f 100644 --- a/src/main/resources/templates/quiz.html +++ b/src/main/resources/templates/quiz.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/quiz/edit.html b/src/main/resources/templates/quiz/edit.html index 349ad88..faac17c 100644 --- a/src/main/resources/templates/quiz/edit.html +++ b/src/main/resources/templates/quiz/edit.html @@ -1,5 +1,5 @@ - + diff --git a/src/main/resources/templates/quiz/list.html b/src/main/resources/templates/quiz/list.html index 8421c02..ec06636 100644 --- a/src/main/resources/templates/quiz/list.html +++ b/src/main/resources/templates/quiz/list.html @@ -1,5 +1,5 @@ - +