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:
@@ -365,4 +365,26 @@
|
||||
<field name="url">/theme_treehouse/static/src/img/content/s_intro_pill_default_image_2.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Wavy Grid -->
|
||||
<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_treehouse/static/src/img/backgrounds/02.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_treehouse/static/src/img/backgrounds/05.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_treehouse/static/src/img/backgrounds/06.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_treehouse/static/src/img/backgrounds/16.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/Floats/09','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Floats_09 o_we_animated"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
What we offer to our community
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Customized Conservation Programs
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
We develop tailored conservation strategies to address specific environmental needs. Our team works with you to implement effective solutions that protect and restore nature.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Eco-Friendly Initiatives
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Your support is vital to our mission. Our dedicated team ensures that every initiative is sustainable and impactful, fostering a healthier environment for future generations.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Quality and Impact
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
With extensive expertise and a commitment to conservation, we deliver high-impact projects that make a meaningful difference in preserving natural habitats.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Innovation and Outreach
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
We employ innovative methods and engage with communities to advance our conservation goals. Using the latest practices, we help drive positive environmental change.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user