Nice formatting

This commit is contained in:
Thomas Forgione
2017-09-23 22:38:12 +00:00
parent dae9643cd0
commit 042ac0f9d3
8 changed files with 330 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
{% extends "pyade/base.html" %}
{% block content %}
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>Course name</th>
<th>Count in hours</th>
</tr>
</thead>
<tbody>
{% for key, value in total_by_course.items %}
<tr>
<td>{{ key }}</td>
<td>{{ value }}</td>
</tr>
{% endfor %}
<tr class="table-active">
<td><strong>Total</strong></td>
<td><strong>{{ total }}</strong></td>
</tr>
</tbody>
</table>
{% endblock %}