Files
design-themes/theme_buzzy/views/snippets/s_cta_box.xml
T
Augustin (duau) a71f0184b8 [REF] theme_*: change web_editor shape route to html_editor route
*: test_themes, theme_anelusia, theme_artists, theme_avantgarde,
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_loftspace, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap

Part-of: odoo/design-themes#1129
Related: odoo/odoo#222471
Related: odoo/enterprise#92087
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-09-09 09:00:00 +00:00

42 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cta_box" inherit_id="website.s_cta_box">
<!-- Card -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc4" separator=" "/>
<attribute name="style" add="border-radius: 12px !important;" separator=";"/>
<attribute name="data-oe-shape-data">{'shape':'html_builder/Blobs/02','colors':{'c1':'o-color-1','c2':'o-color-5'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('card-body')]" position="before">
<div class="o_we_shape o_html_builder_Blobs_02" style="background-image: url('/html_editor/shape/html_builder/Blobs/02.svg?c1=o-color-1&amp;c2=o-color-5');"/>
</xpath>
<xpath expr="//div[hasclass('card-body')]" position="attributes">
<attribute name="style">text-align: center;</attribute>
</xpath>
<xpath expr="//figure" position="replace"/>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Discover our<br/>different open-spaces
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
Looking for a place to work ? We got you covered<br/><br/>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
Learn more
</xpath>
</template>
<template id="configurator_s_cta_box" inherit_id="website.configurator_s_cta_box">
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="data-oe-shape-data">{'shape':'html_builder/Blobs/10_002','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
<div class="o_we_shape o_html_builder_Blobs_10_002" style="background-image: url('/html_editor/shape/html_builder/Blobs/10_002.svg?c5=o-color-1');"/>
</xpath>
</template>
</odoo>