diff --git a/templates/assessment_form.html b/templates/assessment_form.html index 541bc3b..392f204 100644 --- a/templates/assessment_form.html +++ b/templates/assessment_form.html @@ -23,159 +23,146 @@ window.notytexDisableAutoload = true; {% endif %} -
-
-

{{ title }}

- {% if is_edit %} -

Modifiez votre évaluation avec exercices et éléments de notation

- {% else %} -

Créez votre évaluation avec exercices et éléments de notation

- {% endif %} +
+
+

{{ title }}

+

+ {% if is_edit %} + Modifiez votre évaluation avec exercices et éléments de notation + {% else %} + Créez votre évaluation avec exercices et éléments de notation + {% endif %} +

-
+ {{ form.hidden_tag() }} - -
-

📝 Informations de l'évaluation

+ +
+

Informations générales

- -
-
- - {{ form.title(class="block w-full border border-gray-300 rounded-md px-3 py-1.5 text-sm focus:ring-blue-500 focus:border-blue-500") }} - {% if form.title.errors %} -
- {% for error in form.title.errors %} -

{{ error }}

- {% endfor %} -
- {% endif %} -
+ +
+ + {{ form.title(class="block w-full text-base px-2 py-1 border-0 border-b border-gray-300 hover:border-gray-400 focus:border-blue-500 bg-transparent focus:outline-none transition-colors font-medium") }} + {% if form.title.errors %} +

{{ form.title.errors[0] }}

+ {% endif %} +
+ +
-
-
+ +
+ + {{ form.trimester(class="block w-full text-sm px-2 py-1 border-0 border-b border-gray-300 hover:border-gray-400 focus:border-blue-500 bg-transparent focus:outline-none transition-colors cursor-pointer") }} + {% if form.trimester.errors %} +

{{ form.trimester.errors[0] }}

+ {% endif %} +
+ +
+ + {{ form.coefficient(class="block w-full text-sm px-2 py-1 border-0 border-b border-gray-300 hover:border-gray-400 focus:border-blue-500 bg-transparent focus:outline-none transition-colors", step="0.5") }} + {% if form.coefficient.errors %} +

{{ form.coefficient.errors[0] }}

{% endif %}
- -
-
- - {{ form.trimester(class="block w-full border border-gray-300 rounded-md px-3 py-1.5 text-sm focus:ring-blue-500 focus:border-blue-500") }} - {% if form.trimester.errors %} -
- {% for error in form.trimester.errors %} -

{{ error }}

- {% endfor %} -
- {% endif %} -
- -
- - {{ form.coefficient(class="block w-full border border-gray-300 rounded-md px-3 py-1.5 text-sm focus:ring-blue-500 focus:border-blue-500", step="0.5") }} - {% if form.coefficient.errors %} -
- {% for error in form.coefficient.errors %} -

{{ error }}

- {% endfor %} -
- {% endif %} -
- -
- - {{ form.description(class="block w-full border border-gray-300 rounded-md px-3 py-1.5 text-sm focus:ring-blue-500 focus:border-blue-500", rows="1") }} - {% if form.description.errors %} -
- {% for error in form.description.errors %} -

{{ error }}

- {% endfor %} -
- {% endif %} -
+ +
+ + {{ form.description(class="block w-full text-sm px-2 py-1 border-0 border-b border-gray-300 hover:border-gray-400 focus:border-blue-500 bg-transparent focus:outline-none transition-colors", rows="1") }} + {% if form.description.errors %} +

{{ form.description.errors[0] }}

+ {% endif %}
- -
-
-

🏃 Exercices

-
+ +
-
+ +
+

Exercices et barème

+ +
-
+

Aucun exercice ajouté. Utilisez le bouton ci-dessous pour commencer.

- -
-
- -
-

💡 Guide rapide

-
-

Points : Notation classique (ex: 2.5/4 points) | Score : Niveaux 0-3 (0=non acquis, 1=en cours, 2=acquis, 3=expert)

-
+ +
+

💡 Guide rapide

+

+ Points : Notation classique décimale (ex: 2.5 sur 4 points) • + Score : Niveaux de compétences 0-3 (0=non acquis, 1=en cours, 2=acquis, 3=expert) +

-
+
{% if is_edit %} - + Annuler - {% else %} - + Annuler - {% endif %}
@@ -183,136 +170,161 @@ window.notytexDisableAutoload = true;
- -