add admin interface link

This commit is contained in:
simon 2021-10-25 14:41:21 +07:00
parent 1283f437c3
commit 6f58dc47cc

View File

@ -134,4 +134,14 @@
<button onclick="fsRescan()">Rescan filesystem</button>
</div>
</div>
{% if request.user.is_superuser %}
<div class="title-bar">
<h1>Users</h1>
</div>
<div class="settings-group">
<h2>User Management</h2>
<p>Access the admin interface for basic user management functionality like adding and deleting users, changing passwords and more.</p>
<a href="/admin/"><button>Admin Interface</button></a>
</div>
{% endif %}
{% endblock content %}