added admin control panel for making posts, with basic authentication

This commit is contained in:
rawleyIfowler
2022-03-02 10:59:56 -06:00
parent a03c75a3e2
commit 8bac0d8407
8 changed files with 109 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
{{ template "header.tmpl" . }}
{{ if .Success }}
<h2>Login was <u>successful</u>!</h2>
<p>Click <a href="/admin/post">here</a> to go to the post creation area.</p>
{{ else }}
<h2>Login was <u>not</u> successful!</h2>
<p>Click <a href="/admin/">here</a> to return to the login page to try again.</p>
{{ end }}
</body>
</html>