Private
Public Access
1
0

replaced waiting png with animation

This commit is contained in:
Sander Roosendaal
2017-11-01 20:10:07 +01:00
parent 75ce561289
commit 1a91612142
6 changed files with 45 additions and 44 deletions

View File

@@ -54,14 +54,14 @@
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
@@ -69,7 +69,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}
@@ -81,14 +81,14 @@
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
@@ -96,7 +96,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}

View File

@@ -23,7 +23,7 @@
<div id="thumb-container" class="grid_2">
<p class="caption"><a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a></p>
<p class="caption">{{ graph.workout.name }}</p>
</div>
@@ -46,7 +46,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<p class="caption"><img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a></p>
<p class="caption">{{ graph.workout.name }}</p>
</div>

View File

@@ -4,7 +4,7 @@
<div id="thumb-container" class="grid_3 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="180" height="150"></a>
</div>
{% endfor %}

View File

@@ -80,14 +80,14 @@
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
@@ -95,7 +95,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}
@@ -107,14 +107,14 @@
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
@@ -122,7 +122,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}

View File

@@ -162,7 +162,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}
@@ -174,14 +174,14 @@
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
@@ -189,7 +189,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}

View File

@@ -94,30 +94,31 @@
</div>
<div id="images" class="grid_6 omega">
<h1>Images linked to this workout</h1>
{% if graphs1 %}
{% for graph in graphs1 %}
{% if forloop.counter == 1 %}
<div id="thumb-container" class="grid_2 alpha">
<h1>Images linked to this workout</h1>
{% if graphs1 %}
{% for graph in graphs1 %}
{% if forloop.counter == 1 %}
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% else %}
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% else %}
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}
@@ -129,14 +130,14 @@
<div id="thumb-container" class="grid_2 alpha">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% elif forloop.counter == 3 %}
<div id="thumb-container" class="grid_2 omega">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
@@ -144,7 +145,7 @@
<div id="thumb-container" class="grid_2">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/waiting.png'"
onerror="this.src='/static/img/ajax_loader_blue_350.gif'"
alt="{{ graph.filename }}" width="120" height="100"></a>
</div>
{% endif %}