Improve appearence of events table in taskDetail

This commit is contained in:
Adam Goldsmith 2020-12-15 01:44:05 -05:00
parent 65ca110b81
commit 164d81871a

View File

@ -20,18 +20,23 @@
<input type="submit" value="Submit">
</form>
<table>
<h2> Event Log </h2>
<table class="table table-striped table-hover">
<thead>
<tr>
<th> Date </th>
<th> User </th>
<th> Notes </th>
</tr>
{% for event in events %}
</thead>
<tbody>
{% for event in events|dictsortreversed:"date" %}
<tr>
<td> {{ event.date }} </td>
<td class="text-nowrap"> {{ event.date }} </td>
<td> {{ event.user }} </td>
<td> {{ event.notes }} </td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}