aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/home.cgi13
-rw-r--r--static/styles.css3
2 files changed, 11 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
diff --git a/static/styles.css b/static/styles.css
index 6d696fe..393a107 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -86,4 +86,7 @@ table.waste-table {
border-left: none;
opacity: 50%;
}
+ td.arrow {
+ font-size: 2em;
+ }
}