X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Ftodo.html;h=d3957af79545e5492fc8217d6977cfb91046b886;hb=2ca0045683f74254fd0e248c2567fa2efa358c08;hp=92b065734c97b22fb6ff9e2f499f9460448797b1;hpb=8f6b4ec61b126d6edbfda4f20d62398d92390a95;p=plomtask diff --git a/templates/todo.html b/templates/todo.html index 92b0657..d3957af 100644 --- a/templates/todo.html +++ b/templates/todo.html @@ -1,79 +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%} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
done
comment
conditions{{ macros.simple_checkbox_table("condition", todo.conditions, "condition", "condition_candidates") }}
enables{{ macros.simple_checkbox_table("enables", todo.enables, "condition", "condition_candidates") }}
disables{{ macros.simple_checkbox_table("disables", todo.disables, "condition", "condition_candidates") }}
parents - +{% for parent in todo.parents %} +{{parent.process.title.newest|e}}
+{% endfor %}
children -{{condition.title.newest|e}} -
+{% for child in todo.children %} + + + {% endfor %}
{{child.process.title.newest|e}}
-add disables: -

parents

- -

children

- adopt: - -{% for candidate in todo_candidates %} - -{% endfor %} - - -
+ + + +{{ macros.edit_buttons() }} + + +{{ macros.datalist_of_direct_titles("condition_candidates", condition_candidates) }} +{{ macros.datalist_of_indirect_titles("todo_candidates", todo_candidates) }} {% endblock %}