Improve appearence of events table in taskDetail
This commit is contained in:
parent
65ca110b81
commit
164d81871a
@ -20,18 +20,23 @@
|
|||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<table>
|
<h2> Event Log </h2>
|
||||||
|
<table class="table table-striped table-hover">
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th> Date </th>
|
<th> Date </th>
|
||||||
<th> User </th>
|
<th> User </th>
|
||||||
<th> Notes </th>
|
<th> Notes </th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for event in events %}
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for event in events|dictsortreversed:"date" %}
|
||||||
<tr>
|
<tr>
|
||||||
<td> {{ event.date }} </td>
|
<td class="text-nowrap"> {{ event.date }} </td>
|
||||||
<td> {{ event.user }} </td>
|
<td> {{ event.user }} </td>
|
||||||
<td> {{ event.notes }} </td>
|
<td> {{ event.notes }} </td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user