X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7B%20card_id%20%7D%7D/delete?a=blobdiff_plain;f=todo_templates%2Ftodo.html;h=45ed8a88bd21e63f334d3fd950f7f4df6eb803b4;hb=38b9ce0ba2b5af072554999bc5836ffe455f06db;hp=beccb75e2d051d5446b9adce9018ef7b3d5f3dce;hpb=76210b693b77e67bf8160a7fb869ae416309d333;p=misc diff --git a/todo_templates/todo.html b/todo_templates/todo.html index beccb75..45ed8a8 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,83 +1,143 @@ {% extends 'base.html' %} + {% block css %} -th, td { vertical-align: top; text-align: left} -td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } -input[type="number"] { text-align: right; } +tr.toplevel th { padding-right: 1em; } +td.center { text-align: center; } +tr.toplevel td, tr.toplevel th { padding-top: 1em; } +tr.lowlevel td, tr.lowlevel th { padding-top: 0em; } {% endblock %} + {% block content %} -

edit todo

+ + - + - - - - + + + + + + + + + - - + + + + - - - - - + + - - + + - - - + + + +
task{{ todo.task.title.then|e }}
default effort{{ todo.default_effort }}
efforts
task +{{ todo.task.title.then|e }} +{% if todo.task.comment %} +
{{ todo.task.comment|e }}
+{% else %} +
  +{% endif %} +
work +{% if todo.children %} +[{% if todo.done %}✓{% else %} {% endif %}] +{% else %} + +{% endif %} +done
+(sum: {{todo.all_days_effort}}) +
- + + + + + {% for date, effort in todo.efforts.items() %} - - - - + + + + {% endfor %} - - - + + +
dateeffortdelete
dateeffortdelete
{% if not (todo.children and effort) %}{% endif %}
+{{date}} + + + +{% if not (todo.children and effort) %}{% endif %} +
+ + + +
total effort{{todo.all_days_effort}}
comment + +
importance
comment
done -{% if todo.children %}✓{% else %}{% endif %} + +
tags +new: +{% for tag in todo.task.tags.now | sort %}{% endfor %} +{{ macros.tagselection(submit_name='tag', selected_tags=todo.day_tags, all_tags=tags) }} +
day tags -{% for tag in db.t_tags | sort %} -{% if tag in todo.task.tags.now %} âœ“{% else %}{% endif %} {{ tag }}
+ +{% if todo.parents %} +
parents +
parent{% if todo.parent %}{{todo.parent.title}}{% else %}–{% endif %}
children +{% endif %} + +
children +{% if todo.children %} -{% for todo in child_todos %} - - - - + + -{% endfor %} -
{% if todo.done %}✓{% endif %}{{todo.all_days_effort}}{{todo.title}}
adoptedefforttitlecomments
+{% endif %} +
+make from task:
+
+adopt (from to ):
+ + +{% for todo in filtered_todos %} +{% endfor %} + + +{% for task in filtered_tasks %} +{% endfor %} +
- -
- + +
+
{% endblock %}