mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_anelusia, *: adapt s_key_images
*: theme_aviato, theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap This commit adapts customizations for `s_key_images`, added in https://github.com/odoo/odoo/pull/177463 task-4105059 Part of task-4077427 closes odoo/design-themes#878 Related: odoo/odoo#177463 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_image_title.xml',
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -220,6 +220,26 @@ Check in theme_loftspace's primary_variables.scss and theme.scss -->
|
||||
<field name="name">website.s_accordion_image_default_image</field>
|
||||
<field name="url">/theme_odoo_experts/static/src/img/snippets/s_media_list_1.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_1</field>
|
||||
<field name="name">website.s_key_images_default_image_1</field>
|
||||
<field name="url">/theme_odoo_experts/static/src/img/snippets/s_product_list_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_2</field>
|
||||
<field name="name">website.s_key_images_default_image_2</field>
|
||||
<field name="url">/theme_odoo_experts/static/src/img/snippets/s_product_list_3.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_3</field>
|
||||
<field name="name">website.s_key_images_default_image_3</field>
|
||||
<field name="url">/theme_odoo_experts/static/src/img/snippets/s_product_list_4.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_4</field>
|
||||
<field name="name">website.s_key_images_default_image_4</field>
|
||||
<field name="url">/theme_odoo_experts/static/src/img/snippets/s_product_list_5.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Use custom records to prevent some images from changing by the Configurator -->
|
||||
<record id="s_image_text_device" model="theme.ir.attachment">
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_key_images" inherit_id="website.s_key_images">
|
||||
<!-- Layout -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/06_001','colors':{'c3':'o-color-1','c4':'o-color-5'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_06_001" style="background-image: url('/web_editor/shape/web_editor/Origins/06_001.svg?c3=o-color-1&c4=o-color-5');"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Driving Success Through Innovation
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
Empowering Businesses to Reach New Heights
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-3')]//p[3]" position="replace" mode="inner">
|
||||
Customized solutions for your business needs
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-3')])[2]//p[3]" position="replace" mode="inner">
|
||||
Expert advice to navigate complex challenges
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-3')])[3]//p[3]" position="replace" mode="inner">
|
||||
Proven strategies for sustainable growth
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-3')])[4]//p[3]" position="replace" mode="inner">
|
||||
Partner with us to unlock your potential
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user