X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=todo_templates%2Ftodo.html;h=404ac1c496e32e3fdff533ccb634b2973029a1f6;hb=979de59ced9fe3fd3860d19288b42485d7f02346;hp=af48a478186816d3857538ff19ff3f5a0c674e83;hpb=fde1097e391b9ec0c261f1e91bd203232b3fbcb3;p=misc diff --git a/todo_templates/todo.html b/todo_templates/todo.html index af48a47..404ac1c 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,35 +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 }}
day{{ todo.day.date }}
day effort
importance
comment
done
day tags -{% for tag in db.t_tags | sort %} -{% if tag in todo.task.tags %} âœ“{% else %}{% endif %} {{ tag }}
+ +
task{{ todo.task.title.then|e }}
default effort{{ todo.default_effort }}
efforts + + +{% for date, effort in todo.efforts.items() %} + + + + + +{% endfor %} + + + + +
dateeffortdelete
+ + + + +{% if not (todo.children and effort) %}{% endif %} +
+ + + +
+
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 + +
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 %}