mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
committed by
Serge Bayet (seba)
parent
9d99583ab9
commit
9e3ed4d127
@@ -19,6 +19,7 @@
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_title.xml',
|
||||
'views/snippets/s_image_gallery.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_cover.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>
|
||||
@@ -17,6 +17,7 @@
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_picture.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>
|
||||
@@ -21,6 +21,7 @@
|
||||
'views/snippets/s_product_list.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_picture.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>
|
||||
@@ -349,6 +349,17 @@
|
||||
Immerse yourself in a diverse campus community with opportunities for international exchange, cultural enrichment, and personal growth.
|
||||
</xpath>
|
||||
</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 ======== -->
|
||||
<template id="s_features" inherit_id="website.s_features" name="Be Wise s_features">
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
'views/snippets/s_features.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_features_wall.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>
|
||||
@@ -23,6 +23,7 @@
|
||||
'views/snippets/s_showcase.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_features_wall.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_masonry_block.xml',
|
||||
'views/snippets/s_banner.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>
|
||||
@@ -426,5 +426,12 @@
|
||||
Technology that drives success
|
||||
</xpath>
|
||||
</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>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
'views/snippets/s_features_wall.xml',
|
||||
'views/snippets/s_quotes_carousel.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_product_catalog.xml',
|
||||
'views/snippets/s_unveil.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>
|
||||
@@ -15,6 +15,7 @@
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_quotes_carousel.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>
|
||||
@@ -277,6 +277,18 @@
|
||||
</xpath>
|
||||
</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 ===== -->
|
||||
<template id="s_comparisons" inherit_id="website.s_comparisons" name="Paptic s_comparisons">
|
||||
<xpath expr="//section" position="attributes">
|
||||
|
||||
@@ -99,6 +99,18 @@
|
||||
</xpath>
|
||||
</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 ======== -->
|
||||
<template id="s_numbers" inherit_id="website.s_numbers">
|
||||
<!-- Section -->
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_image_gallery.xml',
|
||||
'views/snippets/s_images_wall.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_masonry_block.xml',
|
||||
'views/snippets/s_media_list.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>
|
||||
Reference in New Issue
Block a user