Private
Public Access
1
0

adding user setting for CP duration range - default is 42 days

This commit is contained in:
Sander Roosendaal
2020-10-13 22:03:18 +02:00
parent 211bf1661c
commit c067a33372
5 changed files with 43 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<form enctype="multipart/form-data" action="" method="post">
<table>
{{ form.as_table }}
@@ -37,7 +37,7 @@
<p style="color: red;">
Please correct the error{{ powerzonesform.errors|pluralize }} below.
{{ powerzonesform.non_field_errors }}
</p>
{% endif %}
<table>
@@ -89,7 +89,7 @@
<p>The OTW Power Slack is the percentage drop of your On-the-water
rowing power
vs the erg power. Typical values are around 15%. This will lower
the power zones for your OTW workouts.</p>
the power zones for your OTW workouts.</p>
<table>
{{ powerform.as_table }}
</table>
@@ -97,6 +97,20 @@
<input type="submit" value="Update">
</form>
</li>
<li class="grid_2">
<form enctype="multipart/form-data" action="" method="post">
<h2>Range over which Critical Power rolling data (fitness) are calculated</h2>
<p>Use this form to change the number of weeks over which Rowsandall
keeps track of your Critical Power. </p>
<p>A shorter range will give you notifications of fitness improvements more often,
but will also quickly forget those breakthrough workouts.</p>
<table>
{{ cpform.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Update">
</form>
</li>
</ul>