home
·
contact
·
privacy
projects
/
misc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve accounting scripts, start todo.py rewrite.
[misc]
/
todo_templates
/
todo.html
diff --git
a/todo_templates/todo.html
b/todo_templates/todo.html
index e62a09b8c02547bcfb48dabf7f1b5b73f72163f9..5c6e40b44a96e0641ac229eb4c5be2f771d644c4 100644
(file)
--- a/
todo_templates/todo.html
+++ b/
todo_templates/todo.html
@@
-68,7
+68,7
@@
tr.grey td { background-color: #cccccc; }
<h3>edit todo</h3>
<form action="todo" method="POST">
<h3>edit todo</h3>
<form action="todo" method="POST">
-<input type="hidden" name="
todo_
id" value="{{todo.id_}}" />
+<input type="hidden" name="id" value="{{todo.id_}}" />
<input type="hidden" name="importance" step=0.1 size=8 value="{{ todo.importance }}" />
<table>
<input type="hidden" name="importance" step=0.1 size=8 value="{{ todo.importance }}" />
<table>
@@
-140,14
+140,17
@@
new: {{ macros.tagselection(submit_name='tag', selected_tags=todo.day_tags, all_
</td>
</tr>
</td>
</tr>
-{% if todo.dependers %}
<tr class="toplevel">
<th>dependers</th>
<td colspan=2>
<tr class="toplevel">
<th>dependers</th>
<td colspan=2>
+{% if todo.dependers %}
<table>
{% for path in todo.shortened_depender_paths %}
<tr>
<td>
<table>
{% for path in todo.shortened_depender_paths %}
<tr>
<td>
+<input name="depender" type="checkbox" value="{{path[-1].id_}}" checked/>
+</td>
+<td>
{% if not path[0] %}[…]<br />{% endif %}
{% for step in path %}
{% if step %}
{% if not path[0] %}[…]<br />{% endif %}
{% for step in path %}
{% if step %}
@@
-157,9
+160,10
@@
new: {{ macros.tagselection(submit_name='tag', selected_tags=todo.day_tags, all_
</tr>
{% endfor %}
</table>
</tr>
{% endfor %}
</table>
+{% endif %}
+add: <input name="depender" list="todos" autocomplete="off" />
</td>
</tr>
</td>
</tr>
-{% endif %}
<tr class="toplevel">
<th>sub-todos</th>
<tr class="toplevel">
<th>sub-todos</th>