ui: nice layout #18
2 changed files with 14 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="col-md-8 offset-md-2 col-sm-10 offset-sm-1 bg-secondary bg-gradient my-3 p-3 rounded" style="--bs-bg-opacity: .3;">
|
<div class="col-md-8 offset-md-2 col-sm-10 offset-sm-1 bg-secondary bg-gradient mt-3 mb-2 p-3 rounded" style="--bs-bg-opacity: .3;">
|
||||||
<h5 class="text-center m-1">Sprechstunden für Matheveranstaltungen an der TU Darmstadt</h5>
|
<h5 class="text-center m-1">Sprechstunden für Matheveranstaltungen an der TU Darmstadt</h5>
|
||||||
<p class="text-center mb-0">
|
<p class="text-center mb-0">
|
||||||
<a href="/">Startseite</a>
|
<a href="/">Startseite</a>
|
||||||
|
@ -23,8 +23,11 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<h1 class="h3 m-1 mb-3">{{template "title" .}}</h1>
|
||||||
{{block "content" .}}Du solltest dies nicht sehen.{{end}}
|
{{block "content" .}}Du solltest dies nicht sehen.{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<div class="col-md-8 offset-md-2 col-sm-10 offset-sm-1 bg-secondary bg-gradient my-3 p-3 rounded" style="--bs-bg-opacity: .3;">
|
<div class="col-md-8 offset-md-2 col-sm-10 offset-sm-1 bg-secondary bg-gradient my-3 p-3 rounded" style="--bs-bg-opacity: .3;">
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
{{define "title"}}Übersicht{{end}}
|
{{define "title"}}
|
||||||
|
Sprechstunden
|
||||||
|
{{- range $course := .Courses -}}
|
||||||
|
{{- if eq $course.Id $.SelectedCourse}} für {{$course.Name}}{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- range $room := .Rooms -}}
|
||||||
|
{{- if eq $room.Id $.SelectedRoom}} in Raum {{$room.Name}}{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<form method="GET" action="/getByCourse">
|
<form method="GET" action="/getByCourse">
|
||||||
|
|
Loading…
Reference in a new issue