<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8"/>
<title>{{ global.config.sitename.value }}</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<meta name="turbolinks-cache-control" content="no-cache">
<link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">
<link href="{{ asset('assets/vendor/fontawesome-free/css/all.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/css/theme.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/css/theme-review.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/vendor/datatables/dataTables.bootstrap4.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/css/bootstrap-toggle.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/css/animate.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/css/main.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
{% block addcss %}{% endblock %}
<script src="{{asset('assets/js/turbolinks.min.js')}}?{{ global.asset_key }}?{{ global.asset_key }}"></script>
<script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/vendor/jquery/jquery.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/plugins/jquery-cookie/jquery.cookie.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/vendor/jquery-easing/jquery.easing.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/js/theme.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/js/bootstrap-toggle.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/vendor/datatables/jquery.dataTables.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/vendor/datatables/dataTables.bootstrap4.min.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/vendor/chart.js/Chart.min.js') }}"></script>
<script src="{{ asset('assets/js/sweetalert.js') }}?{{ global.asset_key }}"></script>
<script src="{{ asset('assets/js/app.js') }}?{{ global.asset_key }}"></script>
</head>
<body id="page-top" class="{% block body_css %}{% endblock %}">
{#<body oncontextmenu="return false;" id="page-top" class="{% block body_css %}{% endblock %}">#}
{% block progress_bar %}
<section class="headerProgesssbar nodisplay" id="progressBar">
<div class="animated fadeInDownBig" >
<div class="progress-bar progress-bar-striped h5 p-2 progress-bar-animated" role="progressbar" style="width: 100%">RequĂȘte en cours...</div>
</div>
</section>
{% endblock %}
<div>
{% block content_full %}
<div id="wrapper">
{% include 'decoupe/leftMenu.html.twig' %}
<div id="content-wrapper" class="d-flex flex-column">
<div id="content">
{% include 'decoupe/header.html.twig' %}
<div class="container-fluid">
{% block content %}{% endblock %}
</div>
</div>
{% include 'decoupe/footer.html.twig' %}
</div>
</div>
<a class="scroll-to-top rounded" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
{% endblock %}
</div>
<script>
$(document).ready(function() {
let body = $('body'), $accordionSidebar = $('#accordionSidebar'), $sidebarToggleTop = $('#sidebarToggleTop'), $sidebarToggle = $('#sidebarToggle');
let tableData = $('.table-data');
if (tableData.length)
{
tableData.DataTable();
}
$sidebarToggle.click(function(e) { sideBarToggle(); });
$sidebarToggleTop.click(function(e) { sideBarToggle(); });
function sideBarToggle() {
if (!body.hasClass('sidebar-toggled')){
body.addClass('sidebar-toggled');
$accordionSidebar.addClass('toggled');
$.cookie('{{ global.cookie_menuleft }}', 'collapse', { path: '/', expires: 365 });
} else {
body.removeClass('sidebar-toggled');
$accordionSidebar.removeClass('toggled');
$.removeCookie('{{ global.cookie_menuleft }}', { path: '/' });
}
}
let pageShowed = function() {
$.ajax({
url: '{{ path('visited') }}',
dataType: 'json',
type: 'post',
contentType: false,
data: JSON.stringify({ 'url': '{{ app.request.uri }}' }),
processData: false,
success: function(data){
if (data === 'invalid') pageShowed();
},
error: function(){
pageShowed();
}
});
};
pageShowed();
});
</script>
{% block addjs %}{% endblock %}
</body>
</html>