diff --git a/rowers/templates/oterankings.html b/rowers/templates/oterankings.html index 278ac219..04dbec69 100644 --- a/rowers/templates/oterankings.html +++ b/rowers/templates/oterankings.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "newbase.html" %} {% load staticfiles %} {% load rowerfilters %} @@ -8,175 +8,109 @@ {% block title %}Workouts{% endblock %} -{% block content %} +{% block main %} - - + + - {{ interactiveplot |safe }} +{{ interactiveplot |safe }} - - +{% if theuser %} +
Summary for {{ theuser.first_name }} {{ theuser.last_name }} + between {{ startdate|date }} and {{ enddate|date }}
-The table gives the efforts you marked as Ranking Piece. + The graph shows the best segments from those pieces, plotted as + average power (over the segment) vs the duration of the segment/ + In other words: How long you can hold that power. +
-Summary for {{ theuser.first_name }} {{ theuser.last_name }} - between {{ startdate|date }} and {{ enddate|date }}
+Whenever you load or reload the page, a new calculation is started + as a background process. The page will reload automatically when the + calculation is ready. +
-Direct link for other users: - {% if workouttype == 'water' %} - https://rowsandall.com/rowers/{{ id }}/otw-bests/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }} - {% else %} - https://rowsandall.com/rowers/{{ id }}/ote-ranking/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }} - {% endif %} -
+At the bottom of the page, you will find predictions derived from the model.
+ +Use this form to select a different date range:
++ Select start and end date for a date range: +
+Whenever you load or reload the page, a new calculation is started - as a background process. The page will reload automatically when - calculation is ready.
-At the bottom of the page, you will find predictions derived from the model.
-Use this form to select a different date range:
-- Select start and end date for a date range: -
| Distance | -Duration | -Avg Power | -Date | -Avg HR | -Max HR | -Edit | +Distance | +Duration | +Avg Power | +Date | +Avg HR | +Max HR | +Edit |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ workout.distance }} m | -{{ workout.duration |durationprint:"%H:%M:%S.%f" }} | -{{ avgpower|lookup:workout.id }} W | -{{ workout.date }} | -{{ workout.averagehr }} | -{{ workout.maxhr }} | -- {{ workout.name }} | - -|||||||
| {{ workout.distance }} m | +{{ workout.duration |durationprint:"%H:%M:%S.%f" }} | +{{ avgpower|lookup:workout.id }} W | +{{ workout.date }} | +{{ workout.averagehr }} | +{{ workout.maxhr }} | ++ {{ workout.name }} | + +
No ranking workouts found
- {% endif %} + {% endfor %} + +No ranking workouts found
+ {% endif %} -Add non-ranking piece using the form. The piece will be added in the prediction tables below.
+Add non-ranking piece using the form. The piece will be added in the prediction tables below.
-| Duration | @@ -208,25 +142,25 @@
|---|