SPRA-2 add admin; add user list; add user; change permissions

This commit is contained in:
2024-07-30 11:54:52 +02:00
parent f54b6db693
commit 3d72531a48
19 changed files with 582 additions and 5 deletions
@@ -0,0 +1,19 @@
{% extends 'admin/index.html.twig' %}
{% block content %}
<div class="alert alert-success">
{% if newUser %}
<h4 class="alert-heading">
Poprawnie dodano nowego użytkownia!
</h4>
<p>
Nazwa nowego użytkownika: <strong>{{ user.username }}</strong>
</p>
<hr>
{% endif %}
<p class="mb-0">
Link do wygenerowania hasła:
<input type="text" value="{{ activationLink }}" class="form-control">
</p>
</div>
{% endblock %}