Private
Public Access
1
0
Files
rowsandall/rowers/templates/workout_data.html
Sander Roosendaal 196548fdcc staticfiles to static
2021-04-14 10:00:14 +02:00

46 lines
996 B
HTML

{% extends "newbase.html" %}
{% load static %}
{% load rowerfilters %}
{% block title %}Workout Data{% endblock %}
{% block main %}
<h1>Workout Data for {{ workout.name }}</h1>
<ul class="main-content">
<li class="grid_4">
<p>
<form method="post" enctype="multipart/form-data">
{{ form.as_table }}
{% csrf_token %}
<input type="submit" value="Submit">
</form>
</p>
</li>
<li class="maxheight grid_4">
<table width=100% class="listtable shortpadded">
<th>
{% for i in cols %}
<td><strong>{{i}}</strong> <a href="/rowers/workout/{{ workout.id|encode }}/{{i}}/erase/">erase</a></td>
{% endfor %}
</th>
{% for row in data.values.tolist %}
<tr>
<td>
{{ forloop.counter0 }}
</td>
{% for value in row %}
<td>{{ value }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_workout.html' %}
{% endblock %}