diff --git a/templates/followup/chronos/details.html b/templates/followup/chronos/details.html new file mode 100644 index 0000000000..b6d89298f4 --- /dev/null +++ b/templates/followup/chronos/details.html @@ -0,0 +1,79 @@ +{% extends "base.html" %} + +{% block content %} +
+
+

{{ chrono.gymnast }}

+

Chrono of {{ chrono.date | date:'d N Y' }}

+
+
+
+
+ + {% for detail in chrono.details.all %} + + + + + {% endfor %} + + + + +
{{ detail.order }}{{ detail.value }}
{{ chrono.score }}
+
+
+ +
+
+
+
+ +{% endblock %} + +{% block footerscript %} + +{% endblock %} diff --git a/templates/followup/chronos/list_details.html b/templates/followup/chronos/list_details.html new file mode 100644 index 0000000000..52a0a37861 --- /dev/null +++ b/templates/followup/chronos/list_details.html @@ -0,0 +1,112 @@ +{% extends "base.html" %} +{% load get_value_at_index %} + +{% block content %} +
+
+

{{ gymnast }}

+ Chrono from {{ date_begin | date:'d N Y' }} to {{ date_end | date:'d N Y' }} +
+
+
+ {% if chronolist %} +
+ + {% for chrono in chrono_list %} + + {% for detail in chrono.details.all %} + {% with stat_value=stat_values|get_value_at_index:forloop.counter0 %} + + {% endwith %} + {% endfor %} + + + {% endfor %} + + {% for value in stat_values %} + + {% endfor %} + + + + +
{{ detail.value | floatformat:2 }}{{ chrono.score | floatformat:2 }}
{{ value.avg_score | floatformat:2 }}
+
+
+ +
+ {% else %} +
+ No chrono with the selected criteria. +
+
+
+ {% endif %} +
+
+
+ +{% endblock %} + +{% block footerscript %} + +{% endblock %}