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

*: (artists, aviato, beauty, bistro, bewise, bookstore, cobalt, kiddo,
orchid, paptic, vehicle, yes)

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

Part of task-4077427
task-4105331

closes odoo/design-themes#861

Related: odoo/odoo#176290
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-09 12:24:45 +02:00
committed by Serge Bayet (seba)
parent 9d99583ab9
commit 9e3ed4d127
20 changed files with 162 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@
'views/snippets/s_carousel.xml', 'views/snippets/s_carousel.xml',
'views/snippets/s_title.xml', 'views/snippets/s_title.xml',
'views/snippets/s_image_gallery.xml', 'views/snippets/s_image_gallery.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_banner.xml', 'views/snippets/s_banner.xml',
'views/snippets/s_cover.xml', 'views/snippets/s_cover.xml',
'views/snippets/s_features.xml', 'views/snippets/s_features.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -17,6 +17,7 @@
'views/snippets/s_image_text.xml', 'views/snippets/s_image_text.xml',
'views/snippets/s_freegrid.xml', 'views/snippets/s_freegrid.xml',
'views/snippets/s_text_image.xml', 'views/snippets/s_text_image.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_three_columns.xml', 'views/snippets/s_three_columns.xml',
'views/snippets/s_picture.xml', 'views/snippets/s_picture.xml',
'views/snippets/s_popup.xml', 'views/snippets/s_popup.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -21,6 +21,7 @@
'views/snippets/s_product_list.xml', 'views/snippets/s_product_list.xml',
'views/snippets/s_banner.xml', 'views/snippets/s_banner.xml',
'views/snippets/s_image_text.xml', 'views/snippets/s_image_text.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_numbers.xml', 'views/snippets/s_numbers.xml',
'views/snippets/s_picture.xml', 'views/snippets/s_picture.xml',
'views/snippets/s_pricelist_boxed.xml', 'views/snippets/s_pricelist_boxed.xml',
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+11
View File
@@ -349,6 +349,17 @@
Immerse yourself in a diverse campus community with opportunities for international exchange, cultural enrichment, and personal growth. Immerse yourself in a diverse campus community with opportunities for international exchange, cultural enrichment, and personal growth.
</xpath> </xpath>
</template> </template>
<!-- ======== IMAGE PUNCHY ======== -->
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc3" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_1</attribute>
</xpath>
</template>
<!-- ======== FEATURES ======== --> <!-- ======== FEATURES ======== -->
<template id="s_features" inherit_id="website.s_features" name="Be Wise s_features"> <template id="s_features" inherit_id="website.s_features" name="Be Wise s_features">
+1
View File
@@ -20,6 +20,7 @@
'views/snippets/s_features.xml', 'views/snippets/s_features.xml',
'views/snippets/s_image_text.xml', 'views/snippets/s_image_text.xml',
'views/snippets/s_freegrid.xml', 'views/snippets/s_freegrid.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_media_list.xml', 'views/snippets/s_media_list.xml',
'views/snippets/s_features_wall.xml', 'views/snippets/s_features_wall.xml',
'views/snippets/s_numbers.xml', 'views/snippets/s_numbers.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -23,6 +23,7 @@
'views/snippets/s_showcase.xml', 'views/snippets/s_showcase.xml',
'views/snippets/s_freegrid.xml', 'views/snippets/s_freegrid.xml',
'views/snippets/s_features_wall.xml', 'views/snippets/s_features_wall.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_masonry_block.xml', 'views/snippets/s_masonry_block.xml',
'views/snippets/s_banner.xml', 'views/snippets/s_banner.xml',
'views/snippets/s_numbers.xml', 'views/snippets/s_numbers.xml',
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+7
View File
@@ -426,5 +426,12 @@
Technology that drives success Technology that drives success
</xpath> </xpath>
</template> </template>
<!-- ======== IMAGE PUNCHY ======== -->
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc1" separator=" "/>
</xpath>
</template>
</odoo> </odoo>
+1
View File
@@ -24,6 +24,7 @@
'views/snippets/s_features_wall.xml', 'views/snippets/s_features_wall.xml',
'views/snippets/s_quotes_carousel.xml', 'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_text_image.xml', 'views/snippets/s_text_image.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_product_catalog.xml', 'views/snippets/s_product_catalog.xml',
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml', 'views/snippets/s_numbers_showcase.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -15,6 +15,7 @@
'views/snippets/s_cover.xml', 'views/snippets/s_cover.xml',
'views/snippets/s_text_image.xml', 'views/snippets/s_text_image.xml',
'views/snippets/s_image_text.xml', 'views/snippets/s_image_text.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_three_columns.xml', 'views/snippets/s_three_columns.xml',
'views/snippets/s_quotes_carousel.xml', 'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_features_wall.xml', 'views/snippets/s_features_wall.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc1" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+12
View File
@@ -277,6 +277,18 @@
</xpath> </xpath>
</template> </template>
<!-- ==== Image Punchy ===== -->
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc4" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_parallax_default_image</attribute>
</xpath>
</template>
<!-- ==== Comparisons ===== --> <!-- ==== Comparisons ===== -->
<template id="s_comparisons" inherit_id="website.s_comparisons" name="Paptic s_comparisons"> <template id="s_comparisons" inherit_id="website.s_comparisons" name="Paptic s_comparisons">
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
+12
View File
@@ -99,6 +99,18 @@
</xpath> </xpath>
</template> </template>
<!-- ======== IMAGE PUNCHY ======== -->
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc3" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_2</attribute>
</xpath>
</template>
<!-- ======== NUMBERS ======== --> <!-- ======== NUMBERS ======== -->
<template id="s_numbers" inherit_id="website.s_numbers"> <template id="s_numbers" inherit_id="website.s_numbers">
<!-- Section --> <!-- Section -->
+1
View File
@@ -20,6 +20,7 @@
'views/snippets/s_image_text.xml', 'views/snippets/s_image_text.xml',
'views/snippets/s_image_gallery.xml', 'views/snippets/s_image_gallery.xml',
'views/snippets/s_images_wall.xml', 'views/snippets/s_images_wall.xml',
'views/snippets/s_image_punchy.xml',
'views/snippets/s_masonry_block.xml', 'views/snippets/s_masonry_block.xml',
'views/snippets/s_media_list.xml', 'views/snippets/s_media_list.xml',
'views/snippets/s_picture.xml', 'views/snippets/s_picture.xml',
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_punchy" inherit_id="website.s_image_punchy">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc2" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_1</attribute>
</xpath>
</template>
</odoo>