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_framed_intro snippet
*: (artists, aviato, beauty, kea, kiddo, nano, notes, orchid, vehicle, yes, zap) This commit adapts the design of new `s_framed_intro` snippet for multiple themes. task-4077595 closes odoo/design-themes#852 Related: odoo/odoo#175612 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_parallax.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Emotions through the colors
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -11,6 +11,7 @@
|
||||
'data/ir_asset.xml',
|
||||
'views/images_library.xml',
|
||||
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -20,6 +20,7 @@
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_sidegrid.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_product_list.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Working beauty from the inside out
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_1</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -11,6 +11,7 @@
|
||||
'data/ir_asset.xml',
|
||||
'views/images_content.xml',
|
||||
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -11,6 +11,7 @@
|
||||
'data/ir_asset.xml',
|
||||
'views/images_library.xml',
|
||||
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
A Safe Place to Grow: Play, Learn, and Thrive
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -11,6 +11,7 @@
|
||||
'data/ir_asset.xml',
|
||||
'views/images_library.xml',
|
||||
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" remove="o_cc o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_picture_default_image</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -24,6 +24,7 @@
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_title.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Unplug & Unwind: The Ultimate Music Experience
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -28,6 +28,7 @@
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_product_catalog.xml',
|
||||
'views/snippets/s_unveil.xml',
|
||||
'views/snippets/s_quadrant.xml',
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Blossoms for Every Moment: Fresh, Vibrant, and Beautiful
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -24,6 +24,21 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== FRAMED INTRO ======== -->
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Drive Your Dream: Quality Cars for Every Journey
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_1</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== TEXT - IMAGE ======== -->
|
||||
<template id="s_text_image" inherit_id="website.s_text_image" name="Vehicle s_text_image">
|
||||
<xpath expr="//section" position="attributes">
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
'views/snippets/s_images_wall.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_masonry_block.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_media_list.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_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Creating Unforgettable Moments: Your Dream Wedding Awaits
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_image_text_default_image</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -29,6 +29,7 @@
|
||||
'views/snippets/s_image_gallery.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_quadrant.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_unveil.xml',
|
||||
'views/snippets/s_numbers_showcase.xml',
|
||||
'views/snippets/s_key_benefits.xml',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_masonry_block_default_image_1</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user