home · contact · privacy
In Day view, differentiate done and undone Todos, and collect doneness checkboxes.
[plomtask] / templates / todo.html
index 92b065734c97b22fb6ff9e2f499f9460448797b1..41a9eb1c876bafb1d2b4f485653b80a5445a947e 100644 (file)
@@ -65,7 +65,8 @@ add disables: <input name="disables" list="condition_candidates" autocomplete="o
 <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" />
@@ -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>
-<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 %}