Add note about restricted mode on index page

This commit is contained in:
asonix 2022-11-02 14:16:32 -05:00
parent a2bd41a00f
commit 6125e5e63a

View file

@ -8,12 +8,14 @@
<!doctype html>
<html>
<head lang="en">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>@config.hostname() | ActivityPub Relay</title>
<link rel="stylesheet" href="/static/@index_css.name" type="text/css" />
</head>
<body>
<header>
<div class="header-text">
@ -47,6 +49,15 @@
<section>
<h3>Joining</h3>
<article class="joining">
@if config.restricted_mode() {
<h4>
This relay is Restricted
</h4>
<p>
This relay is currently in Restricted Mode, which means servers need to be approved ahead of time by the relay
administrator. Please contact the admin before attempting to join.
</p>
}
<p>
If you are the admin of a server that supports activitypub relays, you can add
this relay to your server.
@ -78,4 +89,5 @@
</p>
</footer>
</body>
</html>