1 {% extends 'base.html' %}
4 #filter { margin-bottom: 1em; }
5 tr.month_row td { color: white; background-color: #555555; text-align: center; }
6 tr.week_row td { height: 0.1em; background-color: black; }
7 tr.day_row td { background-color: #cccccc; }
8 span.selected_date { font-weight: bold; }
13 <form action="calendar" method="POST">
16 from: <input name="start" {% if start_date %}value="{{ start_date }}"{% endif %} placeholder="yesterday" />
17 to: <input name="end" {% if end_date %}value="{{ end_date }}"{% endif %} placeholder="2030-12-31" />
18 <input type="submit" value="OK" />
22 {% for date, day in days.items() %}
24 {% if day.month_title %}
25 <tr class="month_row">
26 <td colspan=3>{{ day.month_title }}</td>
30 {% if day.weekday == 'Mo' %}
38 <span {% if date == selected_date %}class="selected_date"{% endif %}>
39 <a href="do_todos?date={{date}}&hide_unchosen=1">{{ day.weekday }} {{ date }}</a>
41 <span style="white-space: pre; ">|{{ '{:5.1f}'.format(day.todos_sum)}}|</span>
46 {% for todo in day.linked_todos_as_list %}
50 {% if "cancelled" in todo.tags %}<s>{% endif %}
51 [{% if todo.done and not "cancelled" in todo.tags %}✓{% else %} {% endif %}]
52 <a href="todo?id={{todo.id_}}">
53 {% if "deadline" in todo.tags %}DEADLINE: {% endif %}
56 {%if "cancelled" in todo.tags%}</s>{% endif %}