59 lines
2.2 KiB
Twig
59 lines
2.2 KiB
Twig
{% extends '@admin/layout.twig' %}
|
|
|
|
{% block body %}
|
|
<h3 style="display:inline-block;">Tableau de bord - </h3>
|
|
<h4 style="display:inline-block;">
|
|
{% if role == '0' %} Super Admin{% endif %}
|
|
{% if role == '1' %} Admin général{% endif %}
|
|
{% if role == '2' %} Admin Antenne{% endif %}
|
|
</h4>
|
|
</h3>
|
|
<p></p>
|
|
{% if role == '0' %}
|
|
<h4>Liste des admins généraux</h4>
|
|
<ul class="list-group list-group-flush">
|
|
{% for admin_gen in liste_adminGeneral %}
|
|
<a style="color:black;" href="" title="{{ admin_gen.username }}">
|
|
<li class="liste_antennes list-group-item" style="padding: .2rem 1.25rem;">
|
|
{{ admin_gen.username }}
|
|
</li>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% if (role == '0' or role == '1') %}
|
|
<h4>Liste des admins Antenne</h4>
|
|
<ul class="list-group list-group-flush">
|
|
{% for admin_ant in liste_adminAntenne %}
|
|
<a style="color:black;" href="" title="{{ admin_ant.username }}">
|
|
<li class="liste_antennes list-group-item" style="padding: .2rem 1.25rem;">
|
|
{{ admin_ant.username }}
|
|
</li>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% if (role == '0' or role == '1' or role == '2') %}
|
|
<h4>Liste des utilisateurs</h4>
|
|
<ul class="list-group list-group-flush">
|
|
{% for user in liste_users %}
|
|
<a style="color:black;" href="" title="{{ user.username }}">
|
|
<li class="liste_antennes list-group-item" style="padding: .2rem 1.25rem;">
|
|
{{ user.username }}
|
|
</li>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<p></p>
|
|
{% if (role == '0' or role == '1') %}
|
|
<h4>Gestion d'une antenne</h4>
|
|
{% endif %}
|
|
<p></p>
|
|
{% if (role == '0' or role == '1' or role == '2') %}
|
|
<h4>Gestion d'un G-Marché</h4>
|
|
{% endif %}
|
|
<div class="row">
|
|
{{ widgets | raw }}
|
|
</div>
|
|
{% endblock %} |