diff options
author | Nat Lasseter <user@4574.co.uk> | 2025-05-14 11:40:59 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2025-05-14 11:40:59 +0100 |
commit | e7ad3d213a2edc84e1d3a0679b3691395a218124 (patch) | |
tree | 21325dfa4054d0cf118d2592031a136bf952d5d1 /cgi | |
parent | 11145954986874b0539c2a7dd9ef5f0ee90a04c0 (diff) |
[toplinks] trialling new waste thing
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/home.cgi | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cgi/home.cgi b/cgi/home.cgi index 3588d54..fe0295e 100644 --- a/cgi/home.cgi +++ b/cgi/home.cgi @@ -58,11 +58,7 @@ def graphic_collection(resp) $cgi.table(class: "waste-table") { $cgi.tr { - tout = "" - (0..14).each { |i| - tout += $cgi.td(colspan: 2) { (Time.now + (i * 60*60*24)).day } - } - tout + tout += $cgi.td(colspan: 2, class: "arrow") { "⇓" } } + $cgi.tr { tout = "" @@ -79,6 +75,13 @@ def graphic_collection(resp) tout += $cgi.td(colspan: 2) { wdays[(Time.now + (i * 60*60*24)).wday] } } tout + } + + $cgi.tr { + tout = "" + (0..14).each { |i| + tout += $cgi.td(colspan: 2) { (Time.now + (i * 60*60*24)).day } + } + tout } } end |