X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=todo_templates%2Ftodo.html;h=404ac1c496e32e3fdff533ccb634b2973029a1f6;hb=979de59ced9fe3fd3860d19288b42485d7f02346;hp=09aaf452bb260db264624f58b8460113b43695ad;hpb=13a15b95ade73f4455db648b70e1de784c515039;p=misc diff --git a/todo_templates/todo.html b/todo_templates/todo.html index 09aaf45..404ac1c 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,54 +1,157 @@ {% 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% }; +th.toplevel { padding-right: 1em; } +input[type="submit"].delete { background-color: #ff7777; } +div.delete { float: right; } +td.center { text-align: center; } {% endblock %} + {% block content %} -

edit todo

+ + - - + - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
task{{ todo.task.title|e }}
default effort{{ todo.default_effort }}
effortstask{{ todo.task.title.then|e }}
default effort{{ todo.default_effort }}
efforts - + {% for date, effort in todo.efforts.items() %} - - - + + {% endfor %} - - + +
dateeffortdelete
dateeffortdelete
+ + + + + +{% if not (todo.children and effort) %}{% endif %} +
+ + + +
importance
comment
done
day tags
total effort{{todo.all_days_effort}}
importance + +
comment + +
done +{% if todo.children %}✓{% else %}{% endif %} +
day tags +{% for tag in tags | sort %} +{% if tag in todo.task.tags.now %} + âœ“ +{% else %} + +{% endif %} {{ tag }} +
+{% endfor %} +add: +
parents -{% for tag in db.t_tags | sort %} -{% if tag in todo.task.tags %} âœ“{% else %}{% endif %} {{ tag }}
+ +
children + + + + +{% for todo in child_todos %} + + + + + +{% endfor %} + + + +{% for todo in filtered_todos %} + + + + + +{% endfor %} +
adoptefforttitlecomments
{{ '{:2.1f}'.format(todo.all_days_effort) }} {% if todo.done %}✓{% else %} {% endif %}{{todo.day.date}} {{todo.title}}
--------
{{ '{:2.1f}'.format(todo.all_days_effort) }} {% if todo.done %}✓{% else %} {% endif %}{{todo.day.date}} {{todo.title}}
- -
- + +
+
+ +
+{% include 'tagfilters.html' %} +
+from: +to: +search: + + +{% include 'watch_form.html' %} + {% endblock %}