X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;ds=inline;f=templates%2Fcondition.html;h=8deb71cbf4dac93d837fb3cd51c8fd3b6b4cce6d;hb=2f4c681e1c4d78eacc1daa5f297f06038b45912e;hp=dfdf6ef9ce376f8c231e4b33388102d6eb51d16c;hpb=34741b65438149b4e02f1e2bb4f8fdba5df5a667;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index dfdf6ef..8deb71c 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -1,10 +1,73 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} + + + +{% block css %} +input[name="title"] { + width: 100em; +} +{% endblock %} + + {% block content %} -

condition

+

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

-title: -description: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
title{% if condition.id_ %} [history]{% endif %}
is active
description{% if condition.id_ %} [history]{% endif %}
enables +{% for process in enabled_processes %} +{{process.title.newest|e}}
+{% endfor %} +
disables +{% for process in disabled_processes %} +{{process.title.newest|e}}
+{% endfor %} +
enabled by +{% for process in enabling_processes %} +{{process.title.newest|e}}
+{% endfor %} +
disabled by +{% for process in disabling_processes %} +{{process.title.newest|e}}
+{% endfor %} +
+{{ macros.edit_buttons() }} {% endblock %}