mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
d206c11972
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
41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_cover" inherit_id="website.s_cover">
|
|
<!-- Parallax -->
|
|
<xpath expr="//*[hasclass('s_parallax_bg')]" position="attributes">
|
|
<attribute name="style" add="background-position: 50% 100%;" remove="background-position: 50% 0;" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h1//font" position="replace" mode="inner">
|
|
Seasonal<br/> Flavors
|
|
</xpath>
|
|
<xpath expr="//h1" position="before">
|
|
<i class="fa fa-5x fa-leaf text-o-color-3 mx-auto my-4"/>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Daily fresh products combined with our professional yet convivial service<br/> to create a true gastronomic experience.
|
|
</xpath>
|
|
<xpath expr="//p" position="after">
|
|
<p class="lead" style="text-align: center;"><br/></p>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a//t" position="replace" mode="inner">
|
|
Our Menu
|
|
</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":"web_editor/Zigs/06"}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//*[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Zigs_06"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|