templates/Theme/Produit/Service/Service/articleapropos.html.twig line 1

Open in your IDE?
  1. <div style="background: #90acd1;">
  2.     <div class="container" style="overflow: hidden;">
  3.         <div class="row" style="margin: 15px 0px;">
  4.         <div class="col-md-12">
  5.         {% if is_mobile() %}
  6.         <ol class="c-navigation-breadcrumbs__directory">
  7.             <!-- Duplicating the "Home" link in both the global navigation and the breadcrumb trail is not recommended. -->
  8.             <li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
  9.               <a class="c-navigation-breadcrumbs__link" href="" property="item" typeof="WebPage">
  10.                 <span class="u-visually-hidden" property="name"><span class="fa fa-home"> </span> Accueil</span>
  11.               </a>
  12.               <meta property="position" content="1">
  13.             </li>
  14.     
  15.             <li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
  16.               <a class="c-navigation-breadcrumbs__link" href="" property="item" typeof="WebPage">
  17.                 <span property="name"> L'entreprise</span>
  18.               </a>
  19.               <meta property="position" content="2">
  20.             </li>
  21.     
  22.             <li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
  23.               <a class="c-navigation-breadcrumbs__link" href="#!" property="item" aria-current="location">
  24.                 <span property="name">À propos de  nous </span>
  25.               </a>
  26.               <meta property="position" content="3">
  27.             </li>
  28.         </ol>
  29.         {% else %}
  30.         <div style="padding: 20px 0px;">
  31.             <ul class="breadcrumbs">
  32.               <li><a href="{{ path('users_user_acces_plateforme') }}"><span class="fa fa-home"></span> Accueil</a></li>
  33.               <li><a > L'entreprise</a></li>
  34.               <li>À propos de nous</li>
  35.             </ul>
  36.         </div>
  37.         {% endif %}
  38.       </div>
  39.       
  40.       
  41.       </div>
  42.     
  43.       
  44.     </div>
  45.     </div>
  46.     <div style="background-image: linear-gradient(-1deg, #F6FCFF 0%, #EAF7FF 98%);">
  47.         <div class="container" style="height: 20px;">
  48.           
  49.         </div>
  50.     </div>
  51. <div class="container" style="min-height: 500px;">
  52.     <div class="row">
  53.         <div class="col-md-12">
  54.             <h2 style="margin-top: 10px; margin-bottom: -10px; padding-top: 0px;">Six bonnes raisons pour installer AFH Factory maintenant
  55.             <a href="/1" class="btn btn-primary pull-right"><span class="fa fa-arrow-circle-o-down"></span> Installer</a>
  56.             </h2><hr>
  57.         </div>
  58.     </div>
  59.       <div class="" style="width: 100%!important;">
  60.         <div class="cards" style="width: 100%!important;">
  61.         {% for service in liste_article %}
  62.           {% if loop.index is odd %}
  63.           <div class="col-xs-12 col-md-12" style="padding: 0px;">
  64.             <div class="card card2 card-fw card-row-layout" style="min-width: 100%!important; box-shadow: none;">
  65.               <a href="{{ path('produit_service_detail_article_central', {'id': service.id }) }}" class="toggle-overlay-article" value="{{ service.id }}">
  66.                   <img class="card-img-top" src="{% if service.imgservice != null %}{{ asset(service.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin.png') }}{% endif %}" alt="{{ service.nom }}">
  67.                 <div class="card-body">
  68.                   <span class="card-title">{{ service.nom }}</span>
  69.                   <p class="card-text">{{ service.description }}</p>
  70.                   <button  class="flat-busness" style="font-size: 12px;">
  71.                     Consulter <span class="fa fa-check-circle"></span>
  72.                   </button>
  73.                 </div>
  74.                 <div class="card-footer">
  75.                   <span class="vfi vfi-fleche-droite" aria-hidden="true"></span>
  76.                 </div>
  77.               </a>
  78.             </div>
  79.           </div>
  80.           {% else %}
  81.           <div class="col-xs-12 col-md-12" style="padding: 0px;">
  82.             <a href="{{ path('produit_service_detail_article_central', {'id': service.id }) }}" class="banner" aria-label="Shop now">
  83.                 <div class="banner__grid">
  84.                   <div aria-hidden="true">
  85.                     <figure class="banner__figure" style="background-image: url({% if service.imgservice != null %}{{ asset(service.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin.png') }}{% endif %});"></figure>
  86.                   </div>
  87.               
  88.                   <div class="banner__text">
  89.                     <h2>{{ service.nom }}</h2>
  90.                     <p>{{ service.description }}</p>
  91.               
  92.                     <p class="banner__link-wrapper">
  93.                       <span class="banner__link">
  94.                         <i>Consulter <span class="fa fa-check-circle"></span></i>
  95.                       </span>
  96.                     </p>
  97.                   </div>
  98.                 </div>
  99.               </a>
  100.           </div>
  101.           {% endif %}
  102.       {% else %}
  103.         <div style="height: 400px; padding-top: 100px; background: #fff; margin-bottom: 15px;">
  104.             <div style="text-align: center; display: block; width: 100%!important;">
  105.             <span class="fa fa-frown-o"></span> Aucune données disponible pour cette requête.</br>
  106.             <hr style="width: 100px; border-bottom: 1px solid red;">
  107.             </div>
  108.         </div>
  109.       {% endfor %}
  110.     </div>
  111.     </div>
  112. </div>
  113. <div class="container mt-3">
  114.     <div class="menu-ui "style="border-radius: 0px; margin-bottom: 10px; padding: 15px;">
  115.         <span class="clearfix"></span>
  116.         {% if nombrepage > 0 %}
  117.         {% if page > 1 and page <= nombrepage %}
  118.         {% set pagepre = page - 1 %}
  119.         {% else %}
  120.             {% set pagepre = nombrepage %}
  121.         {% endif %}
  122.         {% if page < nombrepage %}
  123.             {% set pagesuiv = page + 1 %}
  124.         {% else %}
  125.             {% set pagesuiv =  1 %}
  126.         {% endif %}
  127.         {% if nombrepage < 5 %}
  128.             {% set debut = 1 %}
  129.             {% set fin = nombrepage %}
  130.         {% else %}
  131.             {% if page > 2 and page < (nombrepage - 2) %}
  132.                 {% set debut = page - 2 %}
  133.                 {% if page + 2 >= nombrepage %}
  134.                     {% set fin = nombrepage %}
  135.                 {% else %}
  136.                     {% set fin = page + 2 %}
  137.                 {% endif %}
  138.             {% else %}
  139.                 {% if page <= 2 %}
  140.                     {% if page == 1 %}
  141.                         {% set debut = 1 %}
  142.                         {% set fin = page + 3 %}
  143.                     {% else %}
  144.                         {% set debut = 1 %}
  145.                         {% set fin = page + 2 %}
  146.                     {% endif %}
  147.                 {% else %}
  148.                     {% set debut = page - 2 %}
  149.                     {% if page + 2 >= nombrepage %}
  150.                         {% set fin = nombrepage %}
  151.                     {% else %}
  152.                         {% set fin = page + 2 %}
  153.                     {% endif %}
  154.                 {% endif %}
  155.             {% endif %}
  156.         {% endif %}
  157.         <div>
  158.            <nav class="pagination" role="navigation">
  159.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': 1 }) }}" title="Première page" style=""><span class="fa fa-fast-backward" style="font-size: 13px;"></span></a>
  160.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': pagepre }) }}" title="Page précedente" style=""><span class="fa fa-step-backward" style="font-size: 13px;"></span></a>
  161.                 {% for p in debut..fin %}
  162.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': p }) }}" class="{% if p == page %}active{% endif %}" style="margin: 4px 0px;">{{ p }}</a>
  163.                 {% endfor %}
  164.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': pagesuiv }) }}"  title="Page suivante"><span class="fa fa-step-forward" style="font-size: 13px;"></span></a>
  165.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': nombrepage }) }}" title="Dernière page"><span class="fa fa-fast-forward" style="font-size: 13px;"></span></a>
  166.             </nav>
  167.         <div class="clearfix"></div>
  168.         </div>
  169.         {% else %}
  170.         <div>
  171.            <nav class="pagination" role="navigation">
  172.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Première page" style=""><span class="fa fa-fast-backward" style="font-size: 13px;"></span></a>
  173.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Page précedente" style=""><span class="fa fa-step-backward" style="font-size: 13px;"></span></a>
  174.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" class="active" style="">0</a>
  175.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}"  title="Page suivante"><span class="fa fa-step-forward" style="font-size: 13px;"></span></a>
  176.                 <a href="{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}" title="Dernière page"><span class="fa fa-fast-forward" style="font-size: 13px;"></span></a>
  177.            </nav>
  178.         <div class="clearfix"></div>
  179.         </div>
  180.         {% endif %}
  181.     </div>
  182. </div>