templates/accueil/overview.html.twig line 1
{% set lang = app.request.attributes.get('_locale') %}<div id="overview-main" class="tab-content"><div id="overview_standard" class="overview-tab active"><div class="col-lg-12 col-md-12 col-sm-12 col-12 p-0"><div class="col-inner space-60"><div class="widget-bloglatest"><div class="pts-widget"><div class="widget-latestblog block block-borderbox"><div class="block_content border-0"><div class="boxcarousel widget-content owl-carousel-play" data-ride="owlcarousel">{% if products|length > 3 %}<div class="carousel-controls"><div class="left carousel-control left_carousel disabled"><i class="fa-solid fa-angle-left fa-sm"></i></div><div class="right carousel-control right_carousel"><i class="fa-solid fa-angle-right fa-sm"></i></div></div>{% endif %}<div class="owl-carousel grid owl-theme" data-columns="3" data-pagination="false" data-navigation="true" data-desktop="[1200,3]" data-desktopsmall="[992,2]" data-tablet="[768,1]" data-mobile="[480,1]"><div class="owl-wrapper-outer" style="height: 430px;"><div class="owl-wrapper">{% if products|filter(p => p.category_default != 18) %}{% for product in products %}<div class="owl-item {{ loop.first ? 'active' : '' }}" style="width: 214px;"><div class="item"><div class="blog_container grid clearfix"><div class="product-block position-relative" itemscope="" itemtype="https://schema.org/Product" style="position: static; margin-right: 0px; margin-left: 0px;"><div class="product-container"><div class="Certifications">{% for supplier in product.suppliers|split(',') %}{% set imagePath = '../../../ps/img/su/' ~ product.id_suppliers|split(',')[loop.index0] %}{% set imageName = product.id_suppliers|split(',')[loop.index0] %}{% set imageExtension = (imageName == '4') ? 'png' : 'jpg' %}<img width="20px" height="20px" src="{{ imagePath ~ '.' ~ imageExtension }}" alt="{{ supplier }}" title="{{ supplier }}">{% endfor %}</div><div class="left-block"><div class="product-image-container image"><a class="img product_img_link" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" title="{{ product.name }}" itemprop="url"><img class="replace-2x img-responsive pts-image" src="https://www.sensy.com/{{ product.id_image1 }}-home_default/{{ product.link_rewrite }}.jpg" alt="{{ product.legend1 }}" title="{{ product.legend1 }}" itemprop="image"></a>{% if product.id_image2 %}<span class="hover-image"><a class="img-back product_img_link" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" title="{{ product.name }}"><img class="replace-2x img-responsive pts-image" src="https://www.sensy.com/{{ product.id_image2 }}-home_default/{{ product.link_rewrite }}.jpg" alt="{{ product.legend2 }}" title="{{ product.legend2 }}" width="370" height="340"></a></span>{% endif %}</div><div class="product-label-wrap"></div><div class="color-list-container product-colors"></div></div><div class="right-block"><div class="product-meta"><h4 class="name" itemprop="sku"> <a class="product-name" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" title="{{ product.name }}" itemprop="url">{{ product.reference }}</a></h4><div class="product-desc description" itemprop="name"> {{ product.name }}</div><div class="clearfix product-box"></div></div><div class="button-container action" style="padding-left: 20%;"><div><div class="pts-atchover"><a class="btn" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" data-id-product="{{ product.id_product }}" title="{{ 'details'|trans({}, 'configurateur')|raw }}"><i class="fas fa-search"></i></a></div><div class="pts-atchover"><a class="btn " href="//files.sensy.com/datasheets/{{ product.file_name }}" target="_blank" title="{{ 'datasheet'|trans({}, 'configurateur')|raw }}"><i class="fas fa-download"></i></a></div><div class="pts-atchover"><a class="btn add_to_compare" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" data-id-product="{{ product.id_product }}" title="{{ 'add.compare'|trans({}, 'configurateur')|raw }}"><i class="fas fa-sync-alt"></i></a></div></div></div></div></div><div class="SousProduit ShadowBox" style="display: none;"><table class="mx-1"><tbody>{% if product.attr_prec %}<tr><td>{{ 'precision'|trans({}, 'configurateur')|raw }}</td><td>{{ product.attr_prec|replace({',': ', '})|truncate(25) }}</td></tr>{% endif %}{% if product.attr_cap %}<tr><td>{{ 'capacite'|trans({}, 'configurateur')|raw }}</td><td>{{ product.attr_cap|replace({',': ', '})|truncate(25) }}</td></tr>{% endif %}<tr><td colspan="2" class="TableDescription" itemprop="description">{{ product.description|raw }}</td></tr></tbody></table></div><div itemprop="brand" itemscope="" itemtype="https://schema.org/Brand"><meta itemprop="name" content="SENSY"></div><div itemprop="offers" itemscope="" itemtype="https://schema.org/Offer"><meta itemprop="price" content=""><meta itemprop="priceCurrency" content="EUR"><link itemprop="availability" href="https://schema.org/InStock"><meta itemprop="url" content="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}"></div></div></div></div></div>{% endfor %}{% else %}{% for product in products %}<div class="owl-item {{ loop.first ? 'active' : '' }}" style="width: 250px;"><div class="item"><div class="blog_container grid clearfix"><div class="product-block position-relative" itemscope="" itemtype="https://schema.org/Product" style="position: static; margin-right: 0px; margin-left: 0px;"><div class="product-container"><div class="Certifications">{% for supplier in product.suppliers|split(',') %}{% set imagePath = '../../../ps/img/su/' ~ product.id_suppliers|split(',')[loop.index0] %}{% set imageName = product.id_suppliers|split(',')[loop.index0] %}{% set imageExtension = (imageName == '4') ? 'png' : 'jpg' %}<img width="20px" height="20px" src="{{ imagePath ~ '.' ~ imageExtension }}" alt="{{ supplier }}" title="{{ supplier }}">{% endfor %}</div><div class="left-block"><div class="product-image-container image"><a class="img product_img_link" href="/{{ lang }}/instrumentation/{{ product.link_rewrite }}" title="{{ product.name }}" itemprop="url"><img class="replace-2x img-responsive pts-image" src="https://www.sensy.com/{{ product.id_image1 }}-home_default/{{ product.link_rewrite }}.jpg" alt="{{ product.legend1 }}" title="{{ product.legend1 }}" itemprop="image"></a>{% if product.id_image2 %}<span class="hover-image"><a class="img-back product_img_link" href="/{{ lang }}/instrumentation/{{ product.link_rewrite }}" title="{{ product.name }}"><img class="replace-2x img-responsive pts-image" src="https://www.sensy.com/{{ product.id_image2 }}-home_default/{{ product.link_rewrite }}.jpg" alt="{{ product.legend2 }}" title="{{ product.legend2 }}" width="370" height="340"></a></span>{% endif %}</div><div class="product-label-wrap"></div><div class="color-list-container product-colors"></div></div><div class="right-block"><div class="product-meta"><h4 class="name" itemprop="sku"> <a class="product-name" href="/{{ lang }}/instrumentation/{{ product.link_rewrite }}" title="{{ product.name }}" itemprop="url">{{ product.reference }}</a></h4><div class="product-desc description" itemprop="name"> {{ product.name }}</div><div class="clearfix product-box"></div></div><div class="button-container action" style="padding-left: 20%;"><div><div class="pts-atchover"><a class="btn" href="/{{ lang }}/instrumentation/{{ product.link_rewrite }}" data-id-product="{{ product.id_product }}" title="{{ 'details'|trans({}, 'configurateur')|raw }}"><i class="fas fa-search"></i></a></div><div class="pts-atchover"><a class="btn " href="//files.sensy.com/datasheets/{{ product.file_name }}" target="_blank" title="{{ 'datasheet'|trans({}, 'configurateur')|raw }}"><i class="fas fa-download"></i></a></div><div class="pts-atchover"><a class="btn add_to_compare" href="/{{ lang }}/instrumentation/{{ product.link_rewrite }}" data-id-product="{{ product.id_product }}" title="{{ 'add.compare'|trans({}, 'configurateur')|raw }}"><i class="fas fa-sync-alt"></i></a></div></div></div></div></div><div class="SousProduit ShadowBox" style="display: none;"><table class="mx-1"><tbody>{% if product.attr_prec %}<tr><td>{{ 'precision'|trans({}, 'configurateur')|raw }}</td><td>{{ product.attr_prec|replace({',': ', '})|truncate(25) }}</td></tr>{% endif %}{% if product.attr_cap %}<tr><td>{{ 'capacite'|trans({}, 'configurateur')|raw }}</td><td>{{ product.attr_cap|replace({',': ', '})|truncate(25) }}</td></tr>{% endif %}<tr><td colspan="2" class="TableDescription" itemprop="description">{{ product.description|raw }}</td></tr></tbody></table></div><div itemprop="brand" itemscope="" itemtype="https://schema.org/Brand"><meta itemprop="name" content="SENSY"></div><div itemprop="offers" itemscope="" itemtype="https://schema.org/Offer"><meta itemprop="price" content=""><meta itemprop="priceCurrency" content="EUR"><link itemprop="availability" href="https://schema.org/InStock"><meta itemprop="url" content="/{{ lang }}/instrumentation/{{ product.link_rewrite }}"></div></div></div></div></div>{% endfor %}{% endif %}</div></div></div></div></div></div></div></div></div></div></div><div id="overview_sm" class="overview-tab d-none"><div class="col-lg-12 col-md-12 col-sm-12 col-12 p-0"><div class="col-inner space-60"><div class="widget-bloglatest"><div class="pts-widget"><div class="widget-latestblog block block-borderbox"><div class="block_content border-0"><div class=" boxcarousel widget-content owl-carousel-play" data-ride="owlcarousel">{% if smProducts|length > 3 %}<div class="carousel-controls"><div class="left carousel-control left_carousel disabled"><i class="fa-solid fa-angle-left fa-sm"></i></div><div class="right carousel-control right_carousel"><i class="fa-solid fa-angle-right fa-sm"></i></div></div>{% endif %}<div class="owl-carousel grid owl-theme" data-columns="3" data-pagination="false" data-navigation="true" data-desktop="[1200,3]" data-desktopsmall="[992,2]" data-tablet="[768,1]" data-mobile="[480,1]"><div class="owl-wrapper-outer" style="height: 430px;"><div class="owl-wrapper">{% for product in smProducts %}<div class="owl-item {{ loop.first ? 'active' : '' }}" style="width: 214px;"><div class="item"><div class="blog_container grid clearfix"><div class="product-block position-relative" itemscope="" itemtype="https://schema.org/Product" style="position: static; margin-right: 0px; margin-left: 0px;"><div class="product-container"><div class="left-block"><div class="product-image-container image"><a class="img product_img_link" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" title="{{ product.name }}" itemprop="url"><img class="replace-2x img-responsive pts-image" src="https://www.sensy.com/{{ product.id_image1 }}-home_default/{{ product.link_rewrite }}.jpg" alt="{{ product.legend1 }}" title="{{ product.legend1 }}" itemprop="image"></a></div><div class="product-label-wrap"></div><div class="color-list-container product-colors"></div></div><div class="right-block"><div class="product-meta"><h4 class="name" itemprop="sku"> <a class="product-name" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" title="{{ product.name }}" itemprop="url">{{ product.reference }}</a></h4><div class="product-desc description" itemprop="name"> {{ product.name }}</div><div class="clearfix product-box"></div></div><div class="button-container action" style="padding-left: 20%;"><div><div class="pts-atchover"><a class="btn" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" data-id-product="{{ product.id_product }}" title="{{ 'details'|trans({}, 'configurateur')|raw }}"><i class="fas fa-search"></i></a></div><div class=""><div class="btn"><i class="fas fa-download text-gray"></i></div></div><div class="pts-atchover"><a class="btn add_to_compare" href="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}" data-id-product="{{ product.id_product }}" title="{{ 'add.compare'|trans({}, 'configurateur')|raw }}"><i class="fas fa-sync-alt"></i></a></div></div></div></div></div><div itemprop="brand" itemscope="" itemtype="https://schema.org/Brand"><meta itemprop="name" content="SENSY"></div><div itemprop="offers" itemscope="" itemtype="https://schema.org/Offer"><meta itemprop="price" content=""><meta itemprop="priceCurrency" content="EUR"><link itemprop="availability" href="https://schema.org/InStock"><meta itemprop="url" content="/{{ lang }}/capteurs-de-force/{{ product.link_rewrite }}"></div></div></div></div></div>{% endfor %}</div></div></div></div></div></div></div></div></div></div></div></div>