set password reset
This commit is contained in:
@@ -19,16 +19,25 @@
|
||||
</a>
|
||||
<!-- Liens de navigation -->
|
||||
<div class="relative">
|
||||
<button style="height:64px; width: 64px;" id="menu-button" class="p-2 pr-4 text-gray-700 font-bold hover:text-blue-500 focus:outline-none">
|
||||
<img alt="burger-menu" src="{{ asset('img/burger-menu.svg') }}">
|
||||
</button>
|
||||
{% if app.user %}
|
||||
<div id="menu-button" class="w-full flex justify-center">
|
||||
<div class="relative">
|
||||
<img src="{{ profile.fileName ? asset('upload/image/profile/' ~ profile.fileName) : asset('upload/image/profile/default.png') }}"
|
||||
class="w-16 h-16 rounded-full mr-4" />
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<button style="height:64px; width: 64px;" id="menu-button" class="p-2 pr-4 text-gray-700 font-bold hover:text-blue-500 focus:outline-none">
|
||||
<img alt="burger-menu" src="{{ asset('img/burger-menu.svg') }}">
|
||||
</button>
|
||||
{% endif %}
|
||||
<ul id="navbar" class="hidden absolute top-12 right-0 w-48 bg-white shadow-md p-4 flex-col space-y-4">
|
||||
<li><a href="{{ path('home') }}" class="text-gray-700 font-bold hover:text-blue-500">Accueil</a></li>
|
||||
{% if app.user %}
|
||||
<li><a href="{{ path('profile_view', {'uuid': app.user.idParticipant}) }}" class="text-gray-700 font-bold hover:text-blue-500">Mon profile</a></li>
|
||||
{% endif %}
|
||||
{% if app.user and ('ROLE_ADMIN' in app.user.roles) %}
|
||||
<li><a href="{{ path('app_adminUser') }}" class="text-gray-700 font-bold hover:text-blue-500">Administration</a></li>
|
||||
<li><a href="{{ path('app_admin') }}" class="text-gray-700 font-bold hover:text-blue-500">Administration</a></li>
|
||||
{% endif %}
|
||||
{% if app.user %}
|
||||
<li><a href="{{ path('app_logout') }}" class="text-gray-700 font-bold hover:text-blue-500">Se déconnecter</a></li>
|
||||
|
||||
Reference in New Issue
Block a user