[IMP] theme_*: adapt s_wavy_grid
This commit adapts customizations for `s_wavy_grid`, added in https://github.com/odoo/odoo/pull/177620 task-4105125 Part of task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
'views/snippets/s_wavy_grid.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -281,5 +281,25 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
|
||||
<field name="name">website.s_intro_pill_default_image_2</field>
|
||||
<field name="url">/theme_real_estate/static/src/img/snippets/s_intro_pill_default_image_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_1</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_1</field>
|
||||
<field name="url">/theme_real_estate/static/src/img/snippets/library_image_07.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_2</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_2</field>
|
||||
<field name="url">/theme_real_estate/static/src/img/snippets/library_image_11.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_3</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_3</field>
|
||||
<field name="url">/theme_real_estate/static/src/img/snippets/s_images_wall_04.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_4</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_4</field>
|
||||
<field name="url">/theme_real_estate/static/src/img/snippets/s_images_wall_01.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_wavy_grid" inherit_id="website.s_wavy_grid">
|
||||
<!-- Layout -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc2"/>
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/09_001','colors':{'c3':'o-color-4'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Origins_09_001" style="background-image: url('/web_editor/shape/web_editor/Origins/09_001.svg?c3=o-color-4');"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
What we offer to our clients
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Tailored Property Solutions
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
We provide personalized real estate services to match your unique needs. Our team works with you to find the perfect property and guide you through every step of the process.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Sustainable Living Options
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Your satisfaction and sustainability are our goals. Our experienced agents are always available to assist, ensuring you find eco-friendly properties that meet your needs.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Quality and Expertise
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
With extensive market knowledge and industry experience, we offer insights and services that help you make informed decisions and secure the best deals.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Innovation and Service
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
We utilize the latest technology and innovative approaches to enhance your property search. Our dedicated team ensures a seamless experience from start to finish.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user