templates/layout/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>
  6.             {% block title 'BETHESDA' %}
  7.         </title>
  8.         <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
  9.         <!-- Basic -->
  10.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11.         <!-- Site Metas -->
  12.         <meta name="keywords" content="bethesda isbb">
  13.         <meta name="description" content="Institut secondaire bilingue bethesda">
  14.         <meta name="author" content="Arsene Fokam Poka, Ing">
  15.         <!-- Site Icons -->
  16.         {% block stylesheets %}
  17.             {# {{encore_entry_link_tags('main')}} #}
  18.             <link rel="icon" type="image/png" href="{{ asset('assets/images/BethesdaLogo.png') }}" />
  19.             <link rel="apple-touch-icon" href="{{ asset('assets/images/BethesdaLogo.png') }}">
  20.             <link href="{{ asset('https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css') }}" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  21.             <link href="{{ asset('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css') }}" rel="stylesheet">
  22.             <link href="{{ asset('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap-grid.min.css') }}" rel="stylesheet" type="text/css" />
  23.             <link href="{{ asset('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap-reboot.min.css') }}" rel="stylesheet" type="text/css" />
  24.             <link href="{{ asset('assets/css/custom.css') }}" rel="stylesheet">
  25.         {% endblock %}
  26.     </head>
  27.     <body class="host_version">
  28.         {% block main %}<!-- JUST FOR BACKEND -->
  29.         {% endblock %}
  30.         {% block partials %}
  31.             <!-- Flash Messages -->
  32.             {% include 'layout/partials/flash_messages.html.twig' %}
  33.             {% if not app.user %}
  34.                 <!-- Modal -->
  35.                 {% include 'layout/partials/modal.html.twig' %}
  36.                 <!-- LOADER -->
  37.                 {% include 'layout/partials/loader.html.twig' %}
  38.                 <!-- HEADER -->
  39.                 {% include 'layout/partials/header.html.twig' %}
  40.             {% endif %}
  41.         {% endblock %}
  42.         <div>
  43.             {% block body %}<!-- JUST FOR FRONTEND -->
  44.             {% endblock %}
  45.             {% block footer %}
  46.                 <!-- Header -->
  47.                 {% include 'layout/partials/partners.html.twig' %}
  48.                 {% include 'layout/partials/footer.html.twig' %}
  49.             {% endblock footer %}
  50.         </div>
  51.         <!-- in order to record the current route -->
  52.         {#   {{ app.session.set('referer',  path(app.request.attributes.get('_route')) ) }} #}
  53.         {{ app.session.set('referer',    app.request.get('_route')  ) }}
  54.         {% block javascripts %}
  55.             
  56.             <script src="{{ asset('https://code.jquery.com/jquery-3.7.1.min.js') }}" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
  57.              
  58.              <script type="text/javascript" src="{{ asset('assets/js/jquery-ui.min.js') }}"></script>
  59.             <script type="text/javascript" src="{{ asset('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.min.js') }}"></script>
  60.              <script type="text/javascript" src="{{ asset('https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.0/chart.min.js') }}" integrity="sha512-TW5s0IT/IppJtu76UbysrBH9Hy/5X41OTAbQuffZFU6lQ1rdcLHzpU5BzVvr/YFykoiMYZVWlr/PX1mDcfM9Qg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  61.              <script src="{{ asset('https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.1/js/bootstrap.bundle.min.js') }}" integrity="sha512-ToL6UYWePxjhDQKNioSi4AyJ5KkRxY+F1+Fi7Jgh0Hp5Kk2/s8FD7zusJDdonfe5B00Qw+B8taXxF6CFLnqNCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  62.      
  63.             <script type="text/javascript" src="{{ asset('assets/js/jsjquery.simpleAccordion.min.js') }}"></script>
  64.             <script type="text/javascript" src="{{ asset('assets/js/jquery.mCustomScrollbar.concat.min.js') }}"></script>
  65.             <script type="text/javascript" src="{{ asset('assets/js/menu.js') }}"></script>
  66.             <script type="text/javascript" src="{{ asset('assets/js/all.js') }}"></script>
  67.              <script type="text/javascript" src="{{ asset('assets/js/front.js') }}"></script>
  68.             <script type="text/javascript" src="{{ asset('assets/js/custom.js') }}"></script>
  69.             <script type="text/javascript" src="{{ asset('assets/js/timeline.min.js') }}"></script>
  70.             <script type="text/javascript" src="{{ asset('https://d3js.org/d3.v4.min.js') }}"></script>
  71.             <script>
  72.                 timeline(document.querySelectorAll('.timeline'), {
  73.                     forceVerticalMode: 700,
  74.                     mode: 'horizontal',
  75.                     verticalStartPosition: 'left',
  76.                     visibleItems: 4
  77.                 });
  78.             </script>
  79.             <!-- Global site tag (gtag.js) - Google Analytics -->
  80.             <script async src="https://www.googletagmanager.com/gtag/js?id=UA-208287842-1"></script>
  81.             <script>
  82.                 window.dataLayer = window.dataLayer || [];
  83.                 function gtag(){dataLayer.push(arguments);}
  84.                 gtag('js', new Date());
  85.                 gtag('config', 'UA-208287842-1');
  86.                 </script>
  87.         {% endblock javascripts %}
  88.     </body>
  89. </html>