[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:
Xavier Luyckx (xlu)
2024-09-02 17:14:46 +02:00
committed by Chrysanthe (chgo)
parent b9b7ebd9e9
commit 5051a4a68a
29 changed files with 621 additions and 0 deletions
+74
View File
@@ -809,4 +809,78 @@
</xpath>
</template>
<!-- ======== COMPANY TEAM GRID ======== -->
<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/geometric_round/geo_round_gem.svg</attribute>
<attribute name="data-shape">web_editor/geometric_round/geo_round_gem</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</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/geometric_round/geo_round_gem.svg</attribute>
<attribute name="data-shape">web_editor/geometric_round/geo_round_gem</attribute>
<attribute name="data-shape-rotate">90</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</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/geometric_round/geo_round_gem.svg</attribute>
<attribute name="data-shape">web_editor/geometric_round/geo_round_gem</attribute>
<attribute name="data-shape-flip">x</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</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/geometric_round/geo_round_gem.svg</attribute>
<attribute name="data-shape">web_editor/geometric_round/geo_round_gem</attribute>
<attribute name="data-shape-flip">y</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</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/geometric_round/geo_round_gem.svg</attribute>
<attribute name="data-shape">web_editor/geometric_round/geo_round_gem</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</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/geometric_round/geo_round_gem.svg</attribute>
<attribute name="data-shape">web_editor/geometric_round/geo_round_gem</attribute>
<attribute name="data-shape-flip">xy</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
</template>
</odoo>