restored templates/apps/dashboard/ & its contents; inadvertently deleted in previous update; all UTs & FTs once again passing
This commit is contained in:
6
src/templates/apps/dashboard/home.html
Normal file
6
src/templates/apps/dashboard/home.html
Normal file
@@ -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 %}
|
||||||
15
src/templates/apps/dashboard/list.html
Normal file
15
src/templates/apps/dashboard/list.html
Normal file
@@ -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 %}
|
||||||
|
<table id="id_list_table" class="table">
|
||||||
|
{% for item in list.item_set.all %}
|
||||||
|
<tr><td>{{ forloop.counter }}. {{ item.text }}</td></tr>
|
||||||
|
{% endfor %}
|
||||||
|
</table>
|
||||||
|
{% endblock table %}
|
||||||
|
|
||||||
Reference in New Issue
Block a user