X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/%7B%7Bdb.prefix%7D%7D/task?a=blobdiff_plain;f=todo_templates%2Fdo_todos.html;h=25211f0f0c0fbbde07334657b6f567f843f7e876;hb=59056f396c4761f9cd7ffbc569e3ddf8994d5e83;hp=fd6feb2ec392aebc199a6bd4da0800f864331a01;hpb=38b9ce0ba2b5af072554999bc5836ffe455f06db;p=misc diff --git a/todo_templates/do_todos.html b/todo_templates/do_todos.html index fd6feb2..25211f0 100644 --- a/todo_templates/do_todos.html +++ b/todo_templates/do_todos.html @@ -5,6 +5,22 @@ td.number, td.checkbox { text-align: center; } td { vertical-align: middle; } td button { padding: 0em; } th.centered { text-align: center; } +ul { margin: 0; } +details > summary { + list-style-type: none; +} +details > summary.has_dependers { + list-style-type: 'â¶'; +} +details[open] > summary.has_dependers { + list-style-type: 'â¼'; +} +details > summary.has_deps::after { + content: 'â¶'; +} +details[open] > summary.has_deps::after { + content: 'â¼'; +} {% endblock %} {% block content %} @@ -22,6 +38,39 @@ comment:
++task quick-add: +don't adopt, make new: +
+ + +{% if adoptable_past_todos %} +
+
+there are adoptable/unfinished past todos ({{adoptable_past_todos|count}})
+
+
+
+
+
+adopt? date title comment
+
+ {{todo.earliest_date}}
+{{todo.title|e}}
+{{todo.comment|e}}
+
+{% endfor %}
+
@@ -43,7 +92,7 @@ comment: | |||
---|---|---|---|
- + | @@ -52,7 +101,31 @@ comment: |
-{% if todo.parents|length > 0 %}â¦:{% endif %}{{todo.title}}
+{% if todo.dependers|length > 0 or todo.deps|length > 0 %}
+
+
+{% endif %}
+{% endif %} +{{todo.title|e}} +{% if todo.dependers|length > 0 or todo.deps|length > 0 %} ++{% if todo.dependers|length > 0 %} +dependers: +
|