From 1a91612142d512a9acf75725f9d3e3734fbefd1a Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Wed, 1 Nov 2017 20:10:07 +0100 Subject: [PATCH] replaced waiting png with animation --- rowers/templates/dashboard.html | 12 +++--- rowers/templates/list_graphs.html | 4 +- rowers/templates/panel_statcharts.html | 2 +- rowers/templates/workout_comments.html | 12 +++--- rowers/templates/workout_form.html | 8 ++-- rowers/templates/workout_view.html | 51 +++++++++++++------------- 6 files changed, 45 insertions(+), 44 deletions(-) diff --git a/rowers/templates/dashboard.html b/rowers/templates/dashboard.html index 757a852d..8c37989b 100644 --- a/rowers/templates/dashboard.html +++ b/rowers/templates/dashboard.html @@ -54,14 +54,14 @@
{{ graph.filename }}
{% elif forloop.counter == 3 %}
{{ graph.filename }}
@@ -69,7 +69,7 @@
{{ graph.filename }}
{% endif %} @@ -81,14 +81,14 @@
{{ graph.filename }}
{% elif forloop.counter == 3 %}
{{ graph.filename }}
@@ -96,7 +96,7 @@
{{ graph.filename }}
{% endif %} diff --git a/rowers/templates/list_graphs.html b/rowers/templates/list_graphs.html index 82415789..dc05fc5e 100644 --- a/rowers/templates/list_graphs.html +++ b/rowers/templates/list_graphs.html @@ -23,7 +23,7 @@

{{ graph.filename }}

{{ graph.workout.name }}

@@ -46,7 +46,7 @@

{{ graph.filename }}

{{ graph.workout.name }}

diff --git a/rowers/templates/panel_statcharts.html b/rowers/templates/panel_statcharts.html index e1e44ea9..ac1f0a52 100644 --- a/rowers/templates/panel_statcharts.html +++ b/rowers/templates/panel_statcharts.html @@ -4,7 +4,7 @@
{{ graph.filename }}
{% endfor %} diff --git a/rowers/templates/workout_comments.html b/rowers/templates/workout_comments.html index f9dbfe7c..d806ef63 100644 --- a/rowers/templates/workout_comments.html +++ b/rowers/templates/workout_comments.html @@ -80,14 +80,14 @@
{{ graph.filename }}
{% elif forloop.counter == 3 %}
{{ graph.filename }}
@@ -95,7 +95,7 @@
{{ graph.filename }}
{% endif %} @@ -107,14 +107,14 @@
{{ graph.filename }}
{% elif forloop.counter == 3 %}
{{ graph.filename }}
@@ -122,7 +122,7 @@
{{ graph.filename }}
{% endif %} diff --git a/rowers/templates/workout_form.html b/rowers/templates/workout_form.html index 6c9c6b25..3aa03f88 100644 --- a/rowers/templates/workout_form.html +++ b/rowers/templates/workout_form.html @@ -162,7 +162,7 @@
{{ graph.filename }}
{% endif %} @@ -174,14 +174,14 @@
{{ graph.filename }}
{% elif forloop.counter == 3 %}
{{ graph.filename }}
@@ -189,7 +189,7 @@
{{ graph.filename }}
{% endif %} diff --git a/rowers/templates/workout_view.html b/rowers/templates/workout_view.html index ad3069c1..00b070f5 100644 --- a/rowers/templates/workout_view.html +++ b/rowers/templates/workout_view.html @@ -94,30 +94,31 @@
-

Images linked to this workout

- {% if graphs1 %} - - {% for graph in graphs1 %} - {% if forloop.counter == 1 %} -
+

Images linked to this workout

+ {% if graphs1 %} + + {% for graph in graphs1 %} + {% if forloop.counter == 1 %} +
+ + {{ graph.filename }} +
+ {% elif forloop.counter == 3 %} +
+ + {{ graph.filename }} +
+ + {% else %} +
{{ graph.filename }} -
- {% elif forloop.counter == 3 %} -
- - {{ graph.filename }} -
- - {% else %} -
- - {{ graph.filename }}
{% endif %} @@ -129,14 +130,14 @@ {% elif forloop.counter == 3 %} @@ -144,7 +145,7 @@ {% endif %}