X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftask.html;fp=todo_templates%2Ftask.html;h=56d0abea8d44029df030ed5c40360a361682f901;hp=0000000000000000000000000000000000000000;hb=53b84307929582af2aaeac2247cc57db4a7bedf4;hpb=bd32647c67dd9a4979a39efaf31bfe63c82c72d0 diff --git a/todo_templates/task.html b/todo_templates/task.html new file mode 100644 index 0000000..56d0abe --- /dev/null +++ b/todo_templates/task.html @@ -0,0 +1,47 @@ +{% extends 'base.html' %} +{% block css %} +th, td { vertical-align: top; text-align: left} +td.input { width: 100%; } +td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } +input[type="number"] { text-align: right; } +input[type="text"] { width: 100% } +textarea { width: 100% }; +{% endblock %} +{% block content %} +
+

edit task

+ + + + + + + + + +
title
history
    {% for k,v in task.title_history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }}{% endfor %}
default weight
history
    {% for k,v in task.default_weight_history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }}{% endfor %}
tags +{% for tag in db.t_tags | sort %} + {{ tag }}
+{% endfor %} +add:
+
history
    {% for k,v in task.tags_history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }}{% endfor %}
+
links +{% for other_task_id, other_task in db.tasks.items() | sort(attribute='1.title') %} +{% if task.id_ != other_task_id and other_task.visible and other_task_id in task.links %} + {{ other_task.title|e }}
+{% endif %} +{% endfor %} +{% for other_task_id, other_task in db.tasks.items() | sort(attribute='1.title') %} +{% if task.id_ != other_task_id and other_task.visible and not other_task_id in task.links %} + {{ other_task.title|e }}
+{% endif %} +{% endfor %} +
+ +
+
+ +{% include 'tagfilters.html' %} +
+{% include 'watch_form.html' %} +{% endblock %}