mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -37,6 +37,7 @@
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
'views/snippets/s_image_frame.xml',
|
||||
'views/snippets/s_wavy_grid.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -250,5 +250,25 @@
|
||||
<field name="name">website.s_intro_pill_default_image_2</field>
|
||||
<field name="url">/theme_enark/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_enark/static/src/img/snippets/library_image_14.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_enark/static/src/img/snippets/library_image_16.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_enark/static/src/img/snippets/s_carousel_3.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_enark/static/src/img/snippets/library_image_15.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
<?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="data-oe-shape-data">{'shape':'web_editor/Airy/02','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Airy_02"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
What we build for our clients
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Customized Projects
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
We design and construct tailored solutions to meet your specific needs. Our team collaborates with you to ensure a seamless process from blueprint to completion.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Sustainable Construction
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Your satisfaction is our foundation. Our team is always ready to assist, ensuring that your project is both efficient and environmentally friendly.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Quality and Precision
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
With extensive experience and deep industry knowledge, we deliver construction solutions that meet the highest standards of quality and precision.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Expertise and Innovation
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
We incorporate cutting-edge techniques and materials to ensure your project is built to last. Leveraging the latest advancements, we help you realize your vision.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user