From 1d8232a1b25fa3de10acaf4446d0ebc472fad863 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Sun, 12 Nov 2023 19:26:02 +0100 Subject: [PATCH] Add details template --- .../templates/intensities/details.html | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 jarvis/followup/templates/intensities/details.html diff --git a/jarvis/followup/templates/intensities/details.html b/jarvis/followup/templates/intensities/details.html new file mode 100644 index 0000000..cb1542a --- /dev/null +++ b/jarvis/followup/templates/intensities/details.html @@ -0,0 +1,104 @@ +{% extends "base.html" %} + +{% block content %} + +
+
+
+
+

{{ intensity.gymnast }}'s training intensity for the {{ intensity.date | date:"j F Y" }}

+
+
+
Time
+
{{ intensity.time }}
+
Average Diff/passe
+
{{ intensity.mean_difficulty_by_passe_in_unit | floatformat:3 }}
+ +
Difficulty
+
{{ intensity.difficulty }}
+
Average Skill/time
+
{{ intensity.mean_quantity_of_skill | floatformat:3 }}
+ +
Skill quantity
+
{{ intensity.quantity_of_skill }}
+
Average Skill/passe
+
{{ intensity.quantity_of_skill_by_passe | floatformat:3 }}
+ +
# Passes
+
{{ intensity.number_of_passes }}
+
Average Diff/Skill
+
{{ intensity.mean_difficulty_by_skill | floatformat:3 }}
+ +
+ {% if intensity.to_markdown %} + {{ intensity.to_markdown | safe }} + {% else %} +

No additionnal details.

+ {% endif %} +
+ +
+ +
+
+
+{% endblock %} + +{% block footerscript %} + +{% endblock %} \ No newline at end of file