templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <!-- Required meta tags -->
  5.     {% block meta %}
  6.       <meta charset="UTF-8">
  7.       <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.       <meta http-equiv="X-UA-Compatible" content="ie=edge">
  9.       <title>Europe13</title>
  10.     {% endblock %}
  11.     <!-- plugins:css -->
  12.     {% block stylesSheet %}
  13.     <!-- endinject -->
  14.     <!-- plugin css for this page -->
  15.     <!-- end plugin css for this page -->
  16.     <!-- endinject -->
  17.     <!-- Layout styles -->
  18.     <link rel="stylesheet" href="{{ asset('assets/css/demo_1/style.css') }}" />
  19.     <!-- End layout styles -->
  20.     <!-- End layout styles -->
  21.     <link rel="shortcut icon" href="{{ asset('assets/images/logo.png') }}" />
  22.     {% endblock %}
  23. </head>
  24. <body class="sidebar-dark">
  25.   <div class="main-wrapper">
  26.         {% if app.user %}
  27.             {% include "components/sidebar.html.twig" %}
  28.         {% endif %}
  29.     <div class="page-wrapper">
  30.         {% if app.user %}
  31.             {% include "components/navbar.html.twig" %}
  32.         {% endif %}
  33.         <div class="page-content">
  34.           {% block body %}
  35.           {% endblock %}
  36.         </div>
  37.         {% if app.user %}
  38.             {% block footer %}
  39.             <footer class="footer d-flex flex-column flex-md-row align-items-center justify-content-between">
  40.                 <p class="text-muted text-center text-md-left">Copyright © 2023. All rights reserved</p>
  41.             </footer>
  42.             {% endblock %}
  43.         {% endif %}
  44.     </div>
  45.   </div>
  46.   {% block javascripts %}
  47.     <!-- core:js -->
  48.     <script src="{{ asset('assets/vendors/core/core.js') }}"></script>
  49.     <script src="{{ asset('assets/vendors/feather-icons/feather.min.js') }}"></script>
  50.     <script src="{{ asset('assets/js/template.js') }}"></script>
  51.     {% if app.session.get('checkSignatureStatus') is defined and app.session.get('checkSignatureStatus') %}
  52.       <script>
  53.         // prevent this loop from executing if there is no token in session
  54.         function fn60sec() {
  55.           $.post("{{path('signature_check_validator')}}", function(data, status){
  56.               console.log('data : ', data)
  57.               console.log('status : ', status)
  58.           })
  59.         }
  60.         fn60sec();
  61.         setInterval(fn60sec, 60*1000);
  62.       </script>
  63.     {% endif %}
  64.   {% endblock %}
  65. </body>
  66. </html>