Skip to content

Commit

Permalink
[IMP] theme_*: adapt s_connections snippet
Browse files Browse the repository at this point in the history
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, cobalt, enark, kiddo, loftspace, monglia, nano, notes,
odoo_experts, orchid, real_estate, treehouse, vehicle, yes, zap.

This commit reviews the occurrences of `s_connections` snippet across
design themes.

task-4077616
part of task-4077427
  • Loading branch information
chgo-odoo committed Aug 22, 2024
1 parent 30e8f21 commit f16ab9e
Show file tree
Hide file tree
Showing 41 changed files with 397 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme_anelusia/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
11 changes: 11 additions & 0 deletions theme_anelusia/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('theme_anelusia/static/src/img/snippets/library_image_02.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_artists/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'views/snippets/s_color_blocks_2.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
15 changes: 15 additions & 0 deletions theme_artists/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_artists/static/src/img/snippets/s_carousel_1.jpg');</attribute>
</xpath>
</template>

</odoo>
8 changes: 8 additions & 0 deletions theme_avantgarde/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,12 @@
</xpath>
</template>

<!-- ======== CONNECTIONS ======== -->
<template id="s_connections" inherit_id="website.s_connections">
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('theme_avantgarde/static/src/img/pictures/bg_image_19.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_aviato/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
17 changes: 17 additions & 0 deletions theme_aviato/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<xpath expr="//h1" position="replace" mode="inner">
Transform your<br/>travel experience
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Experience a new way to travel with our agency. We combine advanced technology and personalized service to revolutionize your journey. Whether you're after adventure or relaxation, we create custom trips that turn your travel dreams into reality.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_aviato/static/src/img/content/s_wall_06.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_beauty/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
15 changes: 15 additions & 0 deletions theme_beauty/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc1" separator=" "/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_beauty/static/src/img/snippets/s_product_catalog.jpg');</attribute>
</xpath>
</template>

</odoo>
14 changes: 14 additions & 0 deletions theme_bewise/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,4 +453,18 @@
</xpath>
</template>

<!-- ======== CONNECTIONS ======== -->
<template id="s_connections" inherit_id="website.s_connections">
<xpath expr="//h1" position="replace" mode="inner">
Enhance your<br/>academic journey
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Discover a university experience designed to elevate your learning. With state-of-the-art facilities and expert faculty, we provide an environment where knowledge thrives. From innovative programs to hands-on research opportunities, we empower you to achieve your academic goals and prepare for a successful future.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_bewise/static/src/img/content/library_image_10.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_bistro/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
'views/snippets/s_text_block.xml',
'views/snippets/s_text_image.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',

],
Expand Down
21 changes: 21 additions & 0 deletions theme_bistro/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Savor the art<br/>of casual dining
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Indulge in a dining experience where flavor meets comfort. At our bistro, we blend fresh ingredients with culinary creativity to offer a menu that delights every palate. Whether you're here for a quick bite or a leisurely meal, our welcoming atmosphere and delicious dishes make every visit special.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_bistro/static/src/img/content/text_image.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_bookstore/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
21 changes: 21 additions & 0 deletions theme_bookstore/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Discover your<br/>next great read
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Step into a world of stories at our bookstore. From timeless classics to the latest bestsellers, we offer a curated selection of books to inspire and entertain. Whether you're an avid reader or just browsing, our cozy atmosphere and knowledgeable staff will help you find the perfect book to spark your imagination.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_bookstore/static/src/img/snippets/library_image_02.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_buzzy/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'views/snippets/s_blockquote.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
11 changes: 11 additions & 0 deletions theme_buzzy/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
</template>

</odoo>
8 changes: 8 additions & 0 deletions theme_cobalt/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,12 @@
</xpath>
</template>

<!-- ==== Connections ===== -->
<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_enark/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'views/snippets/s_parallax.xml',
'views/snippets/s_image_gallery.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
18 changes: 18 additions & 0 deletions theme_enark/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//h1" position="replace" mode="inner">
Transform your<br/>vision into reality
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Partner with us to bring your architectural dreams to life. Our team combines creative design with practical expertise to craft spaces that inspire and function seamlessly. Whether you're planning a residential haven or a commercial landmark, we turn your ideas into stunning, functional structures.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_enark/static/src/img/snippets/s_picture.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_kiddo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
21 changes: 21 additions & 0 deletions theme_kiddo/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Create a nurturing environment for growth
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Welcome to our nursery, where every child's development is our top priority. We provide a warm and supportive setting designed to foster curiosity and learning. With experienced staff and engaging activities, we ensure your little ones receive the care and attention they need to thrive.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_kiddo/static/src/img/snippets/library_image_10.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_loftspace/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
'views/snippets/s_comparisons.xml',
'views/snippets/s_product_catalog.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
21 changes: 21 additions & 0 deletions theme_loftspace/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Enhance your space with stylish furniture
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Transform your home with our curated collection of furniture that combines elegance and functionality. From contemporary designs to timeless classics, we offer pieces that elevate your living spaces and reflect your personal style. Discover how our quality furnishings can make your home both beautiful and comfortable.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_loftspace/static/src/img/snippets/s_quotes_carousel_1.jpg');</attribute>
</xpath>
</template>

</odoo>
18 changes: 18 additions & 0 deletions theme_monglia/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,22 @@
</xpath>
</template>

<!-- ======== CONNECTIONS ======== -->
<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Craft unforgettable<br/>experiences
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Turn your special occasion into a memorable event with our expert planning services. We handle every detail, from concept to execution, ensuring a seamless and enjoyable experience. Whether it’s a wedding, corporate gathering, or private celebration, we create events that leave a lasting impression.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_monglia/static/src/img/snippets/s_banner_2.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_nano/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
'views/snippets/s_three_columns.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
21 changes: 21 additions & 0 deletions theme_nano/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Bring your<br/>ideas to life
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Explore the world of creation with our maker services. We provide the tools, resources, and expertise to turn your concepts into tangible projects. Whether crafting a unique piece or developing a prototype, we’re here to bring your vision to life.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_nano/static/src/img/snippets/s_images_wall_05.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_notes/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'views/snippets/s_comparisons.xml',
'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
21 changes: 21 additions & 0 deletions theme_notes/views/snippets/s_connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_connections" inherit_id="website.s_connections">
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
Experience the rhythm of your favorite tunes
</xpath>
<xpath expr="//p" position="replace" mode="inner">
<br/>Join us for live performances that captivate and energize. Our music band brings passion and expertise to every show, delivering a memorable experience with every note. From original compositions to beloved covers, we create a vibrant atmosphere that resonates with fans and keeps the music alive.<br/><br/>
</xpath>
<!-- Right column -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="replace">
<attribute name="style">background-image: url('/theme_notes/static/src/img/content/library_image_14.jpg');</attribute>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_odoo_experts/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'views/snippets/s_picture.xml',
'views/snippets/s_title.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_connections.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
Loading

0 comments on commit f16ab9e

Please sign in to comment.