mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-28 12:21:56 +01:00
feat: admin status, first user is admin, site settings
This commit is contained in:
13
templates/auth/admin_panel.html
Normal file
13
templates/auth/admin_panel.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends 'body_base.html' %}
|
||||
{% block main %}
|
||||
<main class="container justify-center flex-grow flex mx-auto mt-4 p-5">
|
||||
Hello
|
||||
{% if user.admin %}
|
||||
admin
|
||||
{% else %}
|
||||
user
|
||||
{% endif %}
|
||||
|
||||
{{settings}}
|
||||
</main>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user