bug fixes and initial improvements
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user