Add Stroke profile button
This commit is contained in:
@@ -15,20 +15,21 @@
|
|||||||
|
|
||||||
<h1>Advanced OTW features</h1>
|
<h1>Advanced OTW features</h1>
|
||||||
{% if user.rower.rowerplan == 'basic' %}
|
{% if user.rower.rowerplan == 'basic' %}
|
||||||
<p>This is a preview of the page with advanced functionality for Pro users. See <a href="/rowers/promembership">the page about Pro membership</a> for more information and to sign up for Pro Membership</a>
|
<p>This is a preview of the page with advanced functionality for Pro users.
|
||||||
{% endif %}
|
See <a href="/rowers/promembership">the page about Pro membership</a> for more information and to sign up for Pro Membership</a>
|
||||||
<div class="grid_2 alpha">
|
{% endif %}
|
||||||
|
<div class="grid_2 alpha">
|
||||||
<p>
|
<p>
|
||||||
<a class="button gray small" href="/rowers/workout/{{ workout.id }}/edit">Edit Workout</a>
|
<a class="button gray small" href="/rowers/workout/{{ workout.id }}/edit">Edit Workout</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid_2 suffix_2 omega">
|
<div class="grid_2 suffix_2 omega">
|
||||||
<p>
|
<p>
|
||||||
<a class="button gray small" href="/rowers/workout/{{ workout.id }}/export">Export</a>
|
<a class="button gray small" href="/rowers/workout/{{ workout.id }}/export">Export</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="grid_6 alpha">
|
<div class="grid_6 alpha">
|
||||||
|
|
||||||
<table width=100%>
|
<table width=100%>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -60,96 +61,14 @@
|
|||||||
Compare this workout to other workouts. Plot HR, SPM, or pace vs time or distance for the two workouts.
|
Compare this workout to other workouts. Plot HR, SPM, or pace vs time or distance for the two workouts.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid_2">
|
<div class="grid_2">
|
||||||
<p>
|
|
||||||
{% if user.rower.rowerplan == 'pro' %}
|
|
||||||
<a class="button blue small"href="/rowers/workout/{{ workout.id }}/smoothenpace">Smooth out Pace Data</a>
|
|
||||||
{% else %}
|
|
||||||
<a class="button blue small" href="/rowers/promembership">Smooth out Pace Data</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
This will reduce noise on your pace data (EWMA average). The smoothing is irreversible
|
|
||||||
but you can use the reset smoothing button.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="grid_2 omega">
|
|
||||||
<p>
|
|
||||||
{% if user.rower.rowerplan == 'pro' %}
|
|
||||||
<a class="button blue small"href="/rowers/workout/{{ workout.id }}/undosmoothenpace">Raw Data</a>
|
|
||||||
{% else %}
|
|
||||||
<a class="button blue small" href="/rowers/promembership">Reset Smoothing</a>
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Reset pace data to values before smoothing (as originally imported/uploaded)
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid_6 alpha">
|
|
||||||
<div class="grid_2 alpha">
|
|
||||||
<p>
|
|
||||||
{% if user.rower.rowerplan == 'pro' %}
|
|
||||||
<a class="button blue small"href="/rowers/workout/{{ workout.id }}/crewnerdsummary">CrewNerd Summary</a>
|
|
||||||
{% else %}
|
|
||||||
<a class="button blue small" href="/rowers/promembership">CrewNerd Summary</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Upload a CrewNerd Summary (CSV file) to this workout.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="grid_2">
|
|
||||||
<p>
|
|
||||||
{% if user.rower.rowerplan == 'pro' %}
|
|
||||||
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/geeky">Geeky Stuff</a>
|
|
||||||
{% else %}
|
|
||||||
<a class="button blue small" href="/rowers/promembership">Geeky Stuff</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Add weather and current data and OTW power calculations.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="grid_2 omega">
|
|
||||||
<p>
|
|
||||||
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/interactiveplot">Big Interactive Plot</a>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
See (and save) the big interactive plot
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="grid_6 alpha">
|
|
||||||
|
|
||||||
|
|
||||||
<div class="grid_2 alpha">
|
|
||||||
<p>
|
<p>
|
||||||
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/flexchart">Flexible Interactive Plot</a>
|
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/flexchart">Flexible Interactive Plot</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Flexible Interactive plot. Pick your own X and Y axis parameters.
|
Flexible Interactive plot. Pick your own X and Y axis parameters.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="grid_2 tooltip">
|
|
||||||
<p>
|
|
||||||
{% if user.rower.rowerplan == 'pro' %}
|
|
||||||
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/addotwpowerplot">OTW Power Plot</a>
|
|
||||||
{% else %}
|
|
||||||
<a class="button blue small" href="/rowers/promembership">OTW Power Plot</a>
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
<span class="tooltiptext">Note: You must run the OTW calculations under Geeky Stuff first. Otherwise the plot will be empty</span>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Pace, wind corrected pace, power, equivalent erg power in a static plot
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid_2 omega tooltip">
|
<div class="grid_2 omega tooltip">
|
||||||
@@ -163,7 +82,112 @@ Pace, wind corrected pace, power, equivalent erg power in a static plot
|
|||||||
<span class="tooltiptext">Enter or change the interval and summary data for your workout</span>
|
<span class="tooltiptext">Enter or change the interval and summary data for your workout</span>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Enter or change the interval and summary data for your workout
|
Enter or change the interval and summary data for your workout
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_6 alpha">
|
||||||
|
<div class="grid_2 alpha">
|
||||||
|
<p>
|
||||||
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
|
<a class="button blue small"href="/rowers/workout/{{ workout.id }}/crewnerdsummary">CrewNerd Summary</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="button blue small" href="/rowers/promembership">CrewNerd Summary</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Upload a CrewNerd Summary (CSV file) to this workout.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_2 tooltip">
|
||||||
|
<p>
|
||||||
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
|
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/forcecurve">Stroke Profile (Empower)</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="button blue small" href="/rowers/promembership">Stroke Profile (Empower)</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
<span class="tooltiptext">Analyze your stroke force profile (need Empower Oarlock data)</span> <p>
|
||||||
|
Interactive plot of Stroke Profile (with Empower Oarlock)
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_2 omega tooltip">
|
||||||
|
<p>
|
||||||
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
|
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/addotwpowerplot">OTW Power Plot</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="button blue small" href="/rowers/promembership">OTW Power Plot</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
<span class="tooltiptext">Note: You must run the OTW calculations under Geeky Stuff first. Otherwise the plot will be empty</span>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Pace, wind corrected pace, power, equivalent erg power in a static plot
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_6 alpha">
|
||||||
|
|
||||||
|
<div class="grid_2 alpha">
|
||||||
|
<p>
|
||||||
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
|
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/geeky">Geeky Stuff</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="button blue small" href="/rowers/promembership">Geeky Stuff</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Add weather and current data and OTW power calculations.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid_2 tooltip">
|
||||||
|
<p>
|
||||||
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
|
<a class="button blue small"href="/rowers/workout/{{ workout.id }}/smoothenpace">Smooth out Pace Data</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="button blue small" href="/rowers/promembership">Smooth out Pace Data</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<span class="tooltiptext">This will reduce noise on your pace data. The smoothing is irreversible but you can use the reset smoothing button.</span>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Pace data too noisy? Press this button!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid_2 omega">
|
||||||
|
<p>
|
||||||
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
|
<a class="button blue small"href="/rowers/workout/{{ workout.id }}/undosmoothenpace">Raw Data</a>
|
||||||
|
{% else %}
|
||||||
|
<a class="button blue small" href="/rowers/promembership">Reset Smoothing</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Reset pace data to values before smoothing
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid_6 alpha">
|
||||||
|
<div class="grid_2 alpha">
|
||||||
|
<p>
|
||||||
|
<a class="button blue small" href="/rowers/workout/{{ workout.id }}/interactiveplot">Big Interactive Plot</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
See (and save) the big interactive plot
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -200,9 +224,9 @@ Enter or change the interval and summary data for your workout
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
<div id="interactiveplot" class="grid_6 omega">
|
<div id="interactiveplot" class="grid_6 omega">
|
||||||
{{ the_div |safe }}
|
{{ the_div |safe }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for workout in workouts %}
|
{% for workout in workouts %}
|
||||||
<tr>
|
<tr>
|
||||||
<td> {{ workout.date }} </td>
|
<td> {{ workout.date |truncatechars:15}} </td>
|
||||||
<td> {{ workout.starttime }} </td>
|
<td> {{ workout.starttime }} </td>
|
||||||
<td>
|
<td>
|
||||||
{% if user.rower.rowerplan == 'pro' %}
|
{% if user.rower.rowerplan == 'pro' %}
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
<div class="site-announcement-box">
|
<div class="site-announcement-box">
|
||||||
<div class="site-announcement">
|
<div class="site-announcement">
|
||||||
<i>{{ a.created }}:</i>
|
<i>{{ a.created }}:</i>
|
||||||
{{ a.announcement }}
|
{{ a.announcement|urlize }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -96,7 +96,8 @@
|
|||||||
Read his <a href="http://blog.rowsandall.com/">blog</a>
|
Read his <a href="http://blog.rowsandall.com/">blog</a>
|
||||||
</p>
|
</p>
|
||||||
<div style="text-align: right; padding: 2em">
|
<div style="text-align: right; padding: 2em">
|
||||||
<img src="/static/img/sander.jpg" width="80">
|
<a href="http://blog.rowsandall.com/">
|
||||||
|
<img src="/static/img/sander.jpg" width="80"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user