From f5c3294f9baf3cfeb3ceb585d6cd91e17b4ad56c Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Wed, 14 May 2025 19:21:59 +0100 Subject: [waste table] m/e arrow --- cgi/home.cgi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cgi') 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") { "⇓" } + (Time.now.hour > 12 ? $cgi.td : "") + + $cgi.td(class: "arrow") { "⇓" } } + $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" } + -- cgit v1.2.3