{% extends "base.html" %} {% load static %} {% load rowerfilters %} {% block title %}Workouts{% endblock %} {% block content %}

Workout {{ id }}

Rower:{{ first_name }} {{ last_name }}
Name:{{ workout.name }}
Date:{{ workout.date }}
Time:{{ workout.starttime }}
Distance:{{ workout.distance }}m
Duration:{{ workout.duration |durationprint:"%H:%M:%S.%f" }}
Type:{{ workout.workouttype }}
Weight Category:{{ workout.weightcategory }}

{{ searchform }}

Select start and end date for a date range:

{{ dateform.as_table }}
{% csrf_token %}

Compare this workout to:

{% if workouts %} {% for cworkout in workouts %} {% if id == cworkout.id %} {% else %} {% endif %} {% endfor %}
Date Time Name Type Distance Duration Avg HR Max HR Compare
{{ cworkout.date }} {{ cworkout.starttime }} {{ cworkout.name }} {{ cworkout.workouttype }} {{ cworkout.distance }}m {{ cworkout.duration |durationprint:"%H:%M:%S.%f" }} {{ cworkout.averagehr }} {{ cworkout.maxhr }}   Compare
{% else %}

No workouts found

{% endif %}
{% if workouts.has_previous %} < {% endif %} Page {{ workouts.number }} of {{ workouts.paginator.num_pages }}. {% if workouts.has_next %} > {% endif %}
{% endblock %}