Private
Public Access
1
0

bug fixes and initial improvements

This commit is contained in:
Sander Roosendaal
2018-10-17 07:44:20 +02:00
parent 54baa12210
commit 2fc13dc71a
12 changed files with 90 additions and 85 deletions

View File

@@ -49,12 +49,12 @@
<li class="grid_2">
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
{% if favoritenr > 0 %}
<a class="wh"
<a
href="/rowers/workout/{{ id }}/flexchart?favoritechart={{ favoritenr|add:-1 }}">
<i class="fas fa-arrow-alt-left"></i>
</a>
{% else %}
<a class="wh"
<a
href="/rowers/workout/{{ id }}/flexchart?favoritechart={{ maxfav }}">
<i class="fas fa-arrow-alt-left"></i>
</a>
@@ -68,12 +68,12 @@
{% endif %}
<input value="Make Favorite" type="Submit">
{% if favoritenr < maxfav %}
<a class="wh"
<a
href="/rowers/workout/{{ id }}/flexchart?favoritechart={{ favoritenr|add:1 }}">
<i class="fas fa-arrow-alt-right"></i>
</a>
{% else %}
<a class="wh"
<a
href="/rowers/workout/{{ id }}/flexchart?favoritechart=0">
<i class="fas fa-arrow-alt-right"></i>
</a>