more proto
This commit is contained in:
43
rowers/templates/instantplan.html
Normal file
43
rowers/templates/instantplan.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user