X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Fcalendar.html;h=59dd5c57bf58654d9f7f4ce9410fa5b8ee0c518f;hb=HEAD;hp=18399d78488e3a2dc00ca491adb6fdc984313e81;hpb=0c688dfc7b5732676428187a09491c4f5c1028c1;p=misc diff --git a/todo_templates/calendar.html b/todo_templates/calendar.html index 18399d7..59dd5c5 100644 --- a/todo_templates/calendar.html +++ b/todo_templates/calendar.html @@ -1,30 +1,79 @@ {% extends 'base.html' %} + + + {% block css %} -tr td { background-color: white; } +#filter { margin-bottom: 1em; } +tr.month_row td { color: white; background-color: #555555; text-align: center; } tr.week_row td { height: 0.1em; background-color: black; } -tr.day_row td { background-color: #cccccc } -td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } +tr.day_row td { background-color: #cccccc; } +span.selected_date { font-weight: bold; } +span.todos_sum { white-space: pre; } {% endblock %} + + + {% block content %} -
-

+

calendar

+ + +
from: to: -

+
+ -{% for date, day in days.items() | sort() %} -{% if day.weekday == 'Mo' %}{% endif %} - -{% for todo in day.linked_todos_as_list %} +{% for date, day in days.items() %} -{% if todo.visible %} - +{% if day.month_title %} + + + {% endif %} +{% if day.weekday == 'Mo' %} + + + +{% endif %} + + + + + +{% for todo in day.linked_todos_as_list %} +{% if todo.visible %} + + + + +{% endif %} {% endfor %} + {% endfor %}
{{ day.weekday }} {{ date }} |{{ '%04.1f' % day.todos_sum|round(2) }}| {{ day.comment|e }}
{% if todo.done and not "cancelled" in todo.tags%}✓{% else %}  {% endif %}{% if "cancelled" in todo.tags %}{% endif %}{% if "deadline" in todo.tags %}DEADLINE: {% endif %}{{ todo.title|e }}{%if "cancelled" in todo.tags%}{% endif %}{{ todo.comment|e }}
{{ day.month_title }}
+ +{{ day.weekday }} {{ date }} + +|{{ '{:5.1f}'.format(day.todos_sum)}}| +{{ day.comment|e }} +
+{% if "cancelled" in todo.tags %}{% endif %} +{{ macros.doneness_string(todo, true) }} + +{% if "deadline" in todo.tags %}DEADLINE: {% endif %} +{{ todo.title|e }} + +{%if "cancelled" in todo.tags%}{% endif %} + +{{ todo.comment|e }} +
+ +

+exportable +

+
{% endblock %}