home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor Conditions GET/POST testing.
[plomtask]
/
templates
/
process.html
diff --git
a/templates/process.html
b/templates/process.html
index 4027f502cbc19e46afe42c400e0c9eb3e8a36a81..60687d8b96ef3ed9245ccb46671bb346494a6cb9 100644
(file)
--- a/
templates/process.html
+++ b/
templates/process.html
@@
-84,8
+84,8
@@
edit process of ID {{process.id_}}
<td><input name="title" type="text" value="{{process.title.newest|e}}" />{% if process.id_ %} [<a href="process_titles?id={{process.id_}}">history</a>]{% endif %}</td>
</tr>
<tr>
<td><input name="title" type="text" value="{{process.title.newest|e}}" />{% if process.id_ %} [<a href="process_titles?id={{process.id_}}">history</a>]{% endif %}</td>
</tr>
<tr>
-<th>
default
effort</th>
-<td><input
name="effort" type="number
" step=0.1 value={{process.effort.newest}} />{% if process.id_ %} [<a href="process_efforts?id={{process.id_}}">history</a>]{% endif %}</td>
+<th>effort</th>
+<td><input
type="number" name="effort
" step=0.1 value={{process.effort.newest}} />{% if process.id_ %} [<a href="process_efforts?id={{process.id_}}">history</a>]{% endif %}</td>
</tr>
<tr>
<th>description</th>
</tr>
<tr>
<th>description</th>
@@
-114,12
+114,14
@@
edit process of ID {{process.id_}}
<tr>
<th>steps</th>
<td>
<tr>
<th>steps</th>
<td>
+{% if steps %}
<table>
{% for step_id, step_node in steps.items() %}
{{ step_with_steps(step_id, step_node, 0) }}
{% endfor %}
</table>
<table>
{% for step_id, step_node in steps.items() %}
{{ step_with_steps(step_id, step_node, 0) }}
{% endfor %}
</table>
-add: <input name="new_top_step" list="process_candidates" autocomplete="off" value="{{preset_top_step or ''}}" />
+{% endif %}
+add: <input type="text" name="new_top_step" list="process_candidates" autocomplete="off" value="{{preset_top_step or ''}}" />
</td>
</tr>
<tr>
</td>
</tr>
<tr>