2024-11-30 15:51:55 +01:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Profil{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="container mx-auto px-4 py-6">
|
|
|
|
<h1 class="text-2xl font-bold mb-4">Profil</h1>
|
|
|
|
|
|
|
|
<!-- Vue spécifique pour le stagiaire -->
|
|
|
|
{% if 'ROLE_INTERN' in app.user.roles %}
|
|
|
|
{% include 'profile/intern.html.twig' %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<!-- Vue spécifique pour l'employé -->
|
|
|
|
{% if 'ROLE_EMPLOYEE' in app.user.roles %}
|
|
|
|
{% include 'profile/employee.html.twig' %}
|
|
|
|
{% endif %}
|
2024-12-09 15:56:55 +01:00
|
|
|
|
|
|
|
{% if 'ROLE_ADMIN' in app.user.roles%}
|
|
|
|
<div>
|
2025-01-12 16:01:37 +01:00
|
|
|
<h1 class="text-4xl font-bold ml-kdn "> Vous etes admin</h1>
|
|
|
|
<br>
|
|
|
|
<div>
|
|
|
|
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full"
|
|
|
|
href="{{ path('app_degree_index') }}"> Gestion des diplômes
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div>
|
|
|
|
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full"
|
|
|
|
href="{{ path('app_skill_index') }}"> Gestion des compétences
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div>
|
|
|
|
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full"
|
|
|
|
href="{{ path('app_company_index') }}"> Gestion des entreprises
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div>
|
|
|
|
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full"
|
|
|
|
href="{{ path('app_faq_index') }}"> Gestion des FAQ
|
|
|
|
</a>
|
|
|
|
</div>
|
2024-12-09 15:56:55 +01:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-11-30 15:51:55 +01:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|