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_company_team_grid snippet
*: anelusia, artists, beauty, bewise, bistro, bookstore, clean, cobalt, kea, kiddo, monglia, nano, notes, orchid, real_estate, treehouse, vehicle, yes This commit adapts the design of new `s_company_team_grid` snippet for multiple themes. task-4150614 closes odoo/design-themes#901 Part-of: task-4077427 Related: odoo/odoo#179791 Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
committed by
Chrysanthe (chgo)
parent
b9b7ebd9e9
commit
5051a4a68a
@@ -27,6 +27,7 @@
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.xml',
|
||||
'views/snippets/s_motto.xml',
|
||||
'views/snippets/s_company_team_grid.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
'views/snippets/s_features_wall.xml',
|
||||
'views/snippets/s_picture.xml',
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid">
|
||||
<!-- Team #01 -->
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_1/web_editor/composition/composition_line_1.svg?c1=o-color-1</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_line_1</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">o-color-1;;;;</attribute>
|
||||
</xpath>
|
||||
<!-- Team #02 -->
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_2/web_editor/composition/composition_mixed_1.svg?c1=o-color-1&c2=o-color-2&c5=o-color-5</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_mixed_1</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">o-color-1;o-color-2;;;o-color-5</attribute>
|
||||
</xpath>
|
||||
<!-- Team #03 -->
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_3/web_editor/composition/composition_planet_1.svg?c1=o-color-1&c2=o-color-2&c5=o-color-5</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_planet_1</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">o-color-1;o-color-2;;;o-color-5</attribute>
|
||||
</xpath>
|
||||
<!-- Team #04 -->
|
||||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_4/web_editor/composition/composition_planet_2.svg?c1=o-color-1&c2=o-color-2&c5=o-color-5</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_planet_2</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">o-color-1;o-color-2;;;o-color-5</attribute>
|
||||
</xpath>
|
||||
<!-- Team #05 -->
|
||||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[5]" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_5/web_editor/pattern/pattern_point.svg?c1=o-color-1</attribute>
|
||||
<attribute name="data-shape">web_editor/pattern/pattern_point</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">o-color-1;;;;</attribute>
|
||||
</xpath>
|
||||
<!-- Team #06 -->
|
||||
<xpath expr="(//div[hasclass('card')])[6]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[6]" position="attributes">
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_6/web_editor/composition/composition_mixed_2.svg?c1=o-color-1&c2=o-color-2&c5=o-color-5</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_mixed_2</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">o-color-1;o-color-2;;;o-color-5</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user