X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprocess.html;h=10442cfe76bffd5e85788b82e12f184f1ff94b72;hb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;hp=85424fa6750523487098d280b2568e48ad2f4c29;hpb=8e1a5416151dbcf506f2435823362e21d85aed2d;p=plomtask diff --git a/templates/process.html b/templates/process.html index 85424fa..10442cf 100644 --- a/templates/process.html +++ b/templates/process.html @@ -1,5 +1,7 @@ {% extends 'base.html' %} + + {% macro step_with_steps(step_id, step_node, indent) %} @@ -7,7 +9,6 @@ {% if step_node.is_explicit %} - {% endif %} @@ -20,7 +21,7 @@ {% if step_node.is_explicit %} -add step: +add: {% endif %} @@ -31,13 +32,31 @@ add step: -title: -description: -default effort: -

conditions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
title
default effort
description
conditions {% for condition in process.conditions %} @@ -50,13 +69,13 @@ default effort: {% endfor %}
-add condition: - -{% for condition_candidate in condition_candidates %} - -{% endfor %} - -

enables

+add: +
enables {% for condition in process.enables %} @@ -69,8 +88,13 @@ add condition: {% endfor %}
-add enables: -

disables

+add: +
disables {% for condition in process.disables %} @@ -83,26 +107,46 @@ add enables: -

steps

+add: + + + + + + + + + + + + + +
steps -{% for step_node in steps %} +{% for step_id, step_node in steps.items() %} {{ step_with_steps(step_id, step_node, 0) }} {% endfor %}
-add step: +add: +
step of +{% for owner in owners %} +{{owner.title.newest|e}}
+{% endfor %} +
+ +{% for condition_candidate in condition_candidates %} + +{% endfor %} + {% for candidate in step_candidates %} {% endfor %} -

save

- + + +
+ +
-

step of

- {% endblock %}