aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorFChannel <>2022-06-13 22:23:36 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commitcb9a6cf7fcf379202f2ccfc4776daf4dd1d35b9d (patch)
tree327795adf7020993b1356961cf5ba869fbb99d02 /views
parent5cff4d3740eb8b9f67de9713124e84109d04cff8 (diff)
admin update board summary form
Diffstat (limited to 'views')
-rw-r--r--views/manage.html7
-rw-r--r--views/partials/footer.html2
2 files changed, 7 insertions, 2 deletions
diff --git a/views/manage.html b/views/manage.html
index 7db9d01..315d472 100644
--- a/views/manage.html
+++ b/views/manage.html
@@ -1,6 +1,11 @@
<div style="text-align: center; margin: 0 auto; width: 400px;">
<h1>Manage /{{ .page.Board.Name }}/</h1>
- <!-- <div><a href="/{{ .Key }}/deleteboard?name={{ .Board.Name }}">[Delete Board]</a></div> -->
+ <form id="summary-form" action="/{{ .page.Key }}/{{ .page.Board.Name }}/editsummary" method="post" enctype="application/x-www-form-urlencoded" style="margin-top: 5px;">
+ <input id="summary" name="summary" style="margin-bottom: 5px;" size="35" placeholder="{{ .page.Board.Actor.Summary }}"></input>
+ <input type="submit" value="Update Summary"><br>
+ <input type="hidden" name="actor" value="{{ .page.Board.Actor.Id }}">
+ </form>
+ <!-- <div><a href="/{{ .Key }}/deleteboard?name={{ .Board.Name }}">[Delete Board]</a></div> -->
<ul style="display: inline-block; padding: 0;">
{{ if .page.IsLocal }}
<li style="display: inline-block;">[<a href="#following"> Subscribed </a>]</li>
diff --git a/views/partials/footer.html b/views/partials/footer.html
index efbde4f..2253039 100644
--- a/views/partials/footer.html
+++ b/views/partials/footer.html
@@ -1,4 +1,4 @@
-<div align="center" style="width: 500px; margin:0 auto; margin-top: 50px;">
+<div align="center" style="max-width: 500px; margin:0 auto; margin-top: 50px;">
[<a href="/">Home</a>] [<a href="/static/rules.html">Rules</a>] [<a href="/static/faq.html">FAQ</a>]
<p>All trademarks and copyrights on this page are owned by their respective parties.</p>
</div>