1 {% extends 'base.html' %}
3 th, td { vertical-align: top; text-align: left}
4 td.input { width: 100%; }
5 td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; }
6 input[type="number"] { text-align: right; }
7 input[type="text"] { width: 100% }
8 textarea { width: 100% };
11 <form action="{{action|e}}" method="POST">
13 <input type="hidden" name="task_uuid" value="{{ todo.task.id_ }}" />
14 <input type="hidden" name="date" value="{{ todo.day.date }}" />
16 <tr><th>task</th><td><a href="{{db.prefix}}/task?id={{ todo.task.id_ }}">{{ todo.task.title|e }}</a></td></tr>
17 <tr><th>default effort</th><td>{{ todo.default_effort }}</td></tr>
18 <tr><th>day</th><td>{{ todo.day.date }}</td></tr>
19 <tr><th>day effort</th><td class="input"><input type="number" name="day_effort" step=0.1 size=8 value="{{ todo.day_effort }}" /></td></tr>
20 <tr><th>importance</th><td class="input"><input type="number" name="importance" step=0.1 size=8 value="{{ todo.importance }}" /></td></tr>
21 <tr><th>comment</th><td class="input"><textarea name="comment">{{todo.comment|e}}</textarea></td></tr>
22 <tr><th>done</th><td class="input"><input type="checkbox" name="done" {% if todo.done %}checked{% endif %}/></td></tr>
25 {% for tag in db.t_tags | sort %}
26 {% if tag in todo.task.tags %} ✓{% else %}<input type="checkbox" name="day_tag_{{tag|e}}"{% if tag in todo.day_tags %} checked{% endif %}/>{% endif %} {{ tag }}<br />
28 add: <input name="joined_day_tags" type="text" value="" >
32 <input type="submit" value="update" />