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

@@ -3,7 +3,7 @@
<form action="/admin/post" method="POST">
<input type="text" placeholder="url" name="url" />
<input type="text" placeholder="title" name="title" />
<textarea placeholder="post" name="content" />
<textarea placeholder="post" name="content"></textarea>
<button type="submit">Make post</button>
<button type="clear">Clear form</button>
</form>