templates/front/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.         <!-- titre -->
  7.         <title>{% block title %}Webgiciel{% endblock %}</title>
  8.         <meta content="{% block description %}description{% endblock %}" name="description">
  9.         <meta content="{% block keywords %}keywords{% endblock %}" name="keywords">
  10.         <!-- favicons -->
  11.         <link href="{{ pathLocal }}/docs/logo/favicon.ico" rel="icon">
  12.         <link href="{{ pathLocal }}/Modules/templates/bocor/img/apple-touch-icon.png" rel="apple-touch-icon">
  13.         <!-- fontawesome -->
  14.         <script src="https://kit.fontawesome.com/97264cb235.js" crossorigin="anonymous"></script>
  15.         <!-- Google Fonts 
  16.         <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
  17.         -->
  18.         <!-- Vendor CSS Files --> 
  19.         <link href="{{ pathLocal }}/Modules/templates/bocor/vendor/aos/aos.css" rel="stylesheet">
  20.         <link href="{{ pathLocal }}/Modules/templates/bocor/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  21.         <link href="{{ pathLocal }}/Modules/templates/bocor/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
  22.         <link href="{{ pathLocal }}/Modules/templates/bocor/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  23.         <link href="{{ pathLocal }}/Modules/templates/bocor/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
  24.         <link href="{{ pathLocal }}/Modules/templates/bocor/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
  25.         
  26.         <!-- Template Main CSS File -->
  27.         <link href="{{ pathLocal }}/Modules/templates/bocor/css/style.css" rel="stylesheet">
  28.         <!-- leaflet.css -->
  29.         <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin="" >
  30.         <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
  31.         <style>
  32.             /* Style de base pour le cookie-banner */
  33.             #cookie-banner {
  34.                 display: none;
  35.                 position: fixed;
  36.                 bottom: 0;
  37.                 left: 50%;
  38.                 transform: translateX(-50%);
  39.                 background-color: #f1f1f1;
  40.                 padding: 15px;
  41.                 box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  42.                 z-index: 1000;
  43.             }
  44.             .btnRound{
  45.                 color: #213b52;
  46.                 border-radius: 50px;
  47.                 padding: 8px 35px 10px 35px;
  48.                 border: 2px solid #fdc134;
  49.                 transition: all ease-in-out 0.3s;
  50.                 display: inline-block;
  51.                 background: #fdc134;
  52.             }
  53.             .btnRound:hover {
  54.                 background: #213b52;
  55.                 color: #fff;
  56.             }
  57.             .btnRoundi{
  58.                 color: #fdc134;
  59.                 border-radius: 50px;
  60.                 padding: 3px 10px 5px 10px;
  61.                 border: 2px solid #213b52;
  62.                 transition: all ease-in-out 0.3s;
  63.                 display: inline-block;
  64.                 background: #213b52;
  65.             }
  66.             .btnRoundi:hover {
  67.                 background: #fdc134;
  68.                 color: #213b52;
  69.             }
  70.         </style>
  71.         <!-- style perso -->
  72.         {% block stylesheets %}{% endblock %}
  73.     </head>
  74.     <body>
  75.         {% block body %}
  76.         {% endblock %}
  77.         <!-- Vendor JS Files -->
  78.         <script src="{{ pathLocal }}/Modules/Jquery/3_7_1/jquery-3.7.1.min.js"></script>
  79.         <!-- Inclure le plugin jQuery Cookie -->
  80.         <script src="{{ pathLocal }}/Modules/Jquery/jquery.cookie.min.js"></script>
  81.         <!-- Vendor JS Files -->
  82.         <script src="{{ pathLocal }}/Modules/templates/bocor/vendor/aos/aos.js"></script>
  83.         <script src="{{ pathLocal }}/Modules/templates/bocor/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  84.         <script src="{{ pathLocal }}/Modules/templates/bocor/vendor/glightbox/js/glightbox.min.js"></script>
  85.         <script src="{{ pathLocal }}/Modules/templates/bocor/vendor/isotope-layout/isotope.pkgd.min.js"></script>
  86.         <script src="{{ pathLocal }}/Modules/templates/bocor/vendor/swiper/swiper-bundle.min.js"></script>
  87.         <script src="{{ pathLocal }}/Modules/templates/bocor/vendor/php-email-form/validate.js"></script>
  88.         <!-- Template Main JS File -->
  89.         <script src="{{ pathLocal }}/Modules/templates/bocor/js/main.js"></script>
  90.         {% block javascripts %}{% endblock %}
  91.         {% if user.roles[0] is defined and user.roles[0] == "ROLE_ADMIN" %}
  92.         {% else %}
  93.             <script type="text/javascript">
  94.                 $(function(){
  95.                     $(".sf-toolbar").css("opacity", 1);
  96.                 });
  97.             </script>
  98.         {% endif %}
  99.     </body>
  100. </html>