Files
design-themes/theme_clean/views/snippets/s_three_columns.xml
T
Benoit Socias d206c11972 [IMP] theme_*: extract shapes to configurator-dedicated templates
This commit extracts the pre-defined section shapes from blocks into
templates that are dedicated to being used by the configurator.

For blocks that are not used in configurator pages, the configurator
templates have not been created.

task-3381714

Part-of: odoo/design-themes#692
2023-10-14 03:27:02 +00:00

53 lines
2.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_three_columns" inherit_id="website.s_three_columns">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Column #1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="style">border-width: 0px !important;</attribute>
</xpath>
<xpath expr="//h3[hasclass('card-title')]" position="replace" mode="inner">
Our mission
</xpath>
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
Provide clear and concise financial advices to make your financial wealth grow. And this, completely free of charge.
</xpath>
<!-- Column #2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="style">border-width: 0px !important;</attribute>
</xpath>
<xpath expr="(//h3[hasclass('card-title')])[2]" position="replace" mode="inner">
Our values
</xpath>
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
We created our company to improve the work-life balance. We believe that we need to focus on our family more than our work and finances.
</xpath>
<!-- Column #3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="style">border-width: 0px !important;</attribute>
</xpath>
<xpath expr="(//h3[hasclass('card-title')])[3]" position="replace" mode="inner">
Our team
</xpath>
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
Composed of 25 people from 25 to 66 years, were a young and dynamic company. We have open positions, do not hesitate to contact us.
</xpath>
</template>
<template id="configurator_s_three_columns" inherit_id="website.configurator_s_three_columns">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001"/>
</xpath>
</template>
</odoo>