Files
design-themes/theme_aviato/views/snippets/s_cover.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

39 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt192 pb192" remove="pt232 pb232 s_parallax_is_fixed" separator=" "/>
</xpath>
<xpath expr="//span[hasclass('s_parallax_bg')]" position="replace">
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 50%;"/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Travel to any corner <br/>of the world
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
<b>A travel agent helps you to plan your <br/> trip from start to finish.</b>
<br/>
</xpath>
<!-- Button -->
<xpath expr="//a" position="replace" mode="inner">
Plan your trip with us
</xpath>
</template>
<template id="configurator_s_cover" inherit_id="website.configurator_s_cover">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"html_builder/Connections/09","colors":{"c5":"o-color-4"}}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_html_builder_Connections_09" style="background-image: url('/html_editor/shape/html_builder/Connections/09.svg?c5=o-color-4');"/>
</xpath>
</template>
</odoo>