templates/application/application.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}
  3.     <link rel="stylesheet" href="{{ asset('assets/css/produit.min.css') }}" />
  4.     <link rel="stylesheet" href="{{ asset('assets/css/accueil.min.css') }}" />
  5.     <link rel="stylesheet" href="{{ asset('assets/css/application.min.css') }}" />
  6. {% endblock %}
  7. {% block javascript %}
  8.     {# <script src="{{ asset('assets/js/produit/produit.js') }}"></script> #}
  9.     <script src="{{ asset('assets/js/accueil/accueil.js') }}"></script>
  10. {% endblock %}
  11. {% block title %}
  12.     {% for content in contents %}
  13.         {{ content.meta_title|raw }}
  14.     {% endfor %}
  15. {% endblock %}
  16. {% block description %}
  17.     {% for content in contents %}
  18.         {{ content.meta_description|raw }}
  19.     {% endfor %}
  20. {% endblock %}
  21. {% block content %}
  22.     <div class="row px-4">
  23.         <div class="col-lg-3 col-md-3 col-12 p-0">
  24.             <div id="left_column" class="sidebar column offcanvas-sidebar">
  25.                 <div id="pts-verticalmenu" class="dropdown block-borderbox block">
  26.                     <span>Applications</span><button class="title_block dropdown-bs-toggle collapsed d-md-none d-lg-none" data-bs-target=".navbar-ex2-collapse" data-bs-toggle="collapse" type="button"><span>Applications</span></button>
  27.                     <div class="pts-verticalmenu navbar-collapse block_content navbar-ex2-collapse collapse.show" style="">
  28.                         <nav class="navbar navbar-expand-lg navbar-dark py-0">
  29.                             <div id="mainmenutop" class="verticalmenu w-100" role="navigation">
  30.                                 <div class="navbar-header w-100">
  31.                                     <div class="tree-menu ">
  32.                                         <ul class="navbar-nav verticalmenu flex-column">
  33.                                             {% for menu in menus|filter_regex("/^[a-zA-Z0-9]+ \\d$/") %}
  34.                                                 <li class="aligned-left parent nav-item dropdown {{ menu.description_short in app.request.pathInfo ? "CeLiEstActif" : "" }}">
  35.                                                     <a href="{{ menus|filter(p => menu.reference in p.reference and menu.reference != p.reference)|first.description_short|replace({'.html': ''}) }}"><span class="menu-title text-wrap">{{ menu.name }}</span><b class="caret"></b></a>
  36.                                                     <div class="dropdown-menu" style="width:870px">
  37.                                                         <div class="dropdown-menu-inner">
  38.                                                             <div class="row">
  39.                                                                 <div class="mega-col col-sm-12">
  40.                                                                     <div class="mega-col-inner">
  41.                                                                         <div class="pts-widget">
  42.                                                                             <div class="widget-html block">
  43.                                                                                 <div class="widget-inner"></div>
  44.                                                                             </div>
  45.                                                                         </div>
  46.                                                                     </div>
  47.                                                                 </div>
  48.                                                             </div>
  49.                                                             <div class="row">
  50.                                                                 <div class="mega-col col-sm-12">
  51.                                                                     <div class="mega-col-inner">
  52.                                                                         <div class="pts-widget">
  53.                                                                             <div class="widget-html block">
  54.                                                                                 <div class="widget-inner">
  55.                                                                                     <p class="title">{{ 'application.typique'|trans({}, 'configurateur')|raw }}</p>
  56.                                                                                 </div>
  57.                                                                             </div>
  58.                                                                         </div>
  59.                                                                     </div>
  60.                                                                 </div>
  61.                                                             </div>
  62.                                                             <div class="row">
  63.                                                                 {% for ssmenu in menus|filter(m => menu.reference|lower in m.reference|lower and menu.reference|lower != m.reference|lower) %}
  64.                                                                     <div class="col-12 col-sm-2">
  65.                                                                         <div class="col-12-inner">
  66.                                                                             <div class="pts-widget">
  67.                                                                                 <div class="widget-product block">
  68.                                                                                     <div class="widget-inner ">
  69.                                                                                         <div class="product_block">
  70.                                                                                             <div class="product-container widget-produit-app clearfix">
  71.                                                                                                 <div class="image"><a href="{{ ssmenu.description_short|replace({'.html': ''}) }}" title="Industrie automobile" class="product_image"><img class="img-responsive m-0" src="https://www.sensy.com/{{ ssmenu.id_image }}-cart_default/{{ ssmenu.link_rewrite }}.jpg" alt="{{ ssmenu.name }}"></a></div>
  72.                                                                                                 <div class="product-meta p-0"><a class="name d-inline-block" href="{{ ssmenu.description_short|replace({'.html': ''}) }}">{{ ssmenu.name }}</a></div>
  73.                                                                                             </div>
  74.                                                                                         </div>
  75.                                                                                     </div>
  76.                                                                                 </div>
  77.                                                                             </div>
  78.                                                                         </div>
  79.                                                                     </div>
  80.                                                                 {% endfor %}
  81.                                                             </div>
  82.                                                         </div>
  83.                                                     </div>
  84.                                                 </li>
  85.                                             {% endfor %}
  86.                                         </ul>
  87.                                     </div>
  88.                                 </div>
  89.                             </div>
  90.                         </nav>
  91.                     </div>
  92.                 </div>
  93.             </div>
  94.         </div>
  95.         <div class="col-lg-9 col-md-9 col-12">
  96.             {% for content in contents %}
  97.                 {{ include('macro/productShortcode.html.twig', {'content': content.content}) }}
  98.             {% endfor %}
  99.         </div>
  100.     </div>
  101. {% endblock %}