aboutsummaryrefslogtreecommitdiff
path: root/cgi/home.cgi
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2025-05-14 19:21:59 +0100
committerNat Lasseter <user@4574.co.uk>2025-05-14 19:21:59 +0100
commitf5c3294f9baf3cfeb3ceb585d6cd91e17b4ad56c (patch)
treec12c48db899963b8599fdd9d6d6ec03fdd731755 /cgi/home.cgi
parent0514bcb8d3ec28e54c2b5331e474524a5e3a5698 (diff)
[waste table] m/e arrow
Diffstat (limited to 'cgi/home.cgi')
-rw-r--r--cgi/home.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/cgi/home.cgi b/cgi/home.cgi
index 14b6be7..f5ad153 100644
--- a/cgi/home.cgi
+++ b/cgi/home.cgi
@@ -44,7 +44,7 @@ def words_collection(resp)
tout += $cgi.br
out += tout
}
- out
+ $cgi.p { out }
end
def graphic_collection(resp)
@@ -58,7 +58,8 @@ def graphic_collection(resp)
$cgi.table(class: "waste-table") {
$cgi.tr {
- $cgi.td(colspan: 2, class: "arrow") { "&#x21d3;" }
+ (Time.now.hour > 12 ? $cgi.td : "") +
+ $cgi.td(class: "arrow") { "&#x21d3;" }
} +
$cgi.tr {
tout = ""
@@ -90,7 +91,7 @@ $page =
$cgi.div { $cgi.h1 { "Welcome!" } } +
$cgi.div {
$cgi.h2 { "Our Next Bin Collections" } +
- $cgi.p { next_collection }
+ next_collection
} +
$cgi.div {
$cgi.h2 { "Speak Gently Over the Telephone" } +