From: Christian Heller
Date: Mon, 3 Jun 2024 02:54:58 +0000 (+0200)
Subject: Minor template improvements.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/day_todos?a=commitdiff_plain;h=c64a6dcd83cd13f5cc534325feac0554cf289a81;p=plomtask
Minor template improvements.
---
diff --git a/templates/_base.html b/templates/_base.html
index 7c10506..0d2debe 100644
--- a/templates/_base.html
+++ b/templates/_base.html
@@ -23,6 +23,9 @@ td, th, tr, table {
padding: 0;
border-collapse: collapse;
}
+th, td {
+ padding-right: 1em;
+}
a {
color: black;
}
diff --git a/templates/day.html b/templates/day.html
index 0165c9e..627923b 100644
--- a/templates/day.html
+++ b/templates/day.html
@@ -37,7 +37,7 @@ td.todo_line {
height: 1.7em;
}
tr.inactive td.todo_line {
- background-color: #efefef;
+ background-color: #dddddd;
}
td.left_border {
border-left: 1px solid black;
@@ -45,8 +45,11 @@ td.left_border {
td.right_border {
border-right: 1px solid black;
}
-input {
- height: 100%;
+input[type="text"] {
+ width: 98%;
+}
+input[name="day_comment"] {
+ width: 100em;
}
{% endblock %}
@@ -82,14 +85,14 @@ 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 %} !{% endif %} |
{% endfor %}
{% if node.seen %}
{{node.todo.comment|e}}
{% else %}
-
+
{% endif %}
|
@@ -144,16 +147,19 @@ O
prev | next