X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Fday.html;fp=todo_templates%2Fday.html;h=5c63670824768e55b2c8bb397ef5a79cca199719;hp=0000000000000000000000000000000000000000;hb=53b84307929582af2aaeac2247cc57db4a7bedf4;hpb=bd32647c67dd9a4979a39efaf31bfe63c82c72d0 diff --git a/todo_templates/day.html b/todo_templates/day.html new file mode 100644 index 0000000..5c63670 --- /dev/null +++ b/todo_templates/day.html @@ -0,0 +1,80 @@ +{% extends 'base.html' %} +{% block css %} +table.alternating tr:nth-child(even) { + background-color: #f2f2f2; +} +table.alternating tr:nth-child(odd) { + background-color: #ffffff; +} +td.checkbox, td.number { height: 0.1em; padding: 0em; text-align: center; } +td.checkbox { width: 0.1em } +td button { height: 1.5em; padding: 0em; margin: 0em } +td details { display: inline } +input[type="number"] { text-align: right; } +{% endblock %} +{% block content %} +
+{% include 'tagfilters.html' %} +

+ + hide unchosen hide done +

+
+ +
+

edit day

+

+prev | {{db.selected_date}} | next | +{{ db.selected_day.todos_sum|round(2) }} ({{ db.selected_day.todos_sum2|round(2)}}) | +comment: + + +

+ + +{% for uuid, t in db.tasks.items() | sort(attribute='1.title') %} +{% if t.visible and (uuid not in db.selected_day.todos.keys() or db.selected_day.todos[uuid].visible) %} + + + +{% if uuid in db.selected_day.todos.keys() %} + + + + + + +{% else %} + + + + + +{% endif %} + +{% endif %} +{% endfor %} +
taskchoose?done?weightedit?day tagscomment
] {{ t.current_title|e }}tags: {% for tag in t.tags | sort %}{{ tag }} {% endfor %}
edit{% for tag in db.selected_day.todos[uuid].day_tags | sort %}{{ tag }} {% endfor %}{{ db.selected_day.todos[uuid].comment|e }} +
+ +
+ +{% include 'watch_form.html' %} +{% endblock %}