<!DOCTYPE html>
<html lang="fr">
<head>
{% set isLogin = app.request.get('_route') == 'login'
or app.request.get('_route') == 'forgotten_password'
or app.request.get('_route') == 'reset_password' %}
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}
<link rel="icon" href="{{ asset('assets/images/brand/favicon.ico') }}" type="image/x-icon"/>
<link rel="shortcut icon" type="image/x-icon" href="{{ asset('assets/images/brand/favicon.ico') }}"/>
<link href="{{ asset('assets/plugins/bootstrap/css/bootstrap.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/sidemenu.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/style.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/css/admin-custom.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/plugins/charts-c3/c3-chart.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/scss/custom.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/plugins/pscrollbar/pscrollbar.css') }}" rel="stylesheet"/>
<!-- Datatables -->
<link href="{{ asset('assets/plugins/datatable/css/dataTables.bootstrap5.min.css') }}" rel="stylesheet"/>
<link href="{{ asset('assets/plugins/datatable/css/jquery.dataTables.min.css') }}" rel="stylesheet"/>
<!-- Tabs Style -->
<link href="{{ asset('assets/plugins/tabs/tabs.css') }}" rel="stylesheet" />
<!-- Select2 -->
<link href="{{ asset('assets/plugins/select2/select2.css') }}" rel="stylesheet"/>
<!-- Date Picker Plugin -->
<link href="{{ asset('assets/plugins/date-picker/spectrum.css') }}" rel="stylesheet" />
<link href="{{ asset('assets/css/icons.css') }}" rel="stylesheet"/>
<link id="theme" rel="stylesheet" type="text/css" media="all" href="{{ asset('assets/color-skins/color.css') }}"/>
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block js %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
{% if not isLogin %}
<header>
{% include 'header.html.twig' %}
</header>
{% endif %}
<body class="{% if not isLogin %}app sidebar-mini{% else %}construction-image{% endif %}">
{% if isLogin %}
<div class="page page-h">
<div class="page-content z-documentation-10">
<div class="container">
<div class="row">
<div class="col-xl-5 col-md-12 col-md-12 d-block mx-auto">
<div class="card">
{% block login %}{% endblock %}
</div>
</div>
</div>
</div>
</div>
</div>
{% else %}
<div class="page">
<div class="page-main h-100">
<div class="app-content my-3 my-md-5">
<div class="side-app">
{% include 'sidemenu.html.twig' %}
</div>
<div class="p-5">
{% block body %}
{% endblock %}
</div>
</div>
{% include 'footer.html.twig' %}
<a href="#top" id="back-to-top"><i class="fa fa-long-arrow-up"></i></a>
</div>
</div>
{% endif %}
{% block javascripts %}
<script src="{{ asset('assets/js/jquery-3.2.1.min.js') }}"></script>
<script src="{{ asset('assets/plugins/bootstrap/js/popper.min.js') }}"></script>
<script src="{{ asset('assets/plugins/bootstrap/js/bootstrap.min.js') }}"></script>
<script src="{{ asset('assets/js/jquery.sparkline.min.js') }}"></script>
<script src="{{ asset('assets/js/circle-progress.min.js') }}"></script>
<script src="{{ asset('assets/plugins/jquery-bar-rating/jquery.barrating.js') }}"></script>
<script src="{{ asset('assets/plugins/jquery-bar-rating/js/rating.js') }}"></script>
<script src="{{ asset('assets/plugins/sidemenu/sidemenu.js') }}"></script>
<!-- select2 -->
<script src="{{ asset('assets/plugins/select2/select2.full.min.js') }}"></script>
<script src="{{ asset('assets/js/select2.js') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.select2').select2();
});
</script>
<script src="{{ asset('assets/plugins/pscrollbar/pscrollbar.js') }}"></script>
<script src="{{ asset('assets/plugins/pscrollbar/pscroll.js') }}"></script>
<!-- datatable -->
<script src="{{ asset('assets/plugins/datatable/js/jquery.dataTables.min.js') }}"></script>
<script src="{{ asset('assets/plugins/datatable/js/dataTables.bootstrap5.min.js') }}"></script>
<script type="text/javascript">
$(document).ready( function () {
$('#data-table').DataTable();
$('.data-table').DataTable();
$('#data-table-order').DataTable({
order: [[0, 'desc']]
});
$('.data-table-order').DataTable({
order: [[0, 'desc']]
});
} );
</script>
<!-- Datepicker js -->
<script src="{{ asset('assets/plugins/date-picker/spectrum.js') }}"></script>
<script src="{{ asset('assets/plugins/date-picker/jquery-ui.js') }}"></script>
<script src="{{ asset('assets/plugins/input-mask/jquery.maskedinput.js') }}"></script>
<script src="{{ asset('assets/js/date-picker.js') }}"></script>
<script src="{{ asset('assets/plugins/counters/counterup.min.js') }}"></script>
<script src="{{ asset('assets/plugins/counters/waypoints.min.js') }}"></script>
<script src="{{ asset('assets/plugins/chart/Chart.bundle.js') }}"></script>
<script src="{{ asset('assets/plugins/chart/utils.js') }}"></script>
<script src="{{ asset('assets/js/index1.js') }}"></script>
<script src="{{ asset('assets/js/admin-custom.js') }}"></script>
<script src="{{ asset('assets/js/custom.js') }}"></script>
<!-- ckeeditor js -->
<script src="{{ asset('bundles/fosckeditor/build-config.js') }}"></script>
<!--Counters -->
<script src="{{ asset('assets/plugins/counters/counterup.min.js') }}"></script>
<script src="{{ asset('assets/plugins/counters/waypoints.min.js') }}"></script>
<!---Tabs JS-->
<script src="{{ asset('assets/plugins/tabs/jquery.multipurpose_tabcontent.js') }}"></script>
<script src="{{ asset('assets/js/tabs.js') }}"></script>
{% endblock %}
</body>
</html>