From 4c0b2af102beb0cddc2a8aa305231e262762fa48 Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Wed, 14 May 2025 11:39:28 +0100 Subject: [toplinks] trialling new waste thing --- cgi/home.cgi | 7 ++++++- 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; - } } -- cgit v1.2.3