[IMP] theme_*: adapt themes with new s_sidegrid snippet

*: (anelusia, artists, aviato, beauty, bewise, bistro, bookstore, enark,
graphene, kiddo, loftspace, monglia, notes, real_estate, vehicle, yes,
zap)

This commit adapts the design of new `s_sidegrid` snippet for
multiple themes.

task-4077589

closes odoo/design-themes#853

Related: odoo/odoo#175616
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-03 18:31:11 +02:00
parent 0da1e3ed9e
commit 6fc1519894
30 changed files with 367 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@
'views/snippets/s_image_gallery.xml',
'views/snippets/s_call_to_action.xml',
'views/snippets/s_features_wall.xml',
'views/snippets/s_sidegrid.xml',
'views/snippets/s_features_grid.xml',
'views/snippets/s_product_list.xml',
'views/snippets/s_parallax.xml',
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_sidegrid" inherit_id="website.s_sidegrid">
<!-- Images -->
<xpath expr="//img" position="attributes">
<attribute name="class" remove="rounded" separator=" "/>
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
</xpath>
<xpath expr="(//img)[2]" position="attributes">
<attribute name="class" remove="rounded" separator=" "/>
<attribute name="src">/web/image/website.s_banner_default_image_2</attribute>
</xpath>
<xpath expr="(//img)[3]" position="attributes">
<attribute name="class" remove="rounded" separator=" "/>
<attribute name="src">/web/image/website.s_banner_default_image</attribute>
</xpath>
<xpath expr="(//img)[4]" position="attributes">
<attribute name="class" remove="rounded" separator=" "/>
</xpath>
</template>
</odoo>