adejs/controllers/total/templates/total.html

24 lines
609 B
HTML

{% 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 %}