Private
Public Access
1
0

more proto

This commit is contained in:
Sander Roosendaal
2021-03-10 08:34:03 +01:00
parent b18d04e088
commit 1f4f76f56a
4 changed files with 124 additions and 4 deletions

View File

@@ -0,0 +1,43 @@
{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}{{ plan.name }}{% endblock %}
{% block main %}
<h1>{{ plan.name }}</h1>
<ul class="main-content">
<li class="grid_4">
<table width="100%" class="listtable">
<thead>
<tr>
<th>Week</th>
<th>Day</th>
<th>Workouts</th>
</tr>
</thead>
<tbody>
{% for day in trainingdays %}
<tr>
<td>{{ day.week }}</td>
<td>{{ day.order }}</td>
<td>
{% for workout in day.workouts %}
<h3>{{ workout.workoutName }}</h3>
{{ workout|steptostring|safe }}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_plan.html' %}
{% endblock %}