Files
design-themes/theme_anelusia/views/snippets/s_image_gallery.xml
T

35 lines
1.5 KiB
XML
Raw Normal View History

2021-08-04 14:38:09 +00:00
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_images_wall" inherit_id="website.s_images_wall">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt0 pb0 o_cc o_cc5 o_spc-none" remove="pt24 pb24 o_spc-small" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
</template>
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover o_full_screen_height s_image_gallery_indicators_dots" remove="s_image_gallery_indicators_rounded" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<!-- Item #2 - Img -->
<xpath expr="//div[hasclass('carousel-item')][2]/img" position="attributes">
<attribute name="src">/web/image/website.library_image_16</attribute>
</xpath>
<!-- Item #2 - Indicator -->
<xpath expr="//ul[hasclass('carousel-indicators')]//li[3]" position="attributes">
<attribute name="style">background-image: url(/web/image/website.library_image_16)</attribute>
</xpath>
</template>
</odoo>