bia-fitness/templates/month.html

49 lines
1.3 KiB
HTML
Raw Normal View History

2015-04-03 20:46:59 +00:00
{% extends "base.html" %}
{% block content %}
<section class="row">
<section class="col-sm-6">
<h3>{{date|date:"F Y"}}</h3>
</section>
</section>
<section class="row">
<section class="col-sm-12">
2015-04-03 21:09:38 +00:00
<table class="table calendar-month">
2015-04-03 20:46:59 +00:00
<thead>
<tr>
<th>Sunday</th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
<th>Saturday</th>
<tr>
</thead>
<tbody>
{% for week in days %}
<tr>
{% for day in week %}
2015-04-03 21:09:38 +00:00
<td class="calendar-day">
2015-04-03 20:46:59 +00:00
{% if day %}
2015-04-03 21:09:38 +00:00
<div class="day-number">{{day.number}}</div>
<ul>
{% for set in day.sets %}
<li>
{{set}}
</li>
{% endfor %}
</ul>
2015-04-03 20:46:59 +00:00
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</section>
</section>
{% endblock %}