feat: Add ListUsers operation

This commit is contained in:
selfhoster selfhoster 2026-09-08 16:39:50 +02:00
commit dba07912d2
9 changed files with 166 additions and 28 deletions

View file

@ -2,10 +2,20 @@
{% block main %}
<main id="center">
<img src="/assets/img/logo.png" id="logo">
<p style="text-align: center;">You are logged in as {{ username }}</p>
<p style="text-align: center;">You are logged in as {{ user.username }}</p>
<div id="login-line">
<a href="/logout" id="submit-login" value="Logout">Logout</a>
</div>
{% if other_users %}
<div>
<h2>Other users you have permission to see</h2>
<ul>
{% for user in other_users %}
<li>{{ user.mail }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
</main>
{% endblock %}