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 }}
67 add: <input name="tag" value="" size=15 >
69 add: {{ macros.tagselection(submit_name='tag', selected_tags=task.tags.now, all_tags=tags) }}
71 <summary>history</summary>
73 {% for k,v in task.tags.history.items() | sort(attribute='0', reverse=True) %}
74 <li>{{ k }}: {{ v|e }}
86 {% for parent in task.parents %}
87 <li><a href="task?id={{parent.id_}}">{{parent.title.now}}</a>
97 {% if task.subtasks %}
99 {% for subtask in task.subtasks %}
100 <tr class="lowlevel">
102 <input name="subtask" type="checkbox" value="{{subtask.id_}}" checked/>
105 <a href="task?id={{subtask.id_}}">{{subtask.title.now}}</a>
112 add: <input name="subtask" list="tasks" />
115 <datalist id="tasks">
116 {% for subtask in filtered_tasks %}
117 <option value="{{subtask.id_}}">{{subtask.title.now}}</option>
122 <input id="update_button" class="update" type="submit" name="update" value="update" />
124 <input class="delete" type="submit" name="delete" value="delete" />