{% extends 'base.html' %}
+
+
{% block css %}
#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; }
span.selected_date { font-weight: bold; }
+span.todos_sum { white-space: pre; }
{% endblock %}
+
+
{% block content %}
<h3>calendar</h3>
<form action="calendar" method="POST">
<tr class="day_row">
<td colspan=3>
<span {% if date == selected_date %}class="selected_date"{% endif %}>
-<a href="do_todos?date={{date}}&hide_unchosen=1">{{ day.weekday }} {{ date }}</a>
+<a href="day_todos?date={{date}}">{{ day.weekday }} {{ date }}</a>
</span>
-<span style="white-space: pre; ">|{{ '{:5.1f}'.format(day.todos_sum)}}|</span>
+<span class="todos_sum">|{{ '{:5.1f}'.format(day.todos_sum)}}|</span>
{{ day.comment|e }}
</td>
</tr>
<tr>
<td>
{% if "cancelled" in todo.tags %}<s>{% endif %}
-[{% if todo.done and not "cancelled" in todo.tags %}✓{% else %} {% endif %}]
+{{ macros.doneness_string(todo, true) }}
<a href="todo?id={{todo.id_}}">
{% if "deadline" in todo.tags %}DEADLINE: {% endif %}
{{ todo.title|e }}