Add admin routes

This commit is contained in:
2021-12-02 20:36:40 +00:00
parent 4011f3cace
commit 11d20eeb66
4 changed files with 46 additions and 9 deletions

14
web/admin.html Normal file
View File

@ -0,0 +1,14 @@
{{define "title"}}
Admin
{{end}}
{{template "base" .}}
{{define "main"}}
<h1>Danger Zone</h1>
<div class="budget-item">
<button>Clear database</button>
<p>This removes all data and starts from scratch. Not undoable!</p>
</div>
{{end}}