templates/front/theme1/page_plan_site.html.twig line 1

Open in your IDE?
  1. {% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
  2. {% block stylesheets %}
  3.       {{parent()}}
  4. {% endblock %}
  5. {% block body %}
  6.          <div class="page_cms pt-5">
  7.                 
  8.                 <!-- Start Breadcrumb Area -->
  9.                 <div class="breadcrumb-style-default">
  10.                     <div class="container">
  11.                         <div class="row">
  12.                             <div class="col-lg-12">
  13.                                 <div class="inner text-center">
  14.                                     <ol class="breadcrumb d-flex justify-content-center" itemscope itemtype="http://schema.org/BreadcrumbList">
  15.                                      <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="{{path('index_page_home')}}" itemprop="item"><span itemprop="name">Accueil</span></a><meta itemprop="position" content="1" /></li>
  16.                                     <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><span itemprop="name">{{post.title}}</span><meta itemprop="position" content="2" /></li>
  17.                                     </ol>
  18.                                     <h1 class="page-title">{{post.title}}</h1>
  19.                                 </div>
  20.                             </div>
  21.                         </div>
  22.                     </div>
  23.                 </div>
  24.                 <!-- End Breadcrumb Area -->    
  25.                 <div id ="plan_site" class="container-fluid mt-5">
  26.                     <div class="container">
  27.                         {# <div class="row gx-5 py-2">
  28.                             <div class="col-md-12  header text-center">
  29.                                 <h1 class="titre-header">{{post.title}}</h1>
  30.                             </div>
  31.                         </div> #}
  32.                         <div class="row py-2">
  33.                             <div class="col-md-12">
  34.                                 {% if menu_principal is defined and menu_principal is not empty %}
  35.                                     <div class="panel panel-success mb-4">
  36.                                         <div class="panel-heading"><span class="panel-title">Menu principal</span></div>
  37.                                         <div class="panel-body">
  38.                                             <ul>
  39.                                                {% for key,menu in menu_principal %}
  40.                                                     {% if menu.type == 'aucun' %}
  41.                                                         {% set path_href = '#' %}       
  42.                                                     {% elseif menu.type == 'lien' %}
  43.                                                         {% set path_href = menu.url %}
  44.                                                     {% elseif menu.type == 'categorie' or menu.type == 'sous-categorie' or menu.type == 'Post' %}
  45.                                                         {% set path_href = path('page',{slug:menu.slug}) %}
  46.                                                     {% elseif menu.type == 'categorie-product' %}
  47.                                                         {% set path_href = path('list_produit',{slug:menu.slug}) %}
  48.                                                     {% elseif menu.type == 'list-faq' %}
  49.                                                         {% set path_href = path('list_faq',{slug:menu.slug}) %}
  50.                                                     {% elseif menu.type == 'plan-du-site'%}
  51.                                                         {% set path_href = path('plan_du_site') %}
  52.                                                     {% endif %} 
  53.                                                      <li><a href="{{path_href}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}" > > {{menu.title}}</a></li>
  54.                                                {% endfor %}
  55.                                             </ul>  
  56.                                         </div>
  57.                                     </div>
  58.                                 {% endif %}
  59.                                 {% if categories_tree_list is defined and categories_tree_list is not empty %}
  60.                                    <div class="panel panel-success mb-4">
  61.                                         <div class="panel-heading"><span class="panel-title">Liste de catégories</span></div>
  62.                                         <div class="panel-body">
  63.                                             <ul>
  64.                                                {% for key,item in categories_tree_list %}
  65.                                                      <li><a href="{{path('page',{slug:item.slug})}}" title="{{item.titre}}" > > {{item.titre}}</a></li>
  66.                                                {% endfor %}
  67.                                             </ul>  
  68.                                         </div>
  69.                                     </div>
  70.                                 {% endif %} 
  71.        
  72.                                 {% if ListActualites is defined and ListActualites is not empty %}
  73.                                     <div class="panel panel-success mb-4">
  74.                                         <div class="panel-heading"><span class="panel-title">Liste des Actualités</span></div>
  75.                                         <div class="panel-body">
  76.                                             <ul>
  77.                                                {% for key,item in ListActualites %}
  78.                                                      <li><a href="{{path('page',{slug:item.slug})}}" title="{{item.title}}" > > {{item.title}}</a></li>
  79.                                                {% endfor %}
  80.                                             </ul>  
  81.                                         </div>
  82.                                     </div>
  83.                                 {% endif %} 
  84.                                 {% if ListPostNosSolution is defined and ListPostNosSolution is not empty %}
  85.                                     <div class="panel panel-success mb-4">
  86.                                         <div class="panel-heading"><span class="panel-title">Nos solutions</span></div>
  87.                                         <div class="panel-body">
  88.                                             <ul>
  89.                                                {% for key,item in ListPostNosSolution %}
  90.                                                      <li><a href="{{path('page',{slug:item.slug})}}" title="{{item.title}}" > > {{item.title}}</a></li>
  91.                                                {% endfor %}
  92.                                             </ul>  
  93.                                         </div>
  94.                                     </div>
  95.                                 {% endif %} 
  96.                                 {% if ListPostConseils is defined and ListPostConseils is not empty %}
  97.                                     <div class="panel panel-success mb-4">
  98.                                         <div class="panel-heading"><span class="panel-title">Nos conseils</span></div>
  99.                                         <div class="panel-body">
  100.                                             <ul>
  101.                                                {% for key,item in ListPostConseils %}
  102.                                                      <li><a href="{{path('page',{slug:item.slug})}}" title="{{item.title}}" > > {{item.title}}</a></li>
  103.                                                {% endfor %}
  104.                                             </ul>  
  105.                                         </div>
  106.                                     </div>
  107.                                 {% endif %} 
  108.   
  109.                                 
  110.                             </div>
  111.                         </div>
  112.                     </div>
  113.                 </div>
  114.                 {# {{ render(controller('App\\Controller\\Front\\FunctionController::renderDefaultBloc',{ 'alias': 'mini-formulaire' })) }} #}
  115.          </div> 
  116. {{ render(controller('App\\Controller\\Front\\FunctionController::renderTemplateParametrable',{ 'id': 6 })) }}
  117. {% endblock %}