Skip to content

Commit 83ca425

Browse files
committed
[IMP] theme_artists, *: adapt s_attributes_horizontal
*: theme_loftspace, theme_nano, theme_orchid This commit adapts customizations for `s_attributes_horizontal`. task-4775848 Part of task-4252024 closes #1061 Related: odoo/odoo#208764 Signed-off-by: Quentin Smetz (qsm) <[email protected]>
1 parent bcb3f37 commit 83ca425

File tree

8 files changed

+87
-0
lines changed

8 files changed

+87
-0
lines changed

theme_artists/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
'views/snippets/s_key_benefits.xml',
7878
'views/snippets/s_kickoff.xml',
7979
'views/snippets/s_discovery.xml',
80+
'views/snippets/s_attributes_horizontal.xml',
8081
'views/snippets/s_pricelist_boxed.xml',
8182
'views/snippets/s_striped_center_top.xml',
8283
'views/snippets/s_key_images.xml',
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_horizontal" inherit_id="website.s_attributes_horizontal">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
<!-- Images -->
10+
<xpath expr="//img" position="attributes">
11+
<attribute name="src">/web_editor/shape/website/s_attributes_1.svg?c1=rgba(0,0,0,.25)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
12+
</xpath>
13+
<xpath expr="(//img)[2]" position="attributes">
14+
<attribute name="src">/web_editor/shape/website/s_attributes_2.svg?c1=rgba(0,0,0,.25)&amp;c2=rgba(0,0,0,.5)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
15+
</xpath>
16+
<xpath expr="(//img)[3]" position="attributes">
17+
<attribute name="src">/web_editor/shape/website/s_attributes_3.svg?c1=rgba(0,0,0,.25)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
18+
</xpath>
19+
<xpath expr="(//img)[4]" position="attributes">
20+
<attribute name="src">/web_editor/shape/website/s_attributes_4.svg?c1=rgba(0,0,0,.25)&amp;c2=rgba(0,0,0,.5)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
21+
</xpath>
22+
</template>
23+
24+
</odoo>

theme_loftspace/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
'views/images_content.xml',
1313

1414
'views/snippets/s_cta_box.xml',
15+
'views/snippets/s_attributes_horizontal.xml',
1516
'views/snippets/s_cover.xml',
1617
'views/snippets/s_striped_top.xml',
1718
'views/snippets/s_card_offset.xml',
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_horizontal" inherit_id="website.s_attributes_horizontal">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
</template>
10+
11+
</odoo>

theme_nano/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
'views/snippets/s_timeline_images.xml',
4949
'views/snippets/s_empowerment.xml',
5050
'views/snippets/s_discovery.xml',
51+
'views/snippets/s_attributes_horizontal.xml',
5152
'views/snippets/s_numbers.xml',
5253
'views/snippets/s_image_text_overlap.xml',
5354
'views/snippets/s_company_team_basic.xml',
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_horizontal" inherit_id="website.s_attributes_horizontal">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
<!-- Images -->
10+
<xpath expr="//img" position="attributes">
11+
<attribute name="src">/web_editor/shape/website/s_attributes_1.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
12+
</xpath>
13+
<xpath expr="(//img)[2]" position="attributes">
14+
<attribute name="src">/web_editor/shape/website/s_attributes_2.svg?c1=o-color-2&amp;c2=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
15+
</xpath>
16+
<xpath expr="(//img)[3]" position="attributes">
17+
<attribute name="src">/web_editor/shape/website/s_attributes_3.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
18+
</xpath>
19+
<xpath expr="(//img)[4]" position="attributes">
20+
<attribute name="src">/web_editor/shape/website/s_attributes_4.svg?c1=o-color-2&amp;c2=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
21+
</xpath>
22+
</template>
23+
24+
</odoo>

theme_orchid/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
'views/images.xml',
1313

1414
'views/snippets/s_cta_box.xml',
15+
'views/snippets/s_attributes_horizontal.xml',
1516
'views/snippets/s_cover.xml',
1617
'views/snippets/s_cards_grid.xml',
1718
'views/snippets/s_striped_top.xml',
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_horizontal" inherit_id="website.s_attributes_horizontal">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
<!-- Images -->
10+
<xpath expr="//img" position="attributes">
11+
<attribute name="src">/web_editor/shape/website/s_attributes_1.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
12+
</xpath>
13+
<xpath expr="(//img)[2]" position="attributes">
14+
<attribute name="src">/web_editor/shape/website/s_attributes_2.svg?c1=o-color-2&amp;c2=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
15+
</xpath>
16+
<xpath expr="(//img)[3]" position="attributes">
17+
<attribute name="src">/web_editor/shape/website/s_attributes_3.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
18+
</xpath>
19+
<xpath expr="(//img)[4]" position="attributes">
20+
<attribute name="src">/web_editor/shape/website/s_attributes_4.svg?c1=o-color-2&amp;c2=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
21+
</xpath>
22+
</template>
23+
24+
</odoo>

0 commit comments

Comments
 (0)