X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Fcondition.html;h=92f04eb9688c2aad9992d810778f3780fad8d542;hb=HEAD;hp=8deb71cbf4dac93d837fb3cd51c8fd3b6b4cce6d;hpb=8b606f7c555c250f0d5ab8314aa95ce7efda07c7;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 8deb71c..7142363 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -3,34 +3,29 @@ -{% block css %} -input[name="title"] { - width: 100em; -} -{% endblock %} - - - {% block content %} -

{% if is_new %}NEW {% endif %}condition

+

+{% if is_new %} +add NEW condition +{% else %} +edit condition of ID {{condition.id_}} +{% endif %} +

- +
- + - - - - - - -
title{% if condition.id_ %} [history]{% endif %}{% if condition.id_ %} [history]{% endif %}
is active
description {% if condition.id_ %} [history]{% endif %}
enables @@ -39,7 +34,6 @@ input[name="title"] { {% endfor %}
disables @@ -48,7 +42,6 @@ input[name="title"] { {% endfor %}
enabled by @@ -57,7 +50,6 @@ input[name="title"] { {% endfor %}
disabled by @@ -66,8 +58,8 @@ input[name="title"] { {% endfor %}
+ {{ macros.edit_buttons() }} {% endblock %}