home · contact · privacy
Improve accounting scripts, start todo.py rewrite.
[misc] / new_todo / html / calendar.html
diff --git a/new_todo/html/calendar.html b/new_todo/html/calendar.html
new file mode 100644 (file)
index 0000000..7e6ea58
--- /dev/null
@@ -0,0 +1,14 @@
+{% extends 'base.html' %}
+
+{% block content %}
+<form action="/calendar" method="GET">
+range: <input name="from" value="{{from_|e}}" />
+to <input name="to" value="{{to|e}}" />
+<input type="submit" value="OK" />
+</form>
+<ul>
+{% for day in days %}
+<li><a href="day?id={{day.date|e}}">{{day.weekday|e|truncate(length=2,leeway=0,killwords=true,end='')}} {{day.date|e}}</a> {{day.comment|e}}
+{% endfor %}
+</ul>
+{% endblock %}