[IMP] theme_*: adapt themes with new s_image_frame design

*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kiddo, monglia, nano,
notes, paptic, treehouse, vehicle, yes

This commit adapts the design of `s_image_frame` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4105328

closes odoo/design-themes#864

Part-of: task-4077427
Related: odoo/odoo#176562
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Xavier Luyckx (xlu)
2024-08-09 12:44:55 +02:00
parent 93736ae182
commit 0b567d15c6
35 changed files with 264 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_key_images.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -50,6 +50,7 @@
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_key_images.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_16</attribute>
</xpath>
</template>
</odoo>
+12
View File
@@ -474,6 +474,18 @@
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
<!-- ======== BIG NUMBER ======== -->
<template id="s_big_number" inherit_id="website.s_big_number">
<!-- Section -->
+1
View File
@@ -37,6 +37,7 @@
'views/snippets/s_image_hexagonal.xml',
'views/snippets/s_key_images.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc3" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_14</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -45,6 +45,7 @@
'views/snippets/s_key_images.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+12
View File
@@ -728,6 +728,18 @@
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc4" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_quotes_carousel_demo_image_1</attribute>
</xpath>
</template>
<!-- ======== INTRO PILL ======== -->
<template id="s_intro_pill" inherit_id="website.s_intro_pill">
<!-- Title -->
+1
View File
@@ -42,6 +42,7 @@
'views/snippets/s_quadrant.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/theme_bistro.bg_img_08</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -47,6 +47,7 @@
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc3" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_parallax_default_image</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -53,6 +53,7 @@
'views/snippets/s_image_title.xml',
'views/snippets/s_key_images.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_08</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -33,6 +33,7 @@
'views/snippets/s_pricelist_boxed.xml',
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc3" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_quotes_carousel_demo_image_1</attribute>
</xpath>
</template>
</odoo>
+8
View File
@@ -478,6 +478,14 @@
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_1</attribute>
</xpath>
</template>
<!-- ======== BIG NUMBER ======== -->
<template id="s_big_number" inherit_id="website.s_big_number">
<!-- Section -->
+1
View File
@@ -36,6 +36,7 @@
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>
+12
View File
@@ -489,6 +489,18 @@
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc3" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/theme_graphene.image_content_10</attribute>
</xpath>
</template>
<!-- ======== BIG NUMBER ======== -->
<template id="s_big_number" inherit_id="website.s_big_number">
<!-- Section -->
+1
View File
@@ -42,6 +42,7 @@
'views/snippets/s_key_images.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_10</attribute>
</xpath>
</template>
</odoo>
+7
View File
@@ -593,5 +593,12 @@
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_quotes_carousel_demo_image_1</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -33,6 +33,7 @@
'views/snippets/s_key_benefits.xml',
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -46,6 +46,7 @@
'views/snippets/s_quadrant.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_10</attribute>
</xpath>
</template>
</odoo>
+8
View File
@@ -691,6 +691,14 @@
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
<!-- ==== Big Number ===== -->
<template id="s_big_number" inherit_id="website.s_big_number">
<!-- Section -->
+1
View File
@@ -40,6 +40,7 @@
'views/snippets/s_striped_center_top.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_three_columns_default_image_3</attribute>
</xpath>
</template>
</odoo>
+13
View File
@@ -685,4 +685,17 @@
customer satisfaction
</xpath>
</template>
<!-- ======== IMAGE FRAME ======== -->
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_05</attribute>
</xpath>
</template>
</odoo>
+1
View File
@@ -44,6 +44,7 @@
'views/snippets/s_kickoff.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_carousel_default_image_3</attribute>
</xpath>
</template>
</odoo>