templates/decoupe/decoupe.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <meta charset="utf-8"/>
  5.     <title>{{ global.config.sitename.value }}</title>
  6.     <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
  7.     <meta content="" name="description"/>
  8.     <meta content="" name="author"/>
  9.     <meta name="turbolinks-cache-control" content="no-cache">
  10.     <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">
  11.     <link href="{{ asset('assets/vendor/fontawesome-free/css/all.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  12.     <link href="{{ asset('assets/css/theme.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  13.     <link href="{{ asset('assets/css/theme-review.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  14.     <link href="{{ asset('assets/vendor/datatables/dataTables.bootstrap4.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  15.     <link href="{{ asset('assets/css/bootstrap-toggle.min.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  16.     <link href="{{ asset('assets/css/animate.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  17.     <link href="{{ asset('assets/css/main.css') }}?{{ global.asset_key }}" rel="stylesheet" type="text/css">
  18.     {% block addcss %}{% endblock %}
  19.     <script src="{{asset('assets/js/turbolinks.min.js')}}?{{ global.asset_key }}?{{ global.asset_key }}"></script>
  20.     <script src="{{ asset('bundles/fosjsrouting/js/router.min.js') }}?{{ global.asset_key }}"></script>
  21.     <script src="{{ asset('assets/vendor/jquery/jquery.min.js') }}?{{ global.asset_key }}"></script>
  22.     <script src="{{ asset('assets/plugins/jquery-cookie/jquery.cookie.js') }}?{{ global.asset_key }}"></script>
  23.     <script src="{{ asset('assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}?{{ global.asset_key }}"></script>
  24.     <script src="{{ asset('assets/vendor/jquery-easing/jquery.easing.min.js') }}?{{ global.asset_key }}"></script>
  25.     <script src="{{ asset('assets/js/theme.min.js') }}?{{ global.asset_key }}"></script>
  26.     <script src="{{ asset('assets/js/bootstrap-toggle.min.js') }}?{{ global.asset_key }}"></script>
  27.     <script src="{{ asset('assets/vendor/datatables/jquery.dataTables.min.js') }}?{{ global.asset_key }}"></script>
  28.     <script src="{{ asset('assets/vendor/datatables/dataTables.bootstrap4.min.js') }}?{{ global.asset_key }}"></script>
  29.     <script src="{{ asset('assets/vendor/chart.js/Chart.min.js') }}"></script>
  30.     <script src="{{ asset('assets/js/sweetalert.js') }}?{{ global.asset_key }}"></script>
  31.     <script src="{{ asset('assets/js/app.js') }}?{{ global.asset_key }}"></script>
  32. </head>
  33. <body id="page-top" class="{% block body_css %}{% endblock %}">
  34. {#<body oncontextmenu="return false;" id="page-top" class="{% block body_css %}{% endblock %}">#}
  35. {% block progress_bar %}
  36.     <section class="headerProgesssbar nodisplay" id="progressBar">
  37.         <div class="animated fadeInDownBig" >
  38.             <div class="progress-bar progress-bar-striped h5 p-2 progress-bar-animated" role="progressbar" style="width: 100%">RequĂȘte en cours...</div>
  39.         </div>
  40.     </section>
  41. {% endblock %}
  42. <div>
  43.     {% block content_full %}
  44.         <div id="wrapper">
  45.             {% include 'decoupe/leftMenu.html.twig' %}
  46.             <div id="content-wrapper" class="d-flex flex-column">
  47.                 <div id="content">
  48.                     {% include 'decoupe/header.html.twig' %}
  49.                     <div class="container-fluid">
  50.                         {% block content %}{% endblock %}
  51.                     </div>
  52.                 </div>
  53.                 {% include 'decoupe/footer.html.twig' %}
  54.             </div>
  55.         </div>
  56.         <a class="scroll-to-top rounded" href="#page-top">
  57.             <i class="fas fa-angle-up"></i>
  58.         </a>
  59.     {% endblock %}
  60. </div>
  61. <script>
  62.     $(document).ready(function() {
  63.         let body = $('body'), $accordionSidebar = $('#accordionSidebar'), $sidebarToggleTop = $('#sidebarToggleTop'), $sidebarToggle = $('#sidebarToggle');
  64.         let tableData = $('.table-data');
  65.         if (tableData.length)
  66.         {
  67.             tableData.DataTable();
  68.         }
  69.         $sidebarToggle.click(function(e) { sideBarToggle(); });
  70.         $sidebarToggleTop.click(function(e) { sideBarToggle(); });
  71.         function sideBarToggle() {
  72.             if (!body.hasClass('sidebar-toggled')){
  73.                 body.addClass('sidebar-toggled');
  74.                 $accordionSidebar.addClass('toggled');
  75.                 $.cookie('{{ global.cookie_menuleft }}', 'collapse', { path: '/', expires: 365 });
  76.             } else {
  77.                 body.removeClass('sidebar-toggled');
  78.                 $accordionSidebar.removeClass('toggled');
  79.                 $.removeCookie('{{ global.cookie_menuleft }}', { path: '/' });
  80.             }
  81.         }
  82.         let pageShowed = function() {
  83.             $.ajax({
  84.                 url: '{{ path('visited') }}',
  85.                 dataType: 'json',
  86.                 type: 'post',
  87.                 contentType: false,
  88.                 data: JSON.stringify({ 'url': '{{ app.request.uri }}' }),
  89.                 processData: false,
  90.                 success: function(data){
  91.                     if (data === 'invalid') pageShowed();
  92.                 },
  93.                 error: function(){
  94.                     pageShowed();
  95.                 }
  96.             });
  97.         };
  98.         pageShowed();
  99.     });
  100. </script>
  101. {% block addjs %}{% endblock %}
  102. </body>
  103. </html>