X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/git-logo.png?a=blobdiff_plain;f=todo_templates%2Ftodo.html;h=88fa72b2e0ec6fc9afb0abd7b8f89b2ab7b45e70;hb=59056f396c4761f9cd7ffbc569e3ddf8994d5e83;hp=beccb75e2d051d5446b9adce9018ef7b3d5f3dce;hpb=76210b693b77e67bf8160a7fb869ae416309d333;p=misc diff --git a/todo_templates/todo.html b/todo_templates/todo.html index beccb75..88fa72b 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,83 +1,140 @@ {% 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 + +done
+(all days: {{todo.all_days_effort}})
+(dependencies: {{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.deps 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.dependers %} +
dependers +
parent{% if todo.parent %}{{todo.parent.title}}{% else %}–{% endif %}
children +{% endif %} + +
dependencies +{% if todo.deps %} -{% for todo in child_todos %} - - - - - -{% endfor %} -
{% if todo.done %}✓{% endif %}{{todo.all_days_effort}}{{todo.title}}
+{% endif %} +
+make from task:
+
+adopt (from to ):
+ + +{% for todo in filtered_todos %} +{% endfor %} + + +{% for task in filtered_tasks %} +{% endfor %} +
- -
- + +
+
{% endblock %}