X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Fcalendar.html;h=1bfb88347cc4a75e27614f1c621400de003e5819;hb=13a15b95ade73f4455db648b70e1de784c515039;hp=8f0aa8e52bb598cfcdeb20bb41593feda30503a4;hpb=53b84307929582af2aaeac2247cc57db4a7bedf4;p=misc diff --git a/todo_templates/calendar.html b/todo_templates/calendar.html index 8f0aa8e..1bfb883 100644 --- a/todo_templates/calendar.html +++ b/todo_templates/calendar.html @@ -1,24 +1,27 @@ {% extends 'base.html' %} {% block css %} +tr td { background-color: white; } tr.week_row td { height: 0.1em; background-color: black; } -tr.day_row td { background-color: #f2f2f2 } +tr.day_row td { background-color: #cccccc } td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } {% endblock %} {% block content %}

-from: +from: to:

{% for date, day in days.items() | sort() %} {% if day.weekday == 'Mo' %}{% endif %} - -{% for task, todo in day.todos.items() | sort(attribute='1.title', reverse=True) %} + +{% 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 }}
{{ day.weekday }} {{ date }} |{{ '%04.1f' % day.todos_sum|round(2) }}| {{ day.comment|e }}
{% if todo.done %}✓{% 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 }}
{% 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 }}