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_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:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user