From 3ce298879a9661ed77246db413bcc6bd834c3ab5 Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Sun, 22 Mar 2020 01:57:33 +0100 Subject: [PATCH] App: Fixes --- app/templates/main.html | 7 +++++-- app/zoom.py | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/templates/main.html b/app/templates/main.html index 2224213..51f513b 100644 --- a/app/templates/main.html +++ b/app/templates/main.html @@ -4,10 +4,10 @@ <style> #heading { position: relative; + height: 2.5ex; } #schedule { position: relative; - top: 2.5ex; } .room { border: 1px solid green; @@ -18,13 +18,16 @@ .roomhead p { text-align: center; font-weight: bold; - margin-top: 0; + margin: 0; } .meeting { border: 1px solid blue; font-size: smaller; background-color: #ccccff; } + .meeting:hover { + background-color: #aaaaff; + } </style> </head> diff --git a/app/zoom.py b/app/zoom.py index c157106..2c471e0 100644 --- a/app/zoom.py +++ b/app/zoom.py @@ -63,6 +63,7 @@ rooms = [ def main_page(): dt = get_date() date = time.strftime("%Y-%m-%d", dt) + # FIXME: Broken time zones!!! t = time.mktime(dt) g.date = date g.dow = time.strftime("%A", dt) -- GitLab