{% extends "layout.html.twig" %}{% block stylesheets2 %}<link rel="stylesheet" href="{{ asset('css/index.css') }}"><style>.topbar-user {display: flex; align-items: center; gap: .5rem;background: rgba(255,255,255,.15); border-radius: 8px;padding: .4rem .85rem; font-size: .78rem; color: #fff; font-weight: 600;}</style>{% endblock %}{% block section2 %}<div class="container-fluid mt-3"><!-- TOPBAR --><div class="d-flex justify-content-between align-items-center mb-4"><div class="d-flex align-items-center" class="mr-2"><!-- <img src="{{ asset('img/log.ico') }}" style="max-width:40px;" class="mr-2">--></div><div class="d-flex align-items-center"><span class="mr-2 topbar-user"><i class="fas fa-key"></i> {{ 'menu.change_password'|trans }}<a href="{{ path('change_password') }}" class="btn btn-sm "></a></span><span class="mr-2 topbar-user"><i class="fas fa-user-circle"></i> Connecté : <strong>{{ app.user.username }}</strong><a href="{{ path('app_logout') }}" class="btn btn-danger btn-sm">{{ 'menu.logout'|trans }}</a></span><div class="d-flex align-items-center ml-2"><div class="dropdown"><buttonclass="btn btn-light btn-sm dropdown-toggle"type="button"id="langDropdown"data-toggle="dropdown"aria-haspopup="true"aria-expanded="false">🌐 {{ 'menu.language'|trans }}</button><div class="dropdown-menu"><a class="dropdown-item" href="{{ path('change_locale', {'locale': 'fr'}) }}">🇫🇷 {{ 'menu.french'|trans }}</a><a class="dropdown-item" href="{{ path('change_locale', {'locale': 'en'}) }}">🇬🇧 {{ 'menu.english'|trans }}</a></div></div></div></div></div><!-- MODULES --><br/><div class="row text-center ">{% if is_granted('ROLE_VU_DA') %}<div class="col-6 col-md-4 col-lg-3 mb-4"><a href="{{ path('module_achat') }}" class="text-decoration-none module-item"><img src="{{ asset('img/moduleachat.jpg') }}" class="img-fluid mb-2" style="max-width:90px;max-height:80px;"><div>{{ 'modules.achat'|trans }}</div></a></div>{% endif %}{% if is_granted('ROLE_VU_STOK') or is_granted('ROLE_VU_STOCK_CANO') %}<div class="col-6 col-md-4 col-lg-3 mb-4"><a href="#" class="text-decoration-none module-item"><img src="{{ asset('img/modulestock.png') }}" class="img-fluid mb-2" style="max-width:90px;max-height:80px;"><div>{{ 'modules.stock'|trans }}</div></a></div>{% endif %}{% if is_granted('ROLE_VU_DA') %}<div class="col-6 col-md-4 col-lg-3 mb-4"><a href=" {{ path('module_flotte') }}" class="text-decoration-none module-item"><img src="{{ asset('img/mission.jpg') }}" class="img-fluid mb-2" style="max-width:90px;max-height:80px;"><div>{{ 'modules.flotte'|trans }}</div></a></div>{% endif %}<div class="col-6 col-md-4 col-lg-3 mb-4"><a href="#" class="text-decoration-none module-item"><img src="{{ asset('img/rh.png') }}" class="img-fluid mb-2" style="max-width:90px;max-height:80px;"><div>{{ 'modules.rh'|trans }}</div></a></div>{% if is_granted('ROLE_DIRECT_APPROV') or is_granted('ROLE_STAGE_INFO') or is_granted('ROLE_VU_ASSET') %}<div class="col-6 col-md-4 col-lg-3 mb-4"><a href="{{ path('module_immo') }}" class="text-decoration-none module-item"><img src="{{ asset('img/immo.png') }}" class="img-fluid mb-2" style="max-width:90px;max-height:80px;"><div>{{ 'modules.immo'|trans }}</div></a></div>{% endif %}{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_VALID_TECH_INFO') %}<div class="col-6 col-md-4 col-lg-3 mb-4"><a href="{{ path('module_admin') }}" class="text-decoration-none module-item"><img src="{{ asset('img/admin.png') }}" class="img-fluid mb-2" style="max-width:90px;max-height:80px;"><div>admin</div></a></div>{% endif %}</div></div>{% endblock %}{% block js %}{% endblock %}