aboutsummaryrefslogtreecommitdiff
path: root/cgi/home.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/home.cgi')
-rw-r--r--cgi/home.cgi13
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