mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt themes with new s_motto snippet
*: (aviato, bistro, kea, kiddo, nano, orchid, paptic, vehicle) This commit adapts the design of new `s_motto` snippet for multiple themes. task-4077607 closes odoo/design-themes#851 Related: odoo/odoo#175550 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
committed by
stefanorigano (SRI)
parent
9e3ed4d127
commit
a738c97c16
@@ -19,6 +19,7 @@
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/snippets/s_picture.xml',
|
||||
'views/snippets/s_popup.xml',
|
||||
'views/snippets/s_title.xml',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/09','showOnMobile':false, 'animated': true}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
|
||||
<attribute name="class" remove="o_web_editor_Floats_07" add="o_web_editor_Floats_09" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -34,6 +34,7 @@
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_image_hexagonal.xml',
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/new_page_template.xml',
|
||||
|
||||
],
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/09','showOnMobile':false, 'animated': true}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
|
||||
<attribute name="class" remove="o_web_editor_Floats_07" add="o_web_editor_Floats_09" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -19,6 +19,7 @@
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
'views/snippets/s_features_wall.xml',
|
||||
'views/snippets/s_picture.xml',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/09','showOnMobile':false, 'animated': true}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
|
||||
<attribute name="class" remove="o_web_editor_Floats_07" add="o_web_editor_Floats_09" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -16,6 +16,7 @@
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_picture.xml',
|
||||
'views/snippets/s_product_list.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_company_team_shapes.xml',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/09','showOnMobile':false, 'animated': true}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
|
||||
<attribute name="class" remove="o_web_editor_Floats_07" add="o_web_editor_Floats_09" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -15,6 +15,7 @@
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/snippets/s_features.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" remove="o_cc o_cc1" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -14,6 +14,7 @@
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/09','showOnMobile':false, 'animated': true}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
|
||||
<attribute name="class" remove="o_web_editor_Floats_07" add="o_web_editor_Floats_09" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -178,6 +178,17 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ==== Motto ===== -->
|
||||
<template id="s_motto" inherit_id="website.s_motto" name="Paptic s_motto">
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/09','showOnMobile':false, 'animated': true}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
|
||||
<attribute name="class" remove="o_web_editor_Floats_07" add="o_web_editor_Floats_09" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== CAROUSEL ======== -->
|
||||
<template id="s_carousel" inherit_id="website.s_carousel" name="Paptic s_carousel">
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
|
||||
|
||||
@@ -431,6 +431,14 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ==== MOTTO ===== -->
|
||||
<template id="s_motto" inherit_id="website.s_motto">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" remove="o_cc o_cc1" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== UNVEIL ======== -->
|
||||
<template id="s_unveil" inherit_id="website.s_unveil">
|
||||
<!-- Section -->
|
||||
|
||||
Reference in New Issue
Block a user