init
This commit is contained in:
31
internal/app/web/templates/audit.html
Normal file
31
internal/app/web/templates/audit.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{{define "audit.html"}}
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
{{template "partials_head" .}}
|
||||
<body>
|
||||
{{template "partials_nav" .}}
|
||||
<main class="page">
|
||||
<h1>Audit Log (letzte 200)</h1>
|
||||
{{template "partials_flash" .}}
|
||||
|
||||
<section class="card">
|
||||
<table class="table">
|
||||
<thead><tr><th>Time</th><th>Actor</th><th>IP</th><th>Action</th><th>Target</th></tr></thead>
|
||||
<tbody>
|
||||
{{range .Audit}}
|
||||
<tr>
|
||||
<td><code class="mono">{{.Time}}</code></td>
|
||||
<td>{{.Actor}}</td>
|
||||
<td><code class="mono">{{.IP}}</code></td>
|
||||
<td>{{.Action}}</td>
|
||||
<td>{{.Target}}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
{{template "partials_footer" .}}
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user