X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=templates%2Fprocess.html;h=8a50e15d16f541974c7c494248885898cffe0095;hb=2c3365447f36c26f2f55cc2a1b42a1e3ad0a8db9;hp=ec06d3a4c44232032266d07a1a1d42ab924632a4;hpb=0ed3bc539d21d5536d0fc635760d88a2231587b9;p=plomtask diff --git a/templates/process.html b/templates/process.html index ec06d3a..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) %} @@ -30,13 +45,27 @@ add step: -title: -description: -default effort: -

conditions

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

enables

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

disables

+ + + + +
disables {% for condition in process.disables %} @@ -83,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