update moderation page: note auto-discovery, bootstrap fallback
This commit is contained in:
parent
3b3e807518
commit
7ebf35b137
1 changed files with 3 additions and 0 deletions
|
|
@ -487,6 +487,7 @@ class ForumHandlers:
|
||||||
return self._respond(
|
return self._respond(
|
||||||
f"<h1>forum moderation</h1>"
|
f"<h1>forum moderation</h1>"
|
||||||
f"<p>{msg}</p>"
|
f"<p>{msg}</p>"
|
||||||
|
f"<p><em>Forum instances on the mesh are discovered and synced automatically.</em></p>"
|
||||||
f"<h2>blocked instances</h2>"
|
f"<h2>blocked instances</h2>"
|
||||||
f"{blocked_items}"
|
f"{blocked_items}"
|
||||||
f'<form method="post" action="/forum/block">'
|
f'<form method="post" action="/forum/block">'
|
||||||
|
|
@ -504,6 +505,8 @@ class ForumHandlers:
|
||||||
f"</form>"
|
f"</form>"
|
||||||
f"<h2>synced instances</h2>"
|
f"<h2>synced instances</h2>"
|
||||||
f"{synced_items}"
|
f"{synced_items}"
|
||||||
|
f"<p><small>Instances are discovered automatically via mesh announces. "
|
||||||
|
f"You can also manually add a friend's instance hash to bootstrap.</small></p>"
|
||||||
f'<form method="post" action="/forum/sync/add">'
|
f'<form method="post" action="/forum/sync/add">'
|
||||||
f'{self._csrf_field()}'
|
f'{self._csrf_field()}'
|
||||||
f'<input name="instance" placeholder="instance hash" size="40"><br><br>'
|
f'<input name="instance" placeholder="instance hash" size="40"><br><br>'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue