now with the ability to post new tasks

This commit is contained in:
2022-11-13 14:21:23 -05:00
parent 7cb3aaf864
commit 3a129168c1
3 changed files with 36 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<span><h1>{% block title %} Tasks {% endblock %}</h1></span> <br>
<span><h1>{% block title %} Tasks {% endblock %}</h1></span> <a class="btn btn-primary" href="/task/new" role="button">New Task</a> <br> <br>
<div>
{% for task in tasks %}
{% set createdTime = datetime.fromtimestamp(task.created_timestamp) %}