X-Git-Url: https://plomlompom.com/repos/condition_titles?a=blobdiff_plain;f=todo_templates%2Ftodo.html;h=45ed8a88bd21e63f334d3fd950f7f4df6eb803b4;hb=38b9ce0ba2b5af072554999bc5836ffe455f06db;hp=09aaf452bb260db264624f58b8460113b43695ad;hpb=13a15b95ade73f4455db648b70e1de784c515039;p=misc diff --git a/todo_templates/todo.html b/todo_templates/todo.html index 09aaf45..45ed8a8 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,54 +1,143 @@ {% extends 'base.html' %} + {% block css %} -th, td { vertical-align: top; text-align: left} -td.input { width: 100%; } -td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } -input[type="number"] { text-align: right; } -input[type="text"] { width: 100% } -textarea { width: 100% }; +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

+ + - + - - - - + + + + + + + + + - - - - - + + + + + + + + + +{% if todo.parents %} + + + + +{% endif %} + + + + +
task{{ todo.task.title|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
+
+{{date}} + + + +{% if not (todo.children and effort) %}{% endif %} +
+ + + +
importance
comment
done
day tags -{% for tag in db.t_tags | sort %} -{% if tag in todo.task.tags %} âœ“{% else %}{% endif %} {{ tag }}
+ +
comment + +
tags +new: +{% for tag in todo.task.tags.now | sort %}{% endfor %} +{{ macros.tagselection(submit_name='tag', selected_tags=todo.day_tags, all_tags=tags) }} +
+
parents + +
children +{% if todo.children %} + + + + +{% for todo in child_todos %} + + + + + + +{% endfor %} +
adoptedefforttitlecomments
{{ '{:2.1f}'.format(todo.all_days_effort) }} {% if todo.done %}✓{% else %} {% endif %}{{todo.day.date}} {{todo.title}}{{todo.comment}}
+{% endif %} +
+make from task:
+
+adopt (from to ):
+ + +{% for todo in filtered_todos %} +{% endfor %} + + +{% for task in filtered_tasks %} {% endfor %} -add: +
- -
- + +
+
{% endblock %}