templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.   <head>
  4.     <!-- mobile -->
  5.     <meta charset="utf-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <!-- titre -->
  8.     <title>{% block title %}UP-PARIS!{% endblock %}</title>
  9.     <link rel="shortcut icon" type="image/png" href="{{ pathLocal }}imgs/faviconup.png"/>
  10.     <!-- meta -->
  11.     <meta name="author" content="UP Paris">
  12.     {% if controller_name == 'paul_espacePro' %}
  13.       <meta name="description" content="UP-Paris (Univers Paramétrique) {{ protexte.texte|striptags|replace({ '&eacute;':'é', '&ccedil;':'ç', '&nbsp;':' ', '&#39;':'\'', '&egrave;':'è', '&quot;':'\'\'', '&agrave;':'à', '\n': ' ' })|raw }}">
  14.     {% elseif controller_name == 'paul_contact' %}
  15.       <meta name="description" content="Quartier de Belleville. Quartier bohème, cosmopolite et arty du nord-est de Paris, terre d’accueil des artistes aux multiples facettes culturelles. L'âme populaire de Paris ! Belleville est un village dans la ville.">
  16.     {% elseif controller_name == 'paul_mobilier' %}
  17.       <meta name="description" content="UP-Paris (Univers Paramétrique) vous présente sa liste de mobilier écoresponsable français, spécialisé dans la conception paramétrique. {% if allMob|length > 0 %}{% for mob in allMob %}{% if mob.actif == 1 %}{{ mob.titre }}, {% endif %}{% endfor %}{% endif %} sont des mobiliers 100% recyclable, 100 % biodégradable. Le carton utilisé combine, solidité, rigidité et légèreté, ce qui apporte une forte solidité et une excellente absorption des chocs. ">
  18.     {% elseif controller_name == 'paul_mobilier_cat_detail' %}
  19.       <meta name="description" content="{{ allMob.titre }} est un mobilier UP 100% recyclable, 100 % biodégradable. UP-Paris (Univers Paramétrique) {% if allTech|length > 0 %}{% for tech in allTech %}{% if tech.actif == 1 %}{{ tech.titre }} : {{ tech.description|striptags|replace({ '&eacute;':'é', '&ccedil;':'ç', '&nbsp;':' ', '&#39;':'\'', '&egrave;':'è', '&quot;':'\'\'', '&agrave;':'à', '\n': ' ' })|raw }}. {% endif %}{% endfor %}{% endif %}">
  20.     {% else %}
  21.     <meta name="description" content="UP-Paris {% if apropos is defined %}{{ apropos.texte|striptags|replace({ '&eacute;':'é', '&ccedil;':'ç', '&nbsp;':' ', '&#39;':'\'', '&egrave;':'è', '&quot;':'\'\'', '&agrave;':'à', '\n': ' ' })|raw }}{% endif %}">
  22.     {% endif %}
  23.     <!-- Bootstrap CSS -->
  24.     <link href="{{ pathLocal }}modules/bootstrap-5.1.3-dist/css/bootstrap.min.css" rel="stylesheet">
  25.     <!-- jquery-ui -->
  26.     <link rel="stylesheet" href="{{ pathLocal }}modules/jquery-ui-1.12.1.custom/jquery-ui.min.css">
  27.     <!-- fontawesome -->
  28.     <script src="https://kit.fontawesome.com/8ecfff0679.js" crossorigin="anonymous"></script>
  29.     <!-- style css -->
  30.     <style media="screen">
  31.       @font-face {
  32.         font-family: "BebasNeue-Bold";
  33.         src: url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Bold.otf") format("opentype"),
  34.         url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Bold.ttf") format("opentype");
  35.       }
  36.       @font-face {
  37.         font-family: "BebasNeue-Book";
  38.         src: url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Book.otf") format("opentype"),
  39.         url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Book.ttf") format("opentype");
  40.       }
  41.       @font-face {
  42.         font-family: "BebasNeue-Light";
  43.         src: url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Light.otf") format("opentype"),
  44.         url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Light.ttf") format("opentype");
  45.       }
  46.       @font-face {
  47.         font-family: "BebasNeue-Regular";
  48.         src: url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Regular.otf") format("opentype"),
  49.         url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Regular.ttf") format("opentype");
  50.       }
  51.       @font-face {
  52.         font-family: "BebasNeue-Thin";
  53.         src: url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Thin.otf") format("opentype"),
  54.         url("{{ pathLocal }}fonts/BebasNeue2014ByFontFabric/BebasNeue-Thin.ttf") format("opentype");
  55.       }
  56.       @font-face {
  57.         font-family: "GillSans,";
  58.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans.otf") format("opentype");
  59.       }
  60.       @font-face {
  61.         font-family: "Gill_Sans_Bold_Italic";
  62.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Bold_Italic.otf") format("opentype");
  63.       }
  64.       @font-face {
  65.         font-family: "Gill_Sans_Bold";
  66.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Bold.otf") format("opentype");
  67.       }
  68.       @font-face {
  69.         font-family: "Gill_Sans_Light";
  70.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Light.otf") format("opentype");
  71.       }
  72.       @font-face {
  73.         font-family: "Gill_Sans_Light_Italic";
  74.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Light_Italic.otf") format("opentype");
  75.       }
  76.       @font-face {
  77.         font-family: "Gill_Sans_Medium_Italic";
  78.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Medium_Italic.otf") format("opentype");
  79.       }
  80.       @font-face {
  81.         font-family: "Gill_Sans_Medium";
  82.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Medium.otf") format("opentype");
  83.       }
  84.       @font-face {
  85.         font-family: "Gill_Sans_Heavy_Italic";
  86.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Heavy_Italic.otf") format("opentype");
  87.       }
  88.       @font-face {
  89.         font-family: "Gill_Sans_Heavy";
  90.         src: url("{{ pathLocal }}fonts/GillSans/Gill_Sans_Heavy.otf") format("opentype");
  91.       }
  92.     </style>
  93.     <!-- bibliothèque Leaflet -->
  94.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css" />
  95.     <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/MarkerCluster.css" />
  96.     <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/MarkerCluster.Default.css" />
  97.     <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js"></script>
  98.     <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/0.4.0/leaflet.markercluster.js"></script>
  99.     <!-- uPstyle -->
  100.     <link href="{{ pathLocal }}css/uPstyle.css" rel="stylesheet" type="text/css" media="all"/>
  101.     <link href="{{ pathLocal }}css/uPeffets.css" rel="stylesheet" type="text/css" media="all"/>
  102.     <link href="{{ pathLocal }}css/uPMobilier.css" rel="stylesheet" type="text/css" media="all"/>
  103.     <link href="{{ pathLocal }}css/styleDiap.css" rel="stylesheet" type="text/css" media="all"/>
  104.     <link href="{{ pathLocal }}css/styleMapUp.css" rel="stylesheet" type="text/css" media="all"/>
  105.     <!-- styles -->
  106.     {% block stylesheets %}{% endblock %}
  107.   </head>
  108.   <body>
  109.     {% if controller_name != "construction_index" %}
  110.     {% include "elements/navbar.html.twig" %}
  111.     {% endif %}
  112.     {% block body %}{% endblock %}
  113.     {% include "elements/footer.html.twig" %}
  114.     <!-- jquery-ui  -->
  115.     <script src="{{ pathLocal }}modules/jquery-3.6.0.min.js"></script>
  116.     <script src="{{ pathLocal }}modules/bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
  117.     <script src="{{ pathLocal }}modules/jquery-ui-1.12.1.custom/external/jquery/jquery.js"></script>
  118.     <script src="{{ pathLocal }}modules/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
  119.     <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
  120.     {% block javascripts %}
  121.     {% endblock %}
  122.     <script>
  123.       $(function(){
  124.         $('div[id^="sfwd"]').css("opacity", "0");
  125.       });
  126.     </script>
  127.   </body>
  128. </html>