Add the tasks to be shown on the index page.

This commit is contained in:
2023-07-12 20:43:53 +03:00
parent 7cb8cf4c54
commit 7797387d91
3 changed files with 24 additions and 1 deletions
+15
View File
@@ -3,4 +3,19 @@
{% block content %}
<center><h1>Tasks</h1></center>
<table class="table table-striped">
<tr>
<td>Status</td>
<td>Name</td>
<td>Description</td>
</tr>
{% for task in tasks %}
<tr>
<td>{{ task.status }}</td>
<td>{{ task.name }}</td>
<td>{{ task.description | truncatewords:10 }}</td>
</tr>
{% endfor %}
</table>
{% endblock %}