2022-08-24 06:16:27 +00:00
|
|
|
<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()">
|
2022-08-29 20:58:19 +00:00
|
|
|
<option value="">Alle</option>
|
2022-08-24 06:16:27 +00:00
|
|
|
{{range $course := .Courses}}
|
|
|
|
<option value="{{$course.Id}}"{{if eq $course.Id $.SelectedCourse}} selected{{end}}>{{$course.Name}}</option>{{end}}
|
|
|
|
</select>
|
2022-08-31 20:49:14 +00:00
|
|
|
<input type="submit" value="Auswählen" />
|
2022-08-24 06:16:27 +00:00
|
|
|
</form>
|
|
|
|
<form method="GET" action="/getByRoom">
|
|
|
|
<label for="raum">Raum: </label>
|
|
|
|
<select name="raum" size="1" onchange="document.forms[1].submit()">
|
2022-08-29 20:58:19 +00:00
|
|
|
<option value="">Alle</option>
|
2022-08-24 06:16:27 +00:00
|
|
|
{{range $room := .Rooms}}
|
2022-08-31 20:49:14 +00:00
|
|
|
<option value="{{$room.Id}}"{{if eq $room.Id $.SelectedRoom}} selected{{end}}>{{$room.Name}}</option>{{end}}
|
2022-08-24 06:16:27 +00:00
|
|
|
</select>
|
2022-08-31 20:49:14 +00:00
|
|
|
<input type="submit" value="Auswählen" />
|
|
|
|
</form>
|
|
|
|
{{.Timetable}}
|
2022-09-05 15:55:08 +00:00
|
|
|
<footer>
|
|
|
|
<a href="/addOfficeHour">Sprechstunde anlegen</a><br />
|
2022-09-05 18:10:35 +00:00
|
|
|
<a href="/deleteOfficeHour">Sprechstunde löschen</a><br />
|
2022-09-05 15:55:08 +00:00
|
|
|
Technische Fragen an <a href="mailto:sprechstundentool@mathebau.de">sprechstundentool@mathebau.de</a>
|
|
|
|
</footer>
|
2022-08-31 20:49:14 +00:00
|
|
|
</body>
|
2022-08-24 06:16:27 +00:00
|
|
|
</html>
|