diff options
author | FChannel0 <77419041+FChannel0@users.noreply.github.com> | 2021-07-03 16:16:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 16:16:22 -0700 |
commit | 875ee4c53d79918ac87d1ce3e208ad27db6c0a90 (patch) | |
tree | fef9e3a94b09f356711fce887a42d405338dffb8 /static/nadmin.html | |
parent | 9bd4e03d926c045dc82ce844cb02b078843ce787 (diff) | |
parent | fc8b4d6517213a371e26938ff2c0319d5e5f459a (diff) |
Merge pull request #27 from knotteye/master
Home page improvements and news system
Diffstat (limited to 'static/nadmin.html')
-rw-r--r-- | static/nadmin.html | 8 |
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> |