home · contact · privacy
Add foreign key restraints, expand and fix tests, add deletion and forking.
[misc] / todo_templates / base.html
index b010333d452eaea28b160467398702c0e382d9bd..1977c1fd952ca7591137865b98ea721937d5c0c8 100644 (file)
@@ -1,3 +1,4 @@
+{% import 'macros.html' as macros %}
 <style>
 body { font-family: monospace; background: white; color: black; }
 input { font-family: monospace; padding: 0em; margin: 0em; }
@@ -8,21 +9,23 @@ table.alternating tr:nth-child(odd) {
     background-color: white;
 }
 th, td { vertical-align: top; text-align: left}
+th.desc { background: linear-gradient(to bottom, white, grey); }
+th.asc { background: linear-gradient(to top, white, grey); }
 input[type="number"], td.number { text-align: right; }
 input[type="checkbox"] { height: 1.3em; width: 1.3em; }
-th.desc { background: linear-gradient(to bottom, white, grey); }
 input[type="submit"] { background-color: #cccccc; }
-button { background-color: #cccccc; }
 input[type="submit"].update { background-color: #aaffaa; }
+input[type="submit"].delete { background-color: #ff7777; }
+div.delete { float: right; }
+button { background-color: #cccccc; }
 {% block css %}
 {% endblock %}
 </style>
 <body>
-tasks: <a href="tasks">list</a> <a href="add_task">add</a> | day:
-<a href="pick_tasks">pick tasks</a>
-<a href="do_todos">do todos</a>
+tasks: <a href="tasks">review</a> / <a href="add_task">add</a>
+| <a href="day_todos">day todos</a>
 | <a href="calendar">calendar</a>
-| <a href="unset_cookie">unset cookie</a>
+| <a href="reset_cookie">reset cookie</a>
 <hr />
 {% block content %}
 {% endblock %}