X-Git-Url: https://plomlompom.com/repos/%7Broute%7D?a=blobdiff_plain;f=templates%2Fday.html;h=3b2e96a9114fb819a03b9e79d05489b4ad08cc91;hb=4c546e0133670dd10aec890c3cea6329c3a29663;hp=0fff9e049792f695230947e56afc5be3b4d40060;hpb=abef15c28141490af71a1b8a11882aaabc0d3775;p=plomtask diff --git a/templates/day.html b/templates/day.html index 0fff9e0..3b2e96a 100644 --- a/templates/day.html +++ b/templates/day.html @@ -1,10 +1,236 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} +{% import '_macros.html' as macros %} + + + +{% block css %} +td, th, tr, table { + padding: 0; + margin: 0; +} +table { + border-collapse: collapse; +} +th { + border: 1px solid black; +} +td.cond_line_0 { + border-top: 1px solid white; + background-color: #bfbfbf; +} +td.cond_line_1 { + border-top: 1px solid white; + background-color: #dfdfdf; +} +td.cond_line_2 { + border-top: 1px solid white; + background-color: #fffff; +} +td.cond_line_corner { + max-width: 0px; + white-space: nowrap; + overflow: hidden; + text-overflow: clip; +} +td.todo_line { + border-bottom: 1px solid #bfbfbf; + height: 1.7em; +} +tr.inactive td.todo_line { + background-color: #bfbfbf; +} +tr.hidden_undone td, tr.hidden_undone a { + color: #9f9f9f; +} +td.left_border { + border-left: 1px solid black; +} +td.right_border { + border-right: 1px solid black; +} +input[type="text"] { + width: 98%; +} +input[name="day_comment"] { + width: 100em; +} +{% endblock %} + + + +{% macro show_node_undone(node, indent) %} +{% if not node.todo.is_done %} +