Add html, handler and db mock
This commit is contained in:
20
html/mainpage/credits.html
Normal file
20
html/mainpage/credits.html
Normal 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
35
html/mainpage/index.html
Normal 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>
|
Reference in New Issue
Block a user