X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=templates%2Fday.html;h=59cf55b46029da9850a4e95eb0279fb3fce7e756;hb=HEAD;hp=acc9aaa7524f8ffed1dc98f34fddb02ce6278541;hpb=db62e6559fdd577dae38d4b6f5cbd5ef6a14cc57;p=plomtask diff --git a/templates/day.html b/templates/day.html index acc9aaa..59cf55b 100644 --- a/templates/day.html +++ b/templates/day.html @@ -7,20 +7,20 @@ th { border: 1px solid black; } -td.cond_line_0, td.cond_line_1, td.cond_line_2 { +td.cond_line { padding: 0; border-top: 1px solid white; } -td.cond_line_0 { +td.cond_0 { background-color: #bfbfbf; } -td.cond_line_1 { +td.cond_1 { background-color: #dfdfdf; } -td.cond_line_2 { - background-color: #fffff; +td.cond_2 { + background-color: fffff; } -td.cond_line_corner { +td.cond_shrink { max-width: 0px; white-space: nowrap; overflow: hidden; @@ -58,11 +58,15 @@ input.ablers { {% endif %} {% for condition in conditions_present %} - {% if condition in node.todo.conditions and not condition.is_active %} -O  + ++> {% elif condition in node.todo.blockers and condition.is_active %} -!  + +-> +{% else %} + +| {% endif %} {% endfor %} @@ -80,7 +84,17 @@ O  {% for condition in conditions_present|reverse %} -{% if condition in node.todo.enables %} +{% elif condition in node.todo.disables %} !{% endif %} +{% if condition in node.todo.enables %} + ++> +{% elif condition in node.todo.disables %} + +-> +{% else %} + + | +{% endif %} + {% endfor %} @@ -164,25 +178,25 @@ descendants (i.e. adopt where possible, otherwise create anew) {% for _ in conditions_present %} {% if outer_loop.index > loop.index %} - +| {% elif outer_loop.index < loop.index %} - + {% else %} -× +/ {% endif %} {% endfor %} - -{{condition.title.at(day.date)|e}} + +{{condition.title.at(day.date)|e}} {% for _ in conditions_present %} {% if outer_loop.index0 + loop.index < conditions_present|length %} - + {% elif outer_loop.index0 + loop.index > conditions_present|length %} - + | {% else %} - Ã— + \ {% endif %} {% endfor %} @@ -199,11 +213,11 @@ descendants (i.e. adopt where possible, otherwise create anew) {% for condition in conditions_present %} - +| {% endfor %} doables {% for condition in conditions_present %} - + | {% endfor %} comments