home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow creation of new Todos rather than just adoption from Todo edit view.
[plomtask]
/
templates
/
condition.html
diff --git
a/templates/condition.html
b/templates/condition.html
index 324c8f8a0efe9c6c05dba0307fd682807983bcdf..8deb71cbf4dac93d837fb3cd51c8fd3b6b4cce6d 100644
(file)
--- a/
templates/condition.html
+++ b/
templates/condition.html
@@
-3,8
+3,16
@@
+{% block css %}
+input[name="title"] {
+ width: 100em;
+}
+{% endblock %}
+
+
+
{% block content %}
{% block content %}
-<h3>condition</h3>
+<h3>
{% if is_new %}NEW {% endif %}
condition</h3>
<form action="condition?id={{condition.id_ or ''}}" method="POST">
<table>
<form action="condition?id={{condition.id_ or ''}}" method="POST">
<table>
@@
-27,7
+35,7
@@
<th>enables</th>
<td>
{% for process in enabled_processes %}
<th>enables</th>
<td>
{% for process in enabled_processes %}
-<a href="process?id=
process.id_
">{{process.title.newest|e}}</a><br />
+<a href="process?id=
{{process.id_}}
">{{process.title.newest|e}}</a><br />
{% endfor %}
</td>
</tr>
{% endfor %}
</td>
</tr>
@@
-36,7
+44,7
@@
<th>disables</th>
<td>
{% for process in disabled_processes %}
<th>disables</th>
<td>
{% for process in disabled_processes %}
-<a href="process?id=
process.id_
">{{process.title.newest|e}}</a><br />
+<a href="process?id=
{{process.id_}}
">{{process.title.newest|e}}</a><br />
{% endfor %}
</td>
</tr>
{% endfor %}
</td>
</tr>
@@
-45,7
+53,7
@@
<th>enabled by</th>
<td>
{% for process in enabling_processes %}
<th>enabled by</th>
<td>
{% for process in enabling_processes %}
-<a href="process?id=
process.id_
">{{process.title.newest|e}}</a><br />
+<a href="process?id=
{{process.id_}}
">{{process.title.newest|e}}</a><br />
{% endfor %}
</td>
</tr>
{% endfor %}
</td>
</tr>
@@
-54,7
+62,7
@@
<th>disabled by</th>
<td>
{% for process in disabling_processes %}
<th>disabled by</th>
<td>
{% for process in disabling_processes %}
-<a href="process?id=
process.id_
">{{process.title.newest|e}}</a><br />
+<a href="process?id=
{{process.id_}}
">{{process.title.newest|e}}</a><br />
{% endfor %}
</td>
</tr>
{% endfor %}
</td>
</tr>