2015-04-07 21:33:05 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load lifting %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<section class="row header-row">
|
|
|
|
<section class="col-sm-12">
|
|
|
|
<h3>All Lifts</h3>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="row">
|
|
|
|
<section class="col-sm-12">
|
|
|
|
<table class="table lifts-table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2015-04-10 18:19:12 +00:00
|
|
|
<th>Lift</th>
|
2015-04-07 21:33:05 +00:00
|
|
|
<th>Total Sets</th>
|
|
|
|
<th>Last Set</th>
|
|
|
|
<th>Max Weight</th>
|
|
|
|
<th>Estimated 1RM</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for lift in lifts %}
|
|
|
|
<tr>
|
2015-04-07 21:40:30 +00:00
|
|
|
<td><a href="{% url 'lift-detail' lift.id %}">{{lift.display_name}}</a></td>
|
2015-04-07 21:33:05 +00:00
|
|
|
<td>{{lift.total}}</td>
|
|
|
|
<td>{{lift.last_date}}</td>
|
|
|
|
<td>{% mass_unit lift.max_kg %} {% mass_label %}</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{% endblock %}
|