From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 18 May 2024 06:08:43 +0000 (+0200)
Subject: Fix broken Day template layout.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/te&quot;st.html?a=commitdiff_plain;h=6f44fcfab7927af1800107f9a2ad3ba05e0651f9;p=plomtask

Fix broken Day template layout.
---

diff --git a/templates/day.html b/templates/day.html
index ac0a64a..4c77705 100644
--- a/templates/day.html
+++ b/templates/day.html
@@ -115,7 +115,7 @@ add todo: <input name="new_todo" list="processes" autocomplete="off" />
 
 <tr>
 <th colspan={{ conditions_present|length}}>c</th>
-<th colspan=4>states</th>
+<th colspan=5>states</th>
 <th colspan={{ conditions_present|length}}>t</th>
 <th>add enabler</th>
 </tr>
@@ -136,7 +136,7 @@ add todo: <input name="new_todo" list="processes" autocomplete="off" />
 {% endfor %}
 
 <td class="cond_line_{{loop.index0 % 3}}">[{% if condition.is_active %}X{% else %}&nbsp;{% endif %}]</td>
-<td colspan=3 class="cond_line_{{loop.index0 % 3}}"><a href="condition?id={{condition.id_}}">{{condition.title.newest|e}}</a></td>
+<td colspan=4 class="cond_line_{{loop.index0 % 3}}"><a href="condition?id={{condition.id_}}">{{condition.title.newest|e}}</a></td>
 
 {% for _ in conditions_present %}
 {% if outer_loop.index0 + loop.index0 < conditions_present|length %}
@@ -156,7 +156,7 @@ add todo: <input name="new_todo" list="processes" autocomplete="off" />
 {% for condition in conditions_present %}
 <td class="cond_line_{{loop.index0 % 3}}"></td>
 {% endfor %}
-<th colspan={{ 4 }}>doables</th>
+<th colspan=5>doables</th>
 {% for condition in conditions_present %}
 <td class="cond_line_{{(conditions_present|length - loop.index) % 3}}"></td>
 {% endfor %}