Add log buffer site

This commit is contained in:
2020-10-12 00:16:23 +02:00
parent 2a1ef7f2cb
commit 866a7a8b81
8 changed files with 134 additions and 2 deletions

34
html/admin/adminlogs.html Normal file
View File

@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Trikotwaschliste - Admin</title>
<link rel="stylesheet" type="text/css" href="/static/semantic.min.css">
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head>
<body>
{{template "navbaradmin"}}
<div class="ui center">
<h1 class="">Logs Admin<small>Die letzten 50 Einträge</small></h1>
<table class="ui celled table">
<thead>
<tr>
<th>Logs</th>
</tr>
</thead>
<tbody>
{{range .items}}
<tr>
<td>
{{.}}
</td>
</tr>
{{end}}
</tbody>
</table>
</div>
</body>
</html>