X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Fcondition.html;fp=templates%2Fcondition.html;h=7142363b3f2e24b45ed2d250d2e4144bf8406ef0;hb=83c31bdf2a1b2cd1f3beadee482feb91c64759f9;hp=8deb71cbf4dac93d837fb3cd51c8fd3b6b4cce6d;hpb=214aeb0f2e29712518dc776b0713bcdbb8945a2f;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 %}