From fc052813519d2846f50c796167a813258aa0d114 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Tue, 27 Jan 2026 13:48:59 -0500 Subject: [PATCH] restored templates/apps/dashboard/ & its contents; inadvertently deleted in previous update; all UTs & FTs once again passing --- src/templates/apps/dashboard/home.html | 6 ++++++ src/templates/apps/dashboard/list.html | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/templates/apps/dashboard/home.html create mode 100644 src/templates/apps/dashboard/list.html diff --git a/src/templates/apps/dashboard/home.html b/src/templates/apps/dashboard/home.html new file mode 100644 index 0000000..67e9937 --- /dev/null +++ b/src/templates/apps/dashboard/home.html @@ -0,0 +1,6 @@ +{% extends "core/base.html" %} + +{% block title_text %}Start a new to-do list{% endblock title_text %} +{% block header_text %}Start a new to-do list{% endblock header_text %} + +{% block form_action %}{% url "new_list" %}{% endblock form_action %} diff --git a/src/templates/apps/dashboard/list.html b/src/templates/apps/dashboard/list.html new file mode 100644 index 0000000..ec9340b --- /dev/null +++ b/src/templates/apps/dashboard/list.html @@ -0,0 +1,15 @@ +{% extends "core/base.html" %} + +{% block title_text %}Your to-do list{% endblock title_text %} +{% block header_text %}Your to-do list{% endblock header_text %} + +{% block form_action %}{% url "view_list" list.id %}{% endblock form_action %} + +{% block table %} + + {% for item in list.item_set.all %} + + {% endfor %} +
{{ forloop.counter }}. {{ item.text }}
+{% endblock table %} +