38 lines
885 B
HTML
38 lines
885 B
HTML
{% extends "base.html" %}
|
|
{% load staticfiles %}
|
|
{% load rowerfilters %}
|
|
|
|
{% block title %}Workouts{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Available on MapMyFitness (UnderArmour)</h1>
|
|
{% if workouts %}
|
|
<table width="70%" class="listtable">
|
|
<thead>
|
|
<tr>
|
|
<th> Import </th>
|
|
<th> Date/Time </th>
|
|
<th> Duration </th>
|
|
<th> Total Distance</th>
|
|
<th> Type</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for workout in workouts %}
|
|
<tr>
|
|
<td>
|
|
<a href="/rowers/workout/underarmourimport/{{ workout|ualookup:'id' }}/">Import</a></td>
|
|
<td>{{ workout|ualookup:'starttime' }}</td>
|
|
<td>{{ workout|ualookup:'duration' }} </td>
|
|
<td>{{ workout|ualookup:'distance' }} m</td>
|
|
<td>{{ workout|ualookup:'type' }}</td>
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p> No workouts found. We only list workouts with time data series. </p>
|
|
{% endif %}
|
|
{% endblock %}
|