c483cf2719
Instead now use another custom mapping for the default colors of the shapes which are used for the default homepage. This allows for the built page to work with any color palette (especially useful for built pages in the new configurator) and to handle footer/header connection. Also change some shapes and default background colors to match what the preview wanted directly (instead of relying on user asked change as that would not be handled when generating the page automatically with the configurator). Part of https://github.com/odoo/design-themes/pull/2 task-2491890 closes odoo/design-themes#12 Related: odoo/odoo#71665 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
22 lines
998 B
XML
22 lines
998 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_image_text" inherit_id="website.s_image_text">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc4 pt144" remove="pt32" separator=" "/>
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/03","flip":["x"]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Origins_03 o_we_flip_x"/>
|
|
</xpath>
|
|
<!-- Title & Paragraph -->
|
|
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="replace">
|
|
<div class="col-lg-6 pt16 pb16">
|
|
<h2>Enter in a new world of control.</h2>
|
|
<p>Control every electronic device of your house. The coffee machine, the television, the thermostat, everything.</p>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|