X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftask.html;fp=todo_templates%2Ftask.html;h=2666d0da260cb1ea2ba1109adb8403b559678fe5;hp=7a8f981fef608cbad413a66b866ad452cbbfdc88;hb=38b9ce0ba2b5af072554999bc5836ffe455f06db;hpb=979de59ced9fe3fd3860d19288b42485d7f02346 diff --git a/todo_templates/task.html b/todo_templates/task.html index 7a8f981..2666d0d 100644 --- a/todo_templates/task.html +++ b/todo_templates/task.html @@ -1,18 +1,25 @@ {% extends 'base.html' %} {% block css %} -th { padding-right: 1em; } +tr.toplevel th { padding-right: 1em; } +tr.toplevel td, tr.toplevel th { padding-top: 1em; } +tr.lowlevel td, tr.lowlevel th { padding-top: 0em; } {% endblock %} {% block content %}

edit task

-
+ - - + + + + + + + - + - + - + - +{% if task.parents %} + + + + +{% endif %} + + + +{% for subtask in filtered_tasks %} + +{% endfor %} +
add as todo to {{ selected_date }}
title @@ -27,14 +34,14 @@ th { padding-right: 1em; }
comment - +
default effort {% if task.subtasks %} @@ -53,15 +60,13 @@ th { padding-right: 1em; }
tags -{% for tag in tags | sort %} - {{ tag }} -
-{% endfor %} -add: -
+ +add: {{ macros.tagselection(submit_name='tag', selected_tags=task.tags.now, all_tags=tags) }}
history
    @@ -73,13 +78,26 @@ add:
parents + +
children +{% if task.subtasks %} - {% for subtask in task.subtasks %} - + @@ -88,37 +106,22 @@ add: {% endfor %} - - - - - -{% for subtask in filtered_tasks %} - - - - -{% endfor %} -
---
- - -{{subtask.title.now}} -
+{% endif %} +
+add:
- -
-{% include 'tagfilters.html' %} -
-search: - + +
+ +
- -{% include 'watch_form.html' %} - {% endblock %}