X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftodo.html;fp=todo_templates%2Ftodo.html;h=404ac1c496e32e3fdff533ccb634b2973029a1f6;hp=beccb75e2d051d5446b9adce9018ef7b3d5f3dce;hb=979de59ced9fe3fd3860d19288b42485d7f02346;hpb=76210b693b77e67bf8160a7fb869ae416309d333 diff --git a/todo_templates/todo.html b/todo_templates/todo.html index beccb75..404ac1c 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,83 +1,157 @@ {% 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; } +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.then|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 %} + + + + +{% if not (todo.children and effort) %}{% endif %} +
+ + + +
total effort{{todo.all_days_effort}}total effort{{todo.all_days_effort}}
importance
comment
importance + +
comment + +
done {% if todo.children %}✓{% else %}{% endif %}
day tags
day tags -{% for tag in db.t_tags | sort %} -{% if tag in todo.task.tags.now %} âœ“{% else %}{% endif %} {{ tag }}
+{% for tag in tags | sort %} +{% if tag in todo.task.tags.now %} + âœ“ +{% else %} + +{% endif %} {{ tag }} +
{% endfor %} add:
parent{% if todo.parent %}{{todo.parent.title}}{% else %}–{% endif %}
children
parents - + + + + + + + + +
children + + + + {% for todo in child_todos %} - - - + + + {% endfor %} -
adoptefforttitlecomments
{% if todo.done %}✓{% endif %}{{todo.all_days_effort}}{{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 %}