1 {% extends 'base.html' %}
4 tr.toplevel th { padding-right: 1em; }
5 tr.toplevel td, tr.toplevel th { padding-top: 1em; }
6 tr.lowlevel td, tr.lowlevel th { padding-top: 0em; }
12 <form action="task" method="POST">
13 <input type="hidden" name="task_id" value="{{ task.id_ }}" />
18 <td><input name="add_as_todo" type="checkbox" /> to {{ selected_date }}</td>
19 <input name="selected_date" type="hidden" value="{{ selected_date }}" />
25 <input name="title" type="text" value="{{ task.title.now|e }}" size=100 />
27 <summary>history</summary>
29 {% for k,v in task.title.history.items() | sort(attribute='0', reverse=True) %}
30 <li>{{ k }}: {{ v|e }}
40 <textarea name="comment" cols=100 rows=5>{{task.comment|e}}</textarea>
45 <th>default effort</th>
47 {% if task.subtasks %}
48 {{ task.default_effort.now }}
50 <input type="number" name="default_effort" value="{{ task.default_effort.now }}" step=0.1 size=8 required />
52 <summary>history</summary>
54 {% for k,v in task.default_effort.history.items() | sort(attribute='0', reverse=True) %}
55 <li>{{ k }}: {{ v|e }}
66 add: {{ macros.tagselection(submit_name='tag', selected_tags=task.tags.now, all_tags=tags) }}
68 <summary>history</summary>
70 {% for k,v in task.tags.history.items() | sort(attribute='0', reverse=True) %}
71 <li>{{ k }}: {{ v|e }}
83 {% for parent in task.parents %}
84 <li><a href="task?id={{parent.id_}}">{{parent.title.now}}</a>
94 {% if task.subtasks %}
96 {% for subtask in task.subtasks %}
99 <input name="subtask" type="checkbox" value="{{subtask.id_}}" checked/>
102 <a href="task?id={{subtask.id_}}">{{subtask.title.now}}</a>
109 add: <input name="subtask" list="tasks" />
112 <datalist id="tasks">
113 {% for subtask in filtered_tasks %}
114 <option value="{{subtask.id_}}">{{subtask.title.now}}</option>
119 <input id="update_button" class="update" type="submit" name="update" value="update" />
121 <input class="delete" type="submit" name="delete" value="delete" />