Add html, handler and db mock

This commit is contained in:
2020-10-08 12:43:59 +02:00
parent 41c14ff6bb
commit e2aa46c891
14 changed files with 672 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Medien Sammlung - Credits</title>
<link rel="stylesheet" type="text/css" href="/static/semantic.min.css">
</head>
<body>
{{template "navbar"}}
<div class="ui text center aligned container">
<br>
<h1 class="">Medien Sammlung <small>Version: {{ .version }}</small></h1>
<br>
<h2>Entwickler: structix</h2>
<h2>Git Repository: <a href="https://git.schoffit.net/structix/cdsammlung.git">Gitea Link</a></h2>
</div>
</body>
</html>

35
html/mainpage/index.html Normal file
View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Trikotwaschliste</title>
<link rel="stylesheet" type="text/css" href="/static/semantic.min.css">
</head>
<body>
{{template "navbar"}}
<div class="ui center">
<h1 class="">Trikotwaschliste <small>Version: {{ .version }}</small></h1>
<table class="ui celled table">
<thead>
<tr>
<th>Person</th>
<th>Datum</th>
<th>Gewaschen?</th>
</tr>
</thead>
<tbody>
{{range .items}}
<tr>
<td>{{.Person}}</td>
<td>{{.Date}}</td>
<td>{{.IsWashed}}</td>
</tr>
{{end}}
</tbody>
</table>
</div>
</body>
</html>