X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=blobdiff_plain;f=templates%2Fprocess.html;h=8a50e15d16f541974c7c494248885898cffe0095;hb=2c3365447f36c26f2f55cc2a1b42a1e3ad0a8db9;hp=85651d75795d8f7fa946601f445bf61c9c584db2;hpb=8f6b4ec61b126d6edbfda4f20d62398d92390a95;p=plomtask diff --git a/templates/process.html b/templates/process.html index 85651d7..8a50e15 100644 --- a/templates/process.html +++ b/templates/process.html @@ -1,5 +1,20 @@ {% extends 'base.html' %} +{% block css %} +input.btn-harmless { + color: green; +} +input.btn-dangerous { + color: red; +} +div.btn-to-right { + float: right; + text-align: right; +} +{% endblock %} + + + {% macro step_with_steps(step_id, step_node, indent) %} @@ -7,7 +22,6 @@ {% if step_node.is_explicit %} - {% endif %} @@ -31,13 +45,27 @@ add step: -title: -description: -default effort: -

conditions

+ + + + + + + + + + + + + + + +
title
default effort
description
conditions {% for condition in process.conditions %} @@ -51,12 +79,11 @@ default effort: add condition: - -{% for condition_candidate in condition_candidates %} - -{% endfor %} - -

enables

+ + + + +
enables {% for condition in process.enables %} @@ -70,7 +97,11 @@ add condition: add enables: -

conditions

+ + + + +
disables {% for condition in process.disables %} @@ -84,20 +115,34 @@ add enables: -

steps

+ + + + + + +
steps {% for step_id, step_node in steps.items() %} {{ step_with_steps(step_id, step_node, 0) }} {% endfor %}
add step: +
+ +{% for condition_candidate in condition_candidates %} + +{% endfor %} + {% for candidate in step_candidates %} {% endfor %} -

save

- + +
+ +

step of