From c721dc0eae50a471fcab68e3691b871366f440da Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 22 Nov 2020 13:09:31 +0100 Subject: [PATCH] Improve display --- .../templates/exercises/exercise_list.html | 42 ++++++++++++------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/src/exercises/templates/exercises/exercise_list.html b/src/exercises/templates/exercises/exercise_list.html index d45c0b6..ec5046f 100644 --- a/src/exercises/templates/exercises/exercise_list.html +++ b/src/exercises/templates/exercises/exercise_list.html @@ -5,19 +5,31 @@ Exercices {% endblock %} {% block content %} -

Exercices

- -
-
-

Filtres

- {{ form|crispy }} - -
+
+
+

Exercices

+
+
+
+
+
    + {% for exercise in exercises %} +
  • + {{ exercise.get_body_regions }}: {{ exercise.name }} + {% include "exercises/rating_badge.html" %} +
  • + {% empty %} +
  • Aucun exercice trouvĂ©
  • + {% endfor %} +
+
+
+
+
+

Filtres

+ {{ form|crispy }} + +
+
+
{% endblock %}