-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 Part-of: task-4077427
- Loading branch information
Showing
29 changed files
with
621 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team #01 --> | ||
<xpath expr="(//div[hasclass('card')])[1]" position="attributes"> | ||
<attribute name="class" add="o_cc5" 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_square_4.svg?c2=o-color-2&c5=o-color-3</attribute> | ||
<attribute name="data-shape">web_editor/composition/composition_square_4</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-2;;;o-color-3</attribute> | ||
</xpath> | ||
<!-- Team #02 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc5" 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/solid/solid_square_2.svg?c1=o-color-1</attribute> | ||
<attribute name="data-shape">web_editor/solid/solid_square_2</attribute> | ||
<attribute name="data-original-mimetype">image/jpeg</attribute> | ||
<attribute name="data-file-name">uiface_2.svg</attribute> | ||
<attribute name="data-shape-colors">o-color-1;;;;</attribute> | ||
</xpath> | ||
<!-- Team #03 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc5" 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_square_2.svg?c2=o-color-3&c5=o-color-2</attribute> | ||
<attribute name="data-shape">web_editor/composition/composition_square_2</attribute> | ||
<attribute name="data-original-mimetype">image/jpeg</attribute> | ||
<attribute name="data-file-name">uiface_3.svg</attribute> | ||
<attribute name="data-shape-colors">;o-color-3;;;o-color-2</attribute> | ||
</xpath> | ||
<!-- Team #04 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="o_cc5" 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_square_1.svg?c1=o-color-3&c2=o-color-1</attribute> | ||
<attribute name="data-shape">web_editor/composition/composition_square_1</attribute> | ||
<attribute name="data-original-mimetype">image/jpeg</attribute> | ||
<attribute name="data-file-name">uiface_4.svg</attribute> | ||
<attribute name="data-shape-colors">o-color-3;o-color-1;;;</attribute> | ||
</xpath> | ||
<!-- Team #05 --> | ||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes"> | ||
<attribute name="class" add="o_cc5" 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/solid/solid_square_1.svg?c2=o-color-2</attribute> | ||
<attribute name="data-shape">web_editor/solid/solid_square_1</attribute> | ||
<attribute name="data-original-mimetype">image/jpeg</attribute> | ||
<attribute name="data-file-name">uiface_5.svg</attribute> | ||
<attribute name="data-shape-colors">;o-color-2;;;</attribute> | ||
</xpath> | ||
<!-- Team #06 --> | ||
<xpath expr="(//div[hasclass('card')])[6]" position="attributes"> | ||
<attribute name="class" add="o_cc5" 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_square_3.svg?c1=o-color-1&c5=o-color-3</attribute> | ||
<attribute name="data-shape">web_editor/composition/composition_square_3</attribute> | ||
<attribute name="data-original-mimetype">image/jpeg</attribute> | ||
<attribute name="data-file-name">uiface_6.svg</attribute> | ||
<attribute name="data-shape-colors">o-color-1;;;;o-color-3</attribute> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team #01 --> | ||
<xpath expr="(//div[hasclass('card')])[1]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #02 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #03 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #04 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #05 --> | ||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #06 --> | ||
<xpath expr="(//div[hasclass('card')])[6]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team #01 --> | ||
<xpath expr="(//div[hasclass('card')])[1]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #02 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #03 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #04 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #05 --> | ||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #06 --> | ||
<xpath expr="(//div[hasclass('card')])[6]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team #01 --> | ||
<xpath expr="//div[hasclass('card')]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #02 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc2" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #03 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #05 --> | ||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team #01 --> | ||
<xpath expr="//div[hasclass('card')]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #02 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #03 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #04 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #05 --> | ||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #06 --> | ||
<xpath expr="(//div[hasclass('card')])[6]" position="attributes"> | ||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team #01 --> | ||
<xpath expr="//div[hasclass('card')]" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #02 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #03 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #04 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #05 --> | ||
<xpath expr="(//div[hasclass('card')])[5]" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
<!-- Team #06 --> | ||
<xpath expr="(//div[hasclass('card')])[6]" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
Oops, something went wrong.