Commit e7e0cfd2 authored by Martin Mareš's avatar Martin Mareš
Browse files

Dobřichovice: Další přizpůsobování

parent dcbad8b3
......@@ -6,20 +6,16 @@
</head>
<body>
<h1>Zoom ZŠ Dobřichovice</h1>
<p id=intro>This table summarizes meetings scheduled in our Zoom accounts. Use standard Zoom interface
to create and modify reservations. Please keep in mind that there is a slight delay between Zoom
and this table. Please report all bugs to Martin Mareš.</p>
<form id=f method=GET action="?">
<label for=date>Date:</label>
<label for=date>Datum:</label>
<input id=date type=date name=date step=1 value="{{ g.date }}">
<button type=button onclick="document.getElementById('date').stepDown(); document.getElementById('f').requestSubmit()"></button>
<button type=button onclick="document.getElementById('date').stepUp(); document.getElementById('f').requestSubmit()"></button>
<select name=hours>
<option value=0{{ " selected" if g.hours==0 else "" }}>Study hours</option>
<option value=1{{ " selected" if g.hours==1 else "" }}>Working hours</option>
<option value=2{{ " selected" if g.hours==2 else "" }}>Whole day</option>
<option value=1{{ " selected" if g.hours==0 else "" }}>Školní hodiny</option>
<option value=2{{ " selected" if g.hours==1 else "" }}>Celý den</option>
</select>
<input type=submit name=submit value="Submit">
<input type=submit name=submit value="Odeslat">
</form>
<h2>Schedule for {{ g.dow }} {{ g.date }}</h2>
......
......@@ -88,10 +88,6 @@ def main_page():
g.hours = 0
if g.hours == 0:
slot_size = 100*60
first_slot = 9*3600
num_slots = 10
elif g.hours == 1:
slot_size = 3600
first_slot = 8*3600
num_slots = 16
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment