X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/edit?a=blobdiff_plain;f=todo_templates%2Fday.html;h=4f5f1fcec74db21ce5aab21cf9912e65dfa88c70;hb=fde1097e391b9ec0c261f1e91bd203232b3fbcb3;hp=5c63670824768e55b2c8bb397ef5a79cca199719;hpb=53b84307929582af2aaeac2247cc57db4a7bedf4;p=misc diff --git a/todo_templates/day.html b/todo_templates/day.html index 5c63670..4f5f1fc 100644 --- a/todo_templates/day.html +++ b/todo_templates/day.html @@ -6,6 +6,7 @@ table.alternating tr:nth-child(even) { table.alternating tr:nth-child(odd) { background-color: #ffffff; } +th.desc { background: linear-gradient(to bottom, white, grey); } td.checkbox, td.number { height: 0.1em; padding: 0em; text-align: center; } td.checkbox { width: 0.1em } td button { height: 1.5em; padding: 0em; margin: 0em } @@ -31,39 +32,48 @@ comment:
task | choose? | done? | weight | edit? | day tags | comment | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
] {{ t.current_title|e }}tags: {% for tag in t.tags | sort %}{{ tag }} {% endfor %} |
-{% if uuid in db.selected_day.todos.keys() %}
-- | - | - | edit | -{% for tag in db.selected_day.todos[uuid].day_tags | sort %}{{ tag }} {% endfor %} | -{{ db.selected_day.todos[uuid].comment|e }} | +task | +todo | +done | +effort | +importance | +edit? | day tags | +comment | ||||
] {{ row.task.current_title|e }}tags: {% for tag in row.task.tags | sort %}{{ tag }} {% endfor %} |
+{% if row.todo %}
++ | + | + | + | edit | +{% for tag in row.todo.day_tags | sort %}{{ tag }} {% endfor %} | +{{ row.todo.comment|e }} | {% else %} -- | - | + | + | + | + | + | edit | {% endif %} |