home
·
contact
·
privacy
projects
/
plomtask
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83c31bd
)
Some Day template layout improvements.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 8 Jun 2024 20:23:19 +0000
(22:23 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 8 Jun 2024 20:23:19 +0000
(22:23 +0200)
templates/day.html
patch
|
blob
|
history
diff --git
a/templates/day.html
b/templates/day.html
index c3a20aaf89fde7706ab8439e4f2877a994a58ed8..6d927fdb1c09ab1f2d1fc1e9fa48a0bfef814b20 100644
(file)
--- a/
templates/day.html
+++ b/
templates/day.html
@@
-45,11
+45,8
@@
td.left_border {
td.right_border {
border-right: 1px solid black;
}
td.right_border {
border-right: 1px solid black;
}
-input[type="text"] {
- width: 98%;
-}
-input[name="day_comment"] {
- width: 100em;
+input.ablers {
+ width: 50em;
}
{% endblock %}
}
{% endblock %}
@@
-138,12
+135,16
@@
O
<p>
comment:
<p>
comment:
-<input name="day_comment" value="{{day.comment|e}}" />
+<input name="day_comment"
type="text"
value="{{day.comment|e}}" />
<input type="submit" value="OK" /></td>
</p>
<h4>to do</h4>
<input type="submit" value="OK" /></td>
</p>
<h4>to do</h4>
+<p>
+add: <input type="text" name="new_todo" list="processes">
+</p>
+
<table>
<tr>
<table>
<tr>
@@
-181,11
+182,11
@@
comment:
{% endfor %}
{% set list_name = "todos_for_%s"|format(condition.id_) %}
{% endfor %}
{% set list_name = "todos_for_%s"|format(condition.id_) %}
-<td><input name="new_todo" list="{{list_name}}" autocomplete="off" /></td>
+<td><input
class="ablers" type="text"
name="new_todo" list="{{list_name}}" autocomplete="off" /></td>
{{ macros.datalist_of_titles(list_name, enablers_for[condition.id_]) }}
</td>
{% set list_name = "todos_against_%s"|format(condition.id_) %}
{{ macros.datalist_of_titles(list_name, enablers_for[condition.id_]) }}
</td>
{% set list_name = "todos_against_%s"|format(condition.id_) %}
-<td><input name="new_todo" list="{{list_name}}" autocomplete="off" /></td>
+<td><input
class="ablers" type="text"
name="new_todo" list="{{list_name}}" autocomplete="off" /></td>
{{ macros.datalist_of_titles(list_name, disablers_for[condition.id_]) }}
</td>
</tr>
{{ macros.datalist_of_titles(list_name, disablers_for[condition.id_]) }}
</td>
</tr>
@@
-201,18
+202,6
@@
comment:
{% endfor %}
<td colspan=2></td>
</tr>
{% endfor %}
<td colspan=2></td>
</tr>
-<tr>
-{% for condition in conditions_present %}
-<td class="cond_line_{{loop.index0 % 3}}"></td>
-{% endfor %}
-<td class="left_border"></td>
-<td>add:</td>
-<td class="right_border" ><input type="text" name="new_todo" list="processes"></td>
-{% for condition in conditions_present %}
-<td class="cond_line_{{(conditions_present|length - loop.index) % 3}}"></td>
-{% endfor %}
-<th colspan=2>comments</th>
-</tr>
{% for node in top_nodes %}
{{ show_node_undone(node, 0) }}
{% endfor %}
{% for node in top_nodes %}
{{ show_node_undone(node, 0) }}
{% endfor %}