bia-fitness/templates/month.html
2015-04-03 17:09:38 -04:00

49 lines
1.3 KiB
HTML

{% 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">
<table class="table calendar-month">
<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 %}
<td class="calendar-day">
{% if day %}
<div class="day-number">{{day.number}}</div>
<ul>
{% for set in day.sets %}
<li>
{{set}}
</li>
{% endfor %}
</ul>
{% endif %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</section>
</section>
{% endblock %}