otw interactive power plot
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{% load rowerfilters %}
|
||||
<h1>Workout</h1>
|
||||
<ul class="cd-accordion-menu animated">
|
||||
<li class="has-children" id="workout">
|
||||
@@ -5,10 +6,17 @@
|
||||
<label for="group-workout">Workout</label>
|
||||
<ul>
|
||||
<li id="workout-dashboard">
|
||||
{% if user.is_authenticated and workout|may_edit:request %}
|
||||
<a href="/rowers/workout/{{ workout.id }}/workflow">
|
||||
<i class="fas fa-tachometer-alt fa-fw"></i> View
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="/rowers/workout/{{ workout.id }}/workflow">
|
||||
<i class="fas fa-tachometer-alt fa-fw"></i> View
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% if user.is_authenticated and workout|may_edit:request %}
|
||||
<li id="workout-edit">
|
||||
<a href="/rowers/workout/{{ workout.id }}/edit">
|
||||
<i class="fas fa-pencil-alt fa-fw"></i> Edit
|
||||
@@ -19,6 +27,7 @@
|
||||
<i class="fas fa-pause fa-fw"></i> Intervals
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li id="workout-stats">
|
||||
<a href="/rowers/workout/{{ workout.id }}/stats">
|
||||
<i class="fal fa-table fa-fw"></i> Statistics
|
||||
@@ -28,12 +37,14 @@
|
||||
<a href="/rowers/multi-compare">
|
||||
<i class="fas fa-balance-scale fa-fw"></i> Compare
|
||||
</a>
|
||||
</li>
|
||||
</li>
|
||||
{% if user.is_authenticated and workout|may_edit:request %}
|
||||
<li id="workout-delete">
|
||||
<a href="/rowers/workout/{{ workout.id }}/delete">
|
||||
<i class="fas fa-trash-alt fa-fw"></i> Delete
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-children" id="flexchart">
|
||||
@@ -45,13 +56,21 @@
|
||||
<i class="fas fa-chart-line fa-fw"></i> Flex Chart
|
||||
</a>
|
||||
</li>
|
||||
{% if workout|water %}
|
||||
<li id="chart-map">
|
||||
<a href="/rowers/workout/{{ workout.id }}/map">
|
||||
<i class="fas fa-map-marked-alt fa-fw"></i> Map
|
||||
</a>
|
||||
</li>
|
||||
<li id="chart-otwpower">
|
||||
<a href="/rowers/workout/{{ workout.id }}/interactiveotwplot">
|
||||
<i class="fal fa-calculator-alt fa-fw"></i> OTW Power
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
{% if user.is_authenticated and workout|may_edit:request %}
|
||||
<li class="has-children" id="chart">
|
||||
<input type="checkbox" name="group-chart" id="group-chart">
|
||||
<label for="group-chart">Static Charts</label>
|
||||
@@ -76,11 +95,13 @@
|
||||
<i class="fas fa-heartbeat fa-fw"></i> Heart Rate (Pie)
|
||||
</a>
|
||||
</li>
|
||||
{% if workout|water %}
|
||||
<li id="chart-otwpower">
|
||||
<a href="/rowers/workout/{{ workout.id }}/addotwpowerplot">
|
||||
<i class="fas fa-chart-area fa-fw"></i> OTW Power
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</li>
|
||||
<li class="has-children" id="export">
|
||||
@@ -128,6 +149,7 @@
|
||||
<input type="checkbox" name="group-advanced" id="group-advanced">
|
||||
<label for="group-advanced">Advanced</label>
|
||||
<ul>
|
||||
{% if workout|water %}
|
||||
<li id="advanced-wind">
|
||||
<a href="/rowers/workout/{{ workout.id }}/wind">
|
||||
<i class="fas fa-pennant fa-fw"></i> Wind
|
||||
@@ -143,9 +165,11 @@
|
||||
<i class="fas fa-calculator-alt fa-fw"></i> OTW Power
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li id="advanced-instroke">
|
||||
<a href="/rowers/workout/{{ workout.id }}/instroke">
|
||||
<i class="fas fa-search-plus fa-fw"></i> In-Stroke Metrics</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul><!-- cd-accordion-menu -->
|
||||
|
||||
Reference in New Issue
Block a user