diff options
author | Nat Lasseter <user@4574.co.uk> | 2025-05-14 11:30:16 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2025-05-14 11:30:16 +0100 |
commit | 706477d004afa77f015c1fe9a98f6a2027220856 (patch) | |
tree | 0c85d4ef1fc97e87aac8d62e74f3a4b2cb56d303 | |
parent | 3dc1417d9038155efc36dcf1c10ffdeef30f6d19 (diff) |
[toplinks] trialling new waste thing
-rw-r--r-- | cgi/home.cgi | 6 | ||||
-rw-r--r-- | static/styles.css | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cgi/home.cgi b/cgi/home.cgi index 655bdcb..470ada4 100644 --- a/cgi/home.cgi +++ b/cgi/home.cgi @@ -58,7 +58,11 @@ def graphic_collection(resp) $cgi.table(class: "waste-table") { $cgi.tr { - $cgi.td { "⇓" } + tout = "" + (0..14).each { |i| + tout += $cgi.td(colspan: 2) { (Time.now + (i * 60*60*24)).date } + } + tout } + $cgi.tr { tout = "" diff --git a/static/styles.css b/static/styles.css index 1e44275..6d696fe 100644 --- a/static/styles.css +++ b/static/styles.css @@ -73,8 +73,8 @@ div#quote { table.waste-table { border-collapse: collapse; td { - width: 10px; - height: 10px; + width: 15px; + height: 15px; text-align: center; } td.morning { |