2024-10-28 14:10:44 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2024-11-22 08:47:33 +01:00
|
|
|
<title>{{appName}}{% block title %}{% endblock %}</title>
|
|
|
|
<link rel="icon" href="">
|
2024-12-06 08:09:07 +01:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/bootstrap/css/bootstrap.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/bootswatch/bootswatch.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/fontawesome/css/all.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/datatables/datatables.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/select2/select2.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/select2/select2-bootstrap-5-theme.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/dropzone/dropzone.min.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/dropzone/dropzone-bootstrap.css') }}">
|
|
|
|
<link rel="stylesheet" href="{{ asset('lib/app/app.css') }}">
|
2024-11-22 08:47:33 +01:00
|
|
|
|
2024-12-06 08:09:07 +01:00
|
|
|
<script src="{{ asset('lib/jquery/jquery.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/fontawesome/fontawesome-free.index.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/datatables/datatables.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/datatables/datatables.init.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/select2/select2.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/select2/select2.init.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/dropzone/dropzone.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('lib/app/app.js') }}"></script>
|
2024-10-28 14:10:44 +01:00
|
|
|
|
|
|
|
{% block javascripts %}
|
2024-12-06 08:09:07 +01:00
|
|
|
|
2024-10-28 14:10:44 +01:00
|
|
|
{% endblock %}
|
|
|
|
</head>
|
2024-11-22 08:47:33 +01:00
|
|
|
|
2024-12-06 08:09:07 +01:00
|
|
|
{% block localstyle %}
|
|
|
|
{% endblock %}
|
2024-11-23 16:06:38 +01:00
|
|
|
|
2024-10-28 14:10:44 +01:00
|
|
|
<body>
|
2024-11-22 08:47:33 +01:00
|
|
|
{% if usemenu is defined and usemenu %}
|
2024-11-23 16:06:38 +01:00
|
|
|
<nav class="navbar navbar-expand-lg bg-dark" data-bs-theme="dark">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<a class="navbar-brand" href="{{ path('app_home') }}"><img src="{{asset("medias/logo/logo.png")}}"> {{appName}}</a>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarColor02">
|
|
|
|
<ul class="navbar-nav me-auto">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="#">Home
|
|
|
|
<span class="visually-hidden">(current)</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Features</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Pricing</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">About</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a class="dropdown-item" href="#">Separated link</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="navbar-nav ms-auto ps-3 d-flex flex-row position-absolute" style="right: 15px; top:15px">
|
|
|
|
{% if app.user %}
|
|
|
|
{% if is_granted('ROLE_ADMIN') %}
|
|
|
|
<a class="nav-link px-2" href="{{path('app_admin')}}"><i class="fa-solid fa-cog fa-2x"></i></a>
|
|
|
|
{% endif %}
|
|
|
|
<a class="nav-link px-2" href="{{path('app_logout')}}"><i class="fa-solid fa-right-from-bracket fa-2x"></i></a>
|
|
|
|
{% else %}
|
|
|
|
<a class="nav-link px-2" href="{{path('app_login')}}"><i class="fa-solid fa-right-to-bracket fa-2x"></i></a>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<a class="navbar-toggler nav-link px-2" href="#" data-bs-toggle="collapse" data-bs-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation"><i class="fa-solid fa-bars fa-2x"></i></a>
|
2024-11-18 17:07:22 +01:00
|
|
|
</div>
|
2024-11-23 16:06:38 +01:00
|
|
|
</div>
|
|
|
|
</nav>
|
2024-11-22 08:47:33 +01:00
|
|
|
{% endif %}
|
2024-11-18 17:07:22 +01:00
|
|
|
|
2024-11-22 08:47:33 +01:00
|
|
|
<main>
|
2024-11-23 16:06:38 +01:00
|
|
|
{% if usesidebar is defined and usesidebar %}
|
|
|
|
{% if is_granted('ROLE_ADMIN') %}
|
|
|
|
<sidebar>
|
|
|
|
<div>
|
|
|
|
<span>GENERALE</span>
|
|
|
|
|
|
|
|
<a href="" title="Configurations">
|
|
|
|
<i class="fas fa-cog fa-fw"></i>
|
|
|
|
<span>Configurations</span>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href="{{ path('app_admin_user') }}" title="Utilisateurs">
|
|
|
|
<i class="fas fa-user fa-fw"></i>
|
|
|
|
<span>Utilisateurs</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</sidebar>
|
|
|
|
{% endif %}
|
2024-11-22 08:47:33 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<content>
|
|
|
|
{% block body %}
|
|
|
|
{% endblock %}
|
|
|
|
</content>
|
|
|
|
</main>
|
2024-12-06 08:09:07 +01:00
|
|
|
|
|
|
|
<div id="mymodal" class="modal" tabindex="-1">
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h4 class="modal-title">INFORMATION</h4>
|
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<iframe id="framemodal" frameborder=0 width="100%" height="600px"></iframe>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-28 14:10:44 +01:00
|
|
|
</body>
|
2024-11-22 08:47:33 +01:00
|
|
|
|
|
|
|
{% block localscript %}
|
|
|
|
{% endblock %}
|
2024-10-28 14:10:44 +01:00
|
|
|
</html>
|