X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Ftodo.html;h=efaabdd2a4de4f6aba490e1fe77b618782434104;hb=6f44fcfab7927af1800107f9a2ad3ba05e0651f9;hp=41a9eb1c876bafb1d2b4f485653b80a5445a947e;hpb=a99b13325a21042825450d2497ddf61f8c5c3644;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 41a9eb1..efaabdd 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,85 +1,76 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} + + {% block content %}

Todo: {{todo.process.title.newest|e}}

-

-id: {{todo.id_}}
-day: {{todo.date}}
-process: {{todo.process.title.newest|e}}
-done:
-

-

conditions

-{% for condition in todo.conditions %} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -day{{todo.date}}
-add condition: - -{% for condition_candidate in condition_candidates %} - -{% endfor %} - -

enables

- -{% for condition in todo.enables %} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -process{{todo.process.title.newest|e}}
-add enables: -

disables

- -{% for condition in todo.disables%} + - - + + -{% endfor %} -
- - -{{condition.title.newest|e}} -done
-add disables: -

parents

- -

children

- -adopt: - -{% for candidate in todo_candidates %} - +{{parent.process.title.newest|e}}
{% endfor %} -
+ + + + +children +{{ macros.simple_checkbox_table("adopt", todo.children, "adopt", "todo_candidates", "adopt") }} + - -
- -
+ +{{ macros.edit_buttons() }} +
-