Skip to content
Snippets Groups Projects
Commit 3ce29887 authored by Martin Mareš's avatar Martin Mareš
Browse files

App: Fixes

parent d9c51eb9
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<style> <style>
#heading { #heading {
position: relative; position: relative;
height: 2.5ex;
} }
#schedule { #schedule {
position: relative; position: relative;
top: 2.5ex;
} }
.room { .room {
border: 1px solid green; border: 1px solid green;
...@@ -18,13 +18,16 @@ ...@@ -18,13 +18,16 @@
.roomhead p { .roomhead p {
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
margin-top: 0; margin: 0;
} }
.meeting { .meeting {
border: 1px solid blue; border: 1px solid blue;
font-size: smaller; font-size: smaller;
background-color: #ccccff; background-color: #ccccff;
} }
.meeting:hover {
background-color: #aaaaff;
}
</style> </style>
</head> </head>
......
...@@ -63,6 +63,7 @@ rooms = [ ...@@ -63,6 +63,7 @@ rooms = [
def main_page(): def main_page():
dt = get_date() dt = get_date()
date = time.strftime("%Y-%m-%d", dt) date = time.strftime("%Y-%m-%d", dt)
# FIXME: Broken time zones!!!
t = time.mktime(dt) t = time.mktime(dt)
g.date = date g.date = date
g.dow = time.strftime("%A", dt) g.dow = time.strftime("%A", dt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment