Implement system status panel

This offers system metrics and a way to send a broadcast
message to all online or registered users.

Requires prosody-modules cade5dac1003.
This commit is contained in:
Jonas Schäfer
2021-05-27 15:01:16 +02:00
parent 13b2a76c3d
commit 8a293985ca
8 changed files with 488 additions and 60 deletions

View File

@@ -31,6 +31,14 @@
<div>{% call standard_button("link", url_for(".invitations"), class="primary") %}{% trans %}Manage invitations{% endtrans %}{% endcall %}</div>
{#- -#}
</li>
<li>
<h2>{% trans %}System health{% endtrans %}</h2>
{#- -#}
<p>{% trans %}View the server status or send a broadcast message to all users.{% endtrans %}</p>
{#- -#}
<div>{% call standard_button("insights", url_for(".system"), class="primary") %}{% trans %}Manage system{% endtrans %}{% endcall %}</div>
{#- -#}
</li>
<li>
{#- -#}
<p>{% trans %}Go back to your user's web portal page.{% endtrans %}</p>