61 lines
1.5 KiB
HTML
61 lines
1.5 KiB
HTML
{% extends "newbase.html" %}
|
|
{% load static %}
|
|
{% load rowerfilters %}
|
|
|
|
{% block title %}Advanced Features {% endblock %}
|
|
|
|
{% block main %}
|
|
<h1>In Stroke Metrics</h1>
|
|
<ul class="main-content">
|
|
<li class="grid_4">
|
|
{% if user.rower.rowerplan == 'basic' %}
|
|
|
|
<p>
|
|
This is a preview of the page with advanced functionality for Pro users.
|
|
See <a href="/rowers/about/">the About page</a> for more information
|
|
and to sign up for Pro Membership
|
|
</p>
|
|
{% endif %}
|
|
</li>
|
|
<li class="grid_2">
|
|
<table width=100%>
|
|
<tr>
|
|
<th>Date:</th><td>{{ workout.date }}</td>
|
|
</tr><tr>
|
|
<th>Time:</th><td>{{ workout.starttime }}</td>
|
|
</tr><tr>
|
|
<th>Distance:</th><td>{{ workout.distance }}m</td>
|
|
</tr><tr>
|
|
<th>Duration:</th><td>{{ workout.duration |durationprint:"%H:%M:%S.%f" }}</td>
|
|
</tr>
|
|
<th>Public link to this workout</th>
|
|
<td>
|
|
<a href="/rowers/workout/{{ workout.id|encode }}/">https://rowsandall.com/rowers/workout/{{ workout.id|encode }}</a>
|
|
<td>
|
|
|
|
</table>
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
|
{% if instrokemetrics %}
|
|
{% for metric in instrokemetrics %}
|
|
<p>
|
|
<a class="button blue small" href="/rowers/workout/{{ workout.id|encode }}/instroke/{{ metric }}/">{{ metric }}</a>
|
|
</p>
|
|
{% endfor %}
|
|
{% else %}
|
|
<p>Unfortunately, this workout doesn't have any in stroke metrics</p>
|
|
{% endif %}
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
{% endblock %}
|
|
|
|
{% block sidebar %}
|
|
{% include 'menu_workout.html' %}
|
|
{% endblock %}
|