home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some tests refactoring.
[plomtask]
/
templates
/
todo.html
diff --git
a/templates/todo.html
b/templates/todo.html
index 92b065734c97b22fb6ff9e2f499f9460448797b1..41a9eb1c876bafb1d2b4f485653b80a5445a947e 100644
(file)
--- a/
templates/todo.html
+++ b/
templates/todo.html
@@
-65,7
+65,8
@@
add disables: <input name="disables" list="condition_candidates" autocomplete="o
<h4>children</h4>
<ul>
{% for child in todo.children %}
<h4>children</h4>
<ul>
{% for child in todo.children %}
-<li><a href="todo?id={{child.id_}}">{{child.process.title.newest|e}}</a>
+<li><input type="checkbox" name="adopt" value="{{child.id_}}" checked />
+<a href="todo?id={{child.id_}}">{{child.process.title.newest|e}}</a>
{% endfor %}
</ul>
adopt: <input name="adopt" list="todo_candidates" autocomplete="off" />
{% endfor %}
</ul>
adopt: <input name="adopt" list="todo_candidates" autocomplete="off" />
@@
-74,6
+75,11
@@
adopt: <input name="adopt" list="todo_candidates" autocomplete="off" />
<option value="{{candidate.id_}}">{{candidate.process.title.newest|e}} ({{candidate.id_}})</option>
{% endfor %}
</datalist>
<option value="{{candidate.id_}}">{{candidate.process.title.newest|e}} ({{candidate.id_}})</option>
{% endfor %}
</datalist>
-<input type="submit" value="OK" />
+
+<input class="btn-harmless" type="submit" name="update" value="update" />
+<div class="btn-to-right">
+<input class="btn-dangerous" type="submit" name="delete" value="delete" />
+</div>
+
</form
{% endblock %}
</form
{% endblock %}