27 lines
No EOL
1.1 KiB
HTML
27 lines
No EOL
1.1 KiB
HTML
<html>
|
|
<head>
|
|
<title>Sprechstunden</title>
|
|
</head>
|
|
<body>
|
|
<form method="GET" action="/getByCourse">
|
|
<label for="veranstaltung">Veranstaltung: </label>
|
|
<select name="veranstaltung" size="1" onchange="document.forms[0].submit()">
|
|
<option value="">Alle</option>
|
|
{{range $course := .Courses}}
|
|
<option value="{{$course.Id}}"{{if eq $course.Id $.SelectedCourse}} selected{{end}}>{{$course.Name}}</option>{{end}}
|
|
</select>
|
|
<input type="submit" value="Auswählen" />
|
|
</form>
|
|
<form method="GET" action="/getByRoom">
|
|
<label for="raum">Raum: </label>
|
|
<select name="raum" size="1" onchange="document.forms[1].submit()">
|
|
<option value="">Alle</option>
|
|
{{range $room := .Rooms}}
|
|
<option value="{{$room.Id}}"{{if eq $room.Id $.SelectedRoom}} selected{{end}}>{{$room.Name}}</option>{{end}}
|
|
</select>
|
|
<input type="submit" value="Auswählen" />
|
|
</form>
|
|
{{.Timetable}}
|
|
Technische Fragen an <a href="mailto:sprechstundentool@mathebau.de">sprechstundentool@mathebau.de</a>
|
|
</body>
|
|
</html> |