Add persons tab

This commit is contained in:
2020-10-09 17:03:30 +02:00
parent aea74bef27
commit 6e51533596
6 changed files with 125 additions and 1 deletions

34
html/persons/persons.html Normal file
View File

@@ -0,0 +1,34 @@
<!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</h1>
<table class="ui celled table">
<thead>
<tr>
<th>Person</th>
<th>Waschgänge</th>
</tr>
</thead>
<tbody>
{{ $items := .items}}
{{range $item := $items}}
<tr>
<td>{{$item.Name}}</td>
<td>{{$item.Count}}</td>
</tr>
{{end}}
</tbody>
</table>
</div>
</body>
</html>