diff options
author | Nat Lasseter <user@4574.co.uk> | 2025-05-14 11:39:28 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2025-05-14 11:39:28 +0100 |
commit | 4c0b2af102beb0cddc2a8aa305231e262762fa48 (patch) | |
tree | 84a0b7b61a0c0d4404dbb3994c6489b33855a72d | |
parent | 33957e2dce429af23b5ee8d9dc1ff502ddaba60d (diff) |
[toplinks] trialling new waste thing
-rw-r--r-- | cgi/home.cgi | 7 | ||||
-rw-r--r-- | static/styles.css | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/cgi/home.cgi b/cgi/home.cgi index b6cf7e7..81e04d4 100644 --- a/cgi/home.cgi +++ b/cgi/home.cgi @@ -73,7 +73,12 @@ def graphic_collection(resp) tout } + $cgi.tr { - $cgi.td(colspan: 2, class: "arrow") { "⇑" } + tout = "" + wdays = %w(Su Mo Tu We Th Fr Sa) + (0..14).each { |i| + tout += $cgi.td(colspan: 2) { wday[(Time.now + (i * 60*60*24)).wday] } + } + tout } } end diff --git a/static/styles.css b/static/styles.css index 393a107..6d696fe 100644 --- a/static/styles.css +++ b/static/styles.css @@ -86,7 +86,4 @@ table.waste-table { border-left: none; opacity: 50%; } - td.arrow { - font-size: 2em; - } } |