aboutsummaryrefslogtreecommitdiff
path: root/static/nadmin.html
diff options
context:
space:
mode:
authorknotteye <knotteye@airmail.cc>2021-07-01 17:56:04 -0500
committerknotteye <knotteye@airmail.cc>2021-07-01 17:56:04 -0500
commit4e3848cadbb3fd89b94a7ef24838173939d198db (patch)
tree06ea5434986b2b9c00e392a7d44b93d7eae23668 /static/nadmin.html
parent638a03b458b71564b1db439e6386d7dbf2a5181c (diff)
Add a list of local boards and server news
Diffstat (limited to 'static/nadmin.html')
-rw-r--r--static/nadmin.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/nadmin.html b/static/nadmin.html
index 984eb76..877e1e5 100644
--- a/static/nadmin.html
+++ b/static/nadmin.html
@@ -17,6 +17,14 @@
<option value="False">False</option>
</select>
</form>
+
+ <h3>Post News</h3>
+ <form id="news" action="/{{ .Key }}/postnews" method="post" enctype="application/x-www-form-urlencoded">
+ <label>Title:</label><br>
+ <input type="text" name="title" placeholder="{{.Actor}} was created!" required><input type="submit" value="Post"><br>
+ <label>Content:</label><br>
+ <textarea name="summary" rows="8" cols="50"></textarea><br>
+ </form>
<ul style="display: inline-block; padding: 0;">
<li style="display: inline-block;"><a href="#following">Subscribed</a></li>