Private
Public Access
1
0

list_workouts improv

This commit is contained in:
Sander Roosendaal
2018-10-21 21:12:12 +02:00
parent f2767df21e
commit 5c8253289c
2 changed files with 30 additions and 28 deletions

View File

@@ -58,7 +58,17 @@ xo
<ul class="main-content">
<li>
<li class="grid_2" style="min-height:200px;">
<script type="text/javascript" src="/static/js/bokeh-0.12.3.min.js"></script>
<script async="true" type="text/javascript">
Bokeh.set_log_level("info");
</script>
{{ interactiveplot |safe }}
{{ the_div |safe }}
</li>
<li class="grid_2">
<p>
<form enctype="multipart/form-data" method="post">
<table>
@@ -81,18 +91,17 @@ xo
</input>
</form>
</p>
</li>
<li style="min-height:200px;">
<script type="text/javascript" src="/static/js/bokeh-0.12.3.min.js"></script>
<script async="true" type="text/javascript">
Bokeh.set_log_level("info");
</script>
{{ interactiveplot |safe }}
{{ the_div |safe }}
</li>
<li>
<p>
{% if rankingonly and not team %}
<a href="/rowers/list-workouts">
<i class="far fa-star"></i>Show All Workouts
</a>
{% elif not team %}
<a href="/rowers/list-workouts/ranking">
<i class="fas fa-star"></i>Show Only Ranking Pieces
</a>
{% endif %}
</p>
<p>
<span>
{% if workouts.has_previous %}
@@ -139,19 +148,6 @@ xo
</span>
</p>
</li>
<li>
<p>
{% if rankingonly and not team %}
<a href="/rowers/list-workouts">
<i class="far fa-star"></i>Show All Workouts
</a>
{% elif not team %}
<a href="/rowers/list-workouts/ranking">
<i class="fas fa-star"></i>Show Only Ranking Pieces
</a>
{% endif %}
</p>
</li>
<li class="maxheight grid_4">
{% if workouts %}