X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=todo_templates%2Fpick_tasks.html;h=28919df2fa48ecbea98cff4caafa1c9d844d130f;hb=38b9ce0ba2b5af072554999bc5836ffe455f06db;hp=ea1b324c3c76af56642842a5b3adaa6b819a3d2b;hpb=76210b693b77e67bf8160a7fb869ae416309d333;p=misc diff --git a/todo_templates/pick_tasks.html b/todo_templates/pick_tasks.html index ea1b324..28919df 100644 --- a/todo_templates/pick_tasks.html +++ b/todo_templates/pick_tasks.html @@ -1,75 +1,116 @@ {% extends 'base.html' %} + {% block css %} -td.number { text-align: right; } -table.alternating tr:nth-child(even) { - background-color: #cccccc; -} -table.alternating tr:nth-child(odd) { - background-color: #ffffff; -} -th { text-align: left; background-color: white; border: 1px solid black; } -th.desc { background: linear-gradient(to bottom, white, grey); } +#pick_upper, #pick_lower { margin-right: 1em; } {% endblock %} -{% block content %} -
-{% include 'tagfilters.html' %} -
- hide chosen tasks
-search: - -
+{% block content %}

pick todos for day

-

prev | {{day.date}} | next | {{day.comment}}

-
+ + + +

+prev | {{day.date}} | next | {{day.comment}} +

+ - - + + +
+ + + + + +{% for task in all_tasks %} + +{% endfor %} + + - - + + + {% for todo in chosen_todos %} - - +{% if todo.day_effort %}{{todo.day_effort}} {% else %}({{todo.default_effort}}){% endif %}{% if todo.done and not "cancelled" in todo.contemporary_tags%}✓{% else %} {% endif %} + + + {% endfor %} + + {% for todo in relevant_todos %} - - - + + + {% endfor %} + + -{% for task in tasks %} + + +{% for task in filtered_tasks %} - - - + + + {% endfor %} +
task quick-add:
doeffortwhat +effort + +what + comment
-{% if todo.day_effort %}{{todo.day_effort}} {% else %}({{todo.default_effort}}){% endif %}{% if todo.done and not "cancelled" in todo.contemporary_tags%}✓{% else %} {% endif %}{% if "cancelled" in todo.contemporary_tags %}{% endif %}{% if "deadline" in todo.contemporary_tags %}DEADLINE: {% endif %}{{todo.path|e}}{{todo.title|e}}{%if "cancelled" in todo.contemporary_tags%}{% endif %}{{todo.comment|e}} + +{% if "cancelled" in todo.tags.now %}{% endif %} +{{todo.path|e}}{{todo.title|e}} +{%if "cancelled" in todo.tags.now %}{% endif %} + + +{{todo.comment|e}} +
earlier todos to continue
{{todo.all_days_effort}}/{{todo.default_effort}}{{todo.day.date}} {{todo.task.title.then|e}}{{todo.comment|e}} +{{todo.all_days_effort}}/{{todo.default_effort}} + +{{todo.dated_title|e}} + +{{todo.comment|e}} +
tasks
({{task.default_effort.then}}) {{ task.title.then|e }}{{task.comment|e}} +({{task.default_effort.then}})  + +{{ task.title.then|e }} + +{{task.comment|e}} +
- - + +
+{% include 'tagfilters.html' %} +
+ hide chosen tasks
+search: +
+ {% include 'watch_form.html' %} {% endblock %} -