table-active for last row, remove django remaining...

This commit is contained in:
Thomas Forgione 2017-09-23 22:40:07 +00:00
parent 55efe1a6fa
commit f6d7cb552b
No known key found for this signature in database
GPG Key ID: 95D964F74A96119E
2 changed files with 1 additions and 24 deletions

View File

@ -1,23 +0,0 @@
{% 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 %}

View File

@ -15,7 +15,7 @@ block content
td #{course.type}
td #{course.time}
td #{course.tdEquivalent}
tr
tr.table-active
td
strong #{total.name}
td