table-active for last row, remove django remaining...
This commit is contained in:
parent
55efe1a6fa
commit
f6d7cb552b
|
@ -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 %}
|
|
|
@ -15,7 +15,7 @@ block content
|
||||||
td #{course.type}
|
td #{course.type}
|
||||||
td #{course.time}
|
td #{course.time}
|
||||||
td #{course.tdEquivalent}
|
td #{course.tdEquivalent}
|
||||||
tr
|
tr.table-active
|
||||||
td
|
td
|
||||||
strong #{total.name}
|
strong #{total.name}
|
||||||
td
|
td
|
||||||
|
|
Loading…
Reference in New Issue