Rôles, tableau de bord et tests unitaires
This commit is contained in:
parent
f508a2fcb5
commit
1799035236
51 changed files with 4350 additions and 0 deletions
30
templates/security/pending.html.twig
Normal file
30
templates/security/pending.html.twig
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
{% block title %}Pending Access - ServerControl{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="row justify-content-center mt-5">
|
||||
<div class="col-md-5 col-lg-4 text-center">
|
||||
<div class="card p-4">
|
||||
<div class="mb-3">
|
||||
<i class="bi bi-hourglass-split text-warning" style="font-size: 3rem;"></i>
|
||||
</div>
|
||||
<h4 class="mb-2">Access pending</h4>
|
||||
<p class="text-muted mb-4">
|
||||
Your account <strong>{{ app.user.email }}</strong> has been created but does not yet have access to ServerControl.
|
||||
An administrator needs to assign you the <span class="badge bg-primary">OPERATOR</span> or
|
||||
<span class="badge bg-danger">ADMIN</span> role.
|
||||
</p>
|
||||
<hr>
|
||||
<p class="text-muted small mb-3">Already been granted access? Log out and back in to refresh your session.</p>
|
||||
<div class="d-flex gap-2 justify-content-center">
|
||||
<a href="{{ path('app_logout') }}" class="btn btn-outline-secondary btn-sm">
|
||||
<i class="bi bi-arrow-repeat me-1"></i>Refresh session
|
||||
</a>
|
||||
<a href="{{ path('app_logout') }}" class="btn btn-outline-danger btn-sm">
|
||||
<i class="bi bi-box-arrow-right me-1"></i>Logout
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue