{% extends "base.html" %} {% load staticfiles %} {% load rowerfilters %} {% load tz %} {% block title %}Change Workout {% endblock %} {% block content %}
{% if form.errors %}

Please correct the error{{ form.errors|pluralize }} below.

{% endif %}

Edit Workout Interval Data

Advanced

Advanced Functionality (More interactive Charts)
{% localtime on %}
Date/Time:{{ workout.startdatetime }}
Distance:{{ workout.distance }}m
Duration:{{ workout.duration |durationprint:"%H:%M:%S.%f" }}
Public link to this workout https://rowsandall.com/rowers/workout/{{ workout.id }}
Public link to interactive chart https://rowsandall.com/rowers/workout/{{ workout.id }}/interactiveplot
{% endlocaltime %}

Interval Translator

This is a quick way to enter the intervals using a special mini-language.

You enter something like 8x500m/3min, press "Update" and the site will interpret this for you and update the summary on the right. If you're happy with the result, press the green Save button to update the values. Nothing will be changed permanently until you hit Save.

Special characters are x (times), + and / (denotes a rest interval), as well as ( and ). Units are min (minutes), sec (seconds), m (meters) and km (km).

A typical interval is described as "10min/5min", with the work part before the "/" and the rest part after it. A zero rest can be omitted, so a single 1000m piece could be described either as "1km" or "1000m". The basic units can be combined with "+" and "Nx". You can use parentheses as in the example below.

Here are a few examples.

8x500m/2min8 times 500m with 2 minutes rest
10kmSingle distance of 10km
6min/3min + 5min/3min + 3min/3min + 3min Four intervals of 6, 5, 3 and 3 minutes length, 3 minutes rest
8x500m/3:30min 8 times 500m with 3 minutes 30 seconds rest
4x((500m+500m)/5min)4 times 1km, but each km is reported as two 500m intervals without rest. Note the nested parentheses.
2x500m/500mA 2k rowed as 500m "on", 500m "off"
{{ form.as_table }}
{% csrf_token %}

Intervals by Power/Pace

With this form, you can specify a power or pace level. Everything faster/harder than the specified pace/power will become a work interval. Everything slower will become a rest interval.

{{ powerupdateform.as_table }}
{% csrf_token %}
{{ interactiveplot |safe }}
{{ the_div |safe }}

Updated Summary

{% csrf_token %} {% for key,value in formvalues.items %} {% endfor %} {% for field in detailform %} {{ field.as_hidden }} {% endfor %}

          {{ intervalstats }}
        

Detailed Summary Edit

This is still experimental and there are known bugs. Use at your own risk. Nothing is stored permanently until you hit Save on the summary above. You can use the restore original button to restore the original values.

#
Time
Distance
Type
{% for i in nrintervals|times %}
{{ i }}
{% get_field_id i "intervalt_" detailform %}
{% get_field_id i "intervald_" detailform %}
{% get_field_id i "type_" detailform %}
{% endfor %} {% csrf_token %}
{% endblock %}