From 076bce971211609ff9ed1f59a69d34c99faebf8b Mon Sep 17 00:00:00 2001 From: yann Date: Fri, 9 May 2025 07:37:12 +0200 Subject: [PATCH] aria on forms --- .../templates/authentication/login.html | 7 ++--- .../templates/reviews/review_form.html | 20 +++++++++++--- .../reviews/templates/reviews/subscribed.html | 3 ++- .../templates/reviews/ticket_form.html | 27 ++++++++++++++----- flake-report/index.html | 2 +- 5 files changed, 44 insertions(+), 15 deletions(-) diff --git a/LITReview/authentication/templates/authentication/login.html b/LITReview/authentication/templates/authentication/login.html index 595bce8..ba51553 100644 --- a/LITReview/authentication/templates/authentication/login.html +++ b/LITReview/authentication/templates/authentication/login.html @@ -10,7 +10,6 @@

Inscrivez-vous

-
S'inscrire
@@ -23,12 +22,14 @@

Connectez-vous

{% csrf_token %} -
+
{{ form.username }}
-
+ Saisissez ici votre nom d'utilisateur +
{{ form.password }}
+ Saisissez ici votre mot de passe
diff --git a/LITReview/reviews/templates/reviews/review_form.html b/LITReview/reviews/templates/reviews/review_form.html index 88d00c8..637af26 100644 --- a/LITReview/reviews/templates/reviews/review_form.html +++ b/LITReview/reviews/templates/reviews/review_form.html @@ -1,11 +1,23 @@ +

-
{{ review_form.headline }}
+
+ {{ review_form.headline }} +
+ Saisissez le titre de votre critique +
+
-
+
{% for choice in review_form.rating %} {{ choice }} {% endfor %}
+ Sélectionnez une notre entre 0 et 5 +
+
-
{{ review_form.comment }}
- +
+ {{ review_form.comment }} +
+ Saisissez le corps de votre commentaire +
diff --git a/LITReview/reviews/templates/reviews/subscribed.html b/LITReview/reviews/templates/reviews/subscribed.html index aeb9d8d..0c0bd1d 100644 --- a/LITReview/reviews/templates/reviews/subscribed.html +++ b/LITReview/reviews/templates/reviews/subscribed.html @@ -12,9 +12,10 @@
{% csrf_token %} -
+
{{ user_form }}
+ Saisissez le nom d'utilisateur à suivre
diff --git a/LITReview/reviews/templates/reviews/ticket_form.html b/LITReview/reviews/templates/reviews/ticket_form.html index a2c1166..0e927b2 100644 --- a/LITReview/reviews/templates/reviews/ticket_form.html +++ b/LITReview/reviews/templates/reviews/ticket_form.html @@ -1,6 +1,21 @@ - -
{{ ticket_form.title }}
- -
{{ ticket_form.desc }}
- -
{{ ticket_form.image }}
+
+ +
+ {{ ticket_form.title }} +
+ Saisissez le titre de votre demande +
+
+ +
+ {{ ticket_form.desc }} +
+ Saisissez le contenu de votre demande +
+
+ +
+ {{ ticket_form.image }} +
+ Sélectionnez une image à joindre (couverture de livre) +
diff --git a/flake-report/index.html b/flake-report/index.html index 73e507f..d9b32f9 100644 --- a/flake-report/index.html +++ b/flake-report/index.html @@ -9,7 +9,7 @@

flake8 violations

-

Generated on 2025-05-06 10:31 +

Generated on 2025-05-07 09:07 with Installed plugins: flake8-html: 0.4.3, mccabe: 0.7.0, pycodestyle: 2.13.0, pyflakes: 3.3.2