diff options
Diffstat (limited to 'cgi/home.cgi')
-rw-r--r-- | cgi/home.cgi | 7 |
1 files changed, 6 insertions, 1 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 |