{% extends "newbase.html" %} {% load staticfiles %} {% load rowerfilters %} {% block title %}Rowsandall {% endblock %} {% block main %}

# History for {{ rower.user.first_name }} {{ rower.user.last_name }}

- {% csrf_token %}

  {{ form.as_table }}

  ## All workouts

  Total Distance | {{ totalsdict|lookup:"distance"}} meters
  Total Duration | {{ totalsdict|lookup:"duration"}} hours
  Number of workouts | {{ totalsdict|lookup:"nrworkouts"}}
  Average heart rate | {{ totalsdict|lookup:"hrmean"}} bpm
  Maximum heart rate | {{ totalsdict|lookup:"hrmax"}} bpm
  Average power | {{ totalsdict|lookup:"powermean"}} W
  Maximum power | {{ totalsdict|lookup:"powermax"}} W

- {{ totalscript|safe }}{{ totaldiv|safe }}
{% for ddict in typedicts %}

- ## {{ ddict|lookup:"wtype"}}

  Total Distance | {{ ddict|lookup:"distance"}} meters
  Total Duration | {{ ddict|lookup:"duration"}} hours
  Number of workouts | {{ ddict|lookup:"nrworkouts"}}
  Average heart rate | {{ ddict|lookup:"hrmean"}} bpm
  Maximum heart rate | {{ ddict|lookup:"hrmax"}} bpm
  Average power | {{ ddict|lookup:"powermean"}} W
  Maximum power | {{ ddict|lookup:"powermax"}} W

{% endfor %}

{% endblock %} {% block sidebar %} {% include 'menu_analytics.html' %} {% endblock %}