update templates with task expiry

This commit is contained in:
2023-04-18 17:26:49 -04:00
parent b783946273
commit dc6fb52b58
4 changed files with 12 additions and 0 deletions

View File

@@ -13,6 +13,10 @@
{{ form.description.label }}
</p>
{{ form.description(rows=5, cols=25) }}
<p>
{{ form.expiryDate.label }}
{{ form.expiryDate }}
</p>
<p>
<button class="btn btn-primary" type="submit">Edit Task</button>
</p>

View File

@@ -13,6 +13,10 @@
{{ form.description.label }}
</p>
{{ form.description(rows=5, cols=25) }}
<p>
{{ form.expiryDate.label }}
{{ form.expiryDate }}
</p>
<p>
<button class="btn btn-primary" type="submit">Add Task</button>
</p>

View File

@@ -29,6 +29,9 @@
<div>
<p>Due: {{ task.due_timestamp }}</p>
</div>
<div>
<p>Expires: {{ task.expiryDate }}</p>
</div>
<p>
<a class="btn btn-primary" href="/task/{{task.id}}/edit">Edit Task</a>
<span>

View File

@@ -28,6 +28,7 @@
</b>
<div>
<p>Created: {{ createdTime.strftime('%Y-%m-%d %I:%M %p') }}</p>
<p>Expires: {{ task.expiryDate }}</p>
</div>
<hr>
</div>