[FIX] theme_anelusia, *: update xpath to removed s_nb_column_fixed

*: theme_bewise, theme_cobalt, theme_kiddo, theme_loftspace,
   theme_monglia, theme_nano, theme_notes, theme_odoo_experts,
   theme_orchid, theme_paptic, theme_yes, theme_zap

Multiple snippet template where changed to ensure that the title is not
considered as a column and allowing changing the nb of columns again.
This commit adapts all the xpath that were impacted by those changes.

task-4310468

closes odoo/design-themes#1047

Related: odoo/odoo#195409
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Denis Rygaert
2025-02-11 14:05:49 +01:00
committed by qsm-odoo
parent f1215976c0
commit 88b06392a3
20 changed files with 80 additions and 87 deletions
@@ -3,11 +3,11 @@
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic"> <template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
<!-- Team #01 - Title --> <!-- Team #01 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner"> <xpath expr="//h4" position="replace" mode="inner">
Tony Fred Tony Fred
</xpath> </xpath>
<!-- Team #01 - Work Description --> <!-- Team #01 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner"> <xpath expr="//p[hasclass('o_small-fs')]" position="replace" mode="inner">
Editor-in-chief Editor-in-chief
</xpath> </xpath>
<!-- Team #01 - Img --> <!-- Team #01 - Img -->
@@ -21,11 +21,11 @@
</xpath> </xpath>
<!-- Team #02 - Title --> <!-- Team #02 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[2]" position="replace" mode="inner">
Mich Stark Mich Stark
</xpath> </xpath>
<!-- Team #02 - Work Description --> <!-- Team #02 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
Sports Reporter Sports Reporter
</xpath> </xpath>
<!-- Team #02 - Img --> <!-- Team #02 - Img -->
@@ -39,11 +39,11 @@
</xpath> </xpath>
<!-- Team #03 - Title --> <!-- Team #03 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[3]" position="replace" mode="inner">
Aline Turner Aline Turner
</xpath> </xpath>
<!-- Team #03 - Work Description --> <!-- Team #03 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
Photograph Photograph
</xpath> </xpath>
<!-- Team #03 - Img --> <!-- Team #03 - Img -->
@@ -57,11 +57,11 @@
</xpath> </xpath>
<!-- Team #04 - Title --> <!-- Team #04 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[4]" position="replace" mode="inner">
Iris Joe Iris Joe
</xpath> </xpath>
<!-- Team #04 - Work Description --> <!-- Team #04 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
Political Reporter Political Reporter
</xpath> </xpath>
<!-- Team #04 - Img --> <!-- Team #04 - Img -->
@@ -11,16 +11,16 @@
Every style for everybody. Every style for everybody.
</xpath> </xpath>
<!-- Partners --> <!-- Partners -->
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div/p" position="replace" mode="inner">
Redefining elegance since 2009 Redefining elegance since 2009
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[3]/p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[2]/p" position="replace" mode="inner">
Disrupting fashion since 2013 Disrupting fashion since 2013
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[4]/p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[3]/p" position="replace" mode="inner">
Shaping your style since 2015 Shaping your style since 2015
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[5]/p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[4]/p" position="replace" mode="inner">
Transforming trends since 2018 Transforming trends since 2018
</xpath> </xpath>
</template> </template>
+11 -11
View File
@@ -282,40 +282,40 @@
<!-- ======== TEAM ======== --> <!-- ======== TEAM ======== -->
<template id="s_company_team" inherit_id="website.s_company_team" name="Be Wise s_company_team"> <template id="s_company_team" inherit_id="website.s_company_team" name="Be Wise s_company_team">
<!-- Profile #1 --> <!-- Profile #1 -->
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div//h4" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div//h4" position="replace" mode="inner">
<b>Tony Fred</b> <b>Tony Fred</b>
</xpath> </xpath>
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div//p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div//p" position="replace" mode="inner">
Faculty Head of IT Faculty Head of IT
</xpath> </xpath>
<xpath expr="//div[hasclass('col-lg-6')]//p[2]" position="replace" mode="inner"> <xpath expr="//div[hasclass('container')]/div[hasclass('row')]/div//p[2]" position="replace" mode="inner">
Tony received a degree in Electrical and Mechanical Engineering and a Ph D. degree in 1998 and 2004. After a post-doctoral experience he joined the school as professor of mechatronics in 2006. In 2010, he became Head of IT. Tony received a degree in Electrical and Mechanical Engineering and a Ph D. degree in 1998 and 2004. After a post-doctoral experience he joined the school as professor of mechatronics in 2006. In 2010, he became Head of IT.
</xpath> </xpath>
<!-- Profile #2 --> <!-- Profile #2 -->
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[2]//h4" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[2]//h4" position="replace" mode="inner">
<b>Mich Stark</b> <b>Mich Stark</b>
</xpath> </xpath>
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[2]//p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[2]//p" position="replace" mode="inner">
IT Officer IT Officer
</xpath> </xpath>
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[2]//p[2]" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[2]//p[2]" position="replace" mode="inner">
He is professor in the Institute of Mechanics, Materials and Civil Engineering since 2000. He lectures in mechanical drawing and mechanical design for undergraduate and graduate students. He is active in Problem and Project based learning. He is the promoter of 8 doctoral theses. He is professor in the Institute of Mechanics, Materials and Civil Engineering since 2000. He lectures in mechanical drawing and mechanical design for undergraduate and graduate students. He is active in Problem and Project based learning. He is the promoter of 8 doctoral theses.
</xpath> </xpath>
<!-- Profile #3 --> <!-- Profile #3 -->
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[3]//h4" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[3]//h4" position="replace" mode="inner">
<b>Aline Turner</b> <b>Aline Turner</b>
</xpath> </xpath>
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[3]//p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[3]//p" position="replace" mode="inner">
Law professor Law professor
</xpath> </xpath>
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[3]//p[2]" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[3]//p[2]" position="replace" mode="inner">
She has been practicing law at the French-speaking Brussels Bar since 2006. She has worked in various major law firms based in Brussels, as member and then head of their litigation/arbitration practice groups. She has been practicing law at the French-speaking Brussels Bar since 2006. She has worked in various major law firms based in Brussels, as member and then head of their litigation/arbitration practice groups.
</xpath> </xpath>
<!-- Profile #4 --> <!-- Profile #4 -->
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[4]//h4" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[4]//h4" position="replace" mode="inner">
<b>Iris Joe</b> <b>Iris Joe</b>
</xpath> </xpath>
<xpath expr="//div[hasclass('s_nb_column_fixed')]/div[4]//p" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[4]//p" position="replace" mode="inner">
Team leader professor Team leader professor
</xpath> </xpath>
</template> </template>
+3 -1
View File
@@ -165,7 +165,9 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" remove="pt80 pb80" separator=" "/> <attribute name="class" remove="pt80 pb80" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/> <xpath expr="//h2" position="replace"/>
<xpath expr="//p" position="replace"/>
<xpath expr="//p" position="replace"/>
</template> </template>
<!-- ==== Three Columns ===== --> <!-- ==== Three Columns ===== -->
@@ -3,7 +3,7 @@
<template id="s_company_team_shapes" inherit_id="website.s_company_team_shapes"> <template id="s_company_team_shapes" inherit_id="website.s_company_team_shapes">
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="pb104" remove="pb48" separator=" "/> <attribute name="class" add="pb128" remove="pb48" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Connections/10','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute> <attribute name="data-oe-shape-data">{'shape':'web_editor/Connections/10','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath> </xpath>
<xpath expr="//div[hasclass('o_container_small')]" position="before"> <xpath expr="//div[hasclass('o_container_small')]" position="before">
@@ -6,10 +6,10 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="pt72 pb128" remove="pt64 pb64" separator=" "/> <attribute name="class" add="pt72 pb128" remove="pt64 pb64" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('col-lg-12')]/h3" position="replace" mode="inner"> <xpath expr="//div[hasclass('container')]/h3" position="replace" mode="inner">
Customer benefits Customer benefits
</xpath> </xpath>
<xpath expr="//div[hasclass('col-lg-12')]/p" position="replace" mode="inner"> <xpath expr="//div[hasclass('container')]/p" position="replace" mode="inner">
Enjoy these added advantages with every purchase Enjoy these added advantages with every purchase
</xpath> </xpath>
<!-- Column #01 --> <!-- Column #01 -->
+2 -1
View File
@@ -12,7 +12,8 @@
<attribute name="data-row-count">14</attribute> <attribute name="data-row-count">14</attribute>
</xpath> </xpath>
<!-- Remove the title --> <!-- Remove the title -->
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/> <xpath expr="//h2" position="replace"/>
<xpath expr="//p" position="replace"/>
<xpath expr="//div[hasclass('row')]/div" position="attributes"> <xpath expr="//div[hasclass('row')]/div" position="attributes">
<attribute name="class" add="o_grid_item o_grid_item_image g-col-lg-8 g-height-12" remove="pt24 pb24" separator=" "/> <attribute name="class" add="o_grid_item o_grid_item_image g-col-lg-8 g-height-12" remove="pt24 pb24" separator=" "/>
+1 -4
View File
@@ -1039,10 +1039,6 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="pt56 pb56" remove="pb80 pt80" separator=" "/> <attribute name="class" add="pt56 pb56" remove="pb80 pt80" separator=" "/>
</xpath> </xpath>
<!-- Layout -->
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
<attribute name="class" add="pb0" remove="pb24" separator=" "/>
</xpath>
<!-- Title --> <!-- Title -->
<xpath expr="//h2" position="replace" mode="inner"> <xpath expr="//h2" position="replace" mode="inner">
OUR SPONSORS OUR SPONSORS
@@ -1050,6 +1046,7 @@
<!-- Remove Subtitle and Link --> <!-- Remove Subtitle and Link -->
<xpath expr="//p" position="replace"/> <xpath expr="//p" position="replace"/>
<xpath expr="//p" position="replace"/> <xpath expr="//p" position="replace"/>
<xpath expr="//p" position="replace"/>
</template> </template>
<!-- ======== COMPARISONS HORIZONTAL ======== --> <!-- ======== COMPARISONS HORIZONTAL ======== -->
@@ -6,11 +6,6 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> <attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath> </xpath>
<!-- Row - remove grid mode -->
<xpath expr="//div[hasclass('row')]" position="attributes">
<attribute name="class" remove="o_grid_mode" separator=" "/>
<attribute name="data-row-count"/>
</xpath>
<xpath expr="//h3" position="replace"> <xpath expr="//h3" position="replace">
<h2 style="text-align: center;">Our talented crew</h2> <h2 style="text-align: center;">Our talented crew</h2>
</xpath> </xpath>
@@ -18,16 +13,9 @@
<p class="lead" style="text-align: center;">Meet the masterminds behind our agency. With them, your project is in good hands for sure.</p> <p class="lead" style="text-align: center;">Meet the masterminds behind our agency. With them, your project is in good hands for sure.</p>
</xpath> </xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
<attribute name="class" add="pb40" remove="o_grid_item g-col-lg-12 g-height-2" separator=" "/>
<attribute name="style" remove="grid-area: 1 / 1 / 3 / 13; --grid-item-padding-y: 32px; --grid-item-padding-x: 32px; z-index: 1;" separator=";"/>
</xpath>
<!-- Profile #1 --> <!-- Profile #1 -->
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes"> <xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/> <attribute name="class" add="pt40" remove="pt16" separator=" "/>
<attribute name="style" remove="grid-area: 3 / 1 / 11 / 4; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 2;" separator=";"/>
</xpath> </xpath>
<xpath expr="(//img)[1]" position="attributes"> <xpath expr="(//img)[1]" position="attributes">
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/> <attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
@@ -40,8 +28,7 @@
</xpath> </xpath>
<!-- Profile #2 --> <!-- Profile #2 -->
<xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes"> <xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes">
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/> <attribute name="class" add="pt40" remove="pt16" separator=" "/>
<attribute name="style" remove="grid-area: 3 / 4 / 11 / 7; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 3;" separator=";"/>
</xpath> </xpath>
<xpath expr="(//img)[2]" position="attributes"> <xpath expr="(//img)[2]" position="attributes">
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/> <attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
@@ -54,8 +41,7 @@
</xpath> </xpath>
<!-- Profile #3 --> <!-- Profile #3 -->
<xpath expr="//div[hasclass('col-lg-3')][3]" position="attributes"> <xpath expr="//div[hasclass('col-lg-3')][3]" position="attributes">
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/> <attribute name="class" add="pt40" remove="pt16" separator=" "/>
<attribute name="style" remove="grid-area: 3 / 7 / 11 / 10; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 4;" separator=";"/>
</xpath> </xpath>
<xpath expr="(//img)[3]" position="attributes"> <xpath expr="(//img)[3]" position="attributes">
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/> <attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
@@ -68,8 +54,7 @@
</xpath> </xpath>
<!-- Profile #4 --> <!-- Profile #4 -->
<xpath expr="//div[hasclass('col-lg-3')][4]" position="attributes"> <xpath expr="//div[hasclass('col-lg-3')][4]" position="attributes">
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/> <attribute name="class" add="pt40" remove="pt16" separator=" "/>
<attribute name="style" remove="grid-area: 3 / 10 / 11 / 13; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 5;" separator=";"/>
</xpath> </xpath>
<xpath expr="(//img)[4]" position="attributes"> <xpath expr="(//img)[4]" position="attributes">
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/> <attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
+3 -1
View File
@@ -6,9 +6,11 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> <attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('col-lg-12')]" position="replace" mode="inner"> <xpath expr="//h2" position="replace">
<h2 style="text-align: center;">Trusted by industry leaders</h2> <h2 style="text-align: center;">Trusted by industry leaders</h2>
</xpath> </xpath>
<xpath expr="//p" position="replace"/>
<xpath expr="//p" position="replace"/>
<xpath expr="//div[hasclass('col-lg-2')]" position="attributes"> <xpath expr="//div[hasclass('col-lg-2')]" position="attributes">
<attribute name="class" add="offset-lg-1" separator=" "/> <attribute name="class" add="offset-lg-1" separator=" "/>
</xpath> </xpath>
@@ -6,16 +6,16 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> <attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div/h3" position="replace" mode="inner">
Barbershop Barbershop
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace" mode="inner">
Oceandor Oceandor
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[4]/h3" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace" mode="inner">
Mountain Mountain
</xpath> </xpath>
<xpath expr="//div[hasclass('row')]/div[5]/h3" position="replace" mode="inner"> <xpath expr="//div[hasclass('row')]/div[4]/h3" position="replace" mode="inner">
Hosoren Hosoren
</xpath> </xpath>
<!-- Column #1 --> <!-- Column #1 -->
@@ -6,38 +6,38 @@
Discover our talented artists Discover our talented artists
</xpath> </xpath>
<!-- Team #01 - Title --> <!-- Team #01 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner"> <xpath expr="//h4" position="replace" mode="inner">
Tony Tony
</xpath> </xpath>
<!-- Team #01 - Work Description --> <!-- Team #01 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner"> <xpath expr="//p[hasclass('o_small-fs')]" position="replace" mode="inner">
Lead Singer Lead Singer
</xpath> </xpath>
<!-- Team #02 - Title --> <!-- Team #02 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[2]" position="replace" mode="inner">
Mich Mich
</xpath> </xpath>
<!-- Team #02 - Work Description --> <!-- Team #02 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
Singer / Song Writer Singer / Song Writer
</xpath> </xpath>
<!-- Team #03 - Title --> <!-- Team #03 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[3]" position="replace" mode="inner">
Aline Aline
</xpath> </xpath>
<!-- Team #03 - Work Description --> <!-- Team #03 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
Singer Singer
</xpath> </xpath>
<!-- Team #04 - Title --> <!-- Team #04 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[4]" position="replace" mode="inner">
Iris Iris
</xpath> </xpath>
<!-- Team #04 - Work Description --> <!-- Team #04 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
Singer Singer
</xpath> </xpath>
</template> </template>
@@ -3,7 +3,7 @@
<template id="s_company_team_shapes" inherit_id="website.s_company_team_shapes"> <template id="s_company_team_shapes" inherit_id="website.s_company_team_shapes">
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1 pt80 pb80" remove="o_cc2 pt48 pb48" separator=" "/> <attribute name="class" add="o_cc1 pt80 pb104" remove="o_cc2 pt48 pb48" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/15','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute> <attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/15','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath> </xpath>
<xpath expr="//div[hasclass('o_container_small')]" position="before"> <xpath expr="//div[hasclass('o_container_small')]" position="before">
@@ -7,7 +7,9 @@
<attribute name="class" add="pt0 pb56" remove="pt80 pb80" separator=" "/> <attribute name="class" add="pt0 pb56" remove="pt80 pb80" separator=" "/>
</xpath> </xpath>
<!-- Remove title, subtitle and button --> <!-- Remove title, subtitle and button -->
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/> <xpath expr="//h2" position="replace"/>
<xpath expr="//p" position="replace"/>
<xpath expr="//p" position="replace"/>
<xpath expr="//div[hasclass('row')]" position="attributes"> <xpath expr="//div[hasclass('row')]" position="attributes">
<attribute name="class" add="o_grid_mode" separator=" "/> <attribute name="class" add="o_grid_mode" separator=" "/>
@@ -7,7 +7,8 @@
<attribute name="class" add="pt0 pb56 o_cc2" remove="pt64 pb64 o_cc1" separator=" "/> <attribute name="class" add="pt0 pb56 o_cc2" remove="pt64 pb64 o_cc1" separator=" "/>
</xpath> </xpath>
<!-- Remove title, subtitle --> <!-- Remove title, subtitle -->
<xpath expr="//div[hasclass('row')]/div" position="replace"/> <xpath expr="//h2" position="replace"/>
<xpath expr="//p" position="replace"/>
</template> </template>
</odoo> </odoo>
@@ -17,24 +17,24 @@
Tony leads the creative vision for the shop. Tony leads the creative vision for the shop.
</xpath> </xpath>
<!-- Person 2 --> <!-- Person 2 -->
<xpath expr="//div[3]//h4" position="replace" mode="inner"> <xpath expr="(//h4)[2]" position="replace" mode="inner">
Mich Stark, Operations Manager Mich Stark, Operations Manager
</xpath> </xpath>
<xpath expr="//div[3]//p[2]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
Mich makes sure everything runs smoothly. Mich makes sure everything runs smoothly.
</xpath> </xpath>
<!-- Person 3 --> <!-- Person 3 -->
<xpath expr="//div[4]//h4" position="replace" mode="inner"> <xpath expr="(//h4)[3]" position="replace" mode="inner">
Aline Turner, Bouquet Designer Aline Turner, Bouquet Designer
</xpath> </xpath>
<xpath expr="//div[4]//p[2]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
Aline is the mastermind behind our bespoke floral arrangements. Aline is the mastermind behind our bespoke floral arrangements.
</xpath> </xpath>
<!-- Person 4 --> <!-- Person 4 -->
<xpath expr="//div[5]//h4" position="replace" mode="inner"> <xpath expr="(//h4)[4]" position="replace" mode="inner">
Iris Joe, Customer Relations Iris Joe, Customer Relations
</xpath> </xpath>
<xpath expr="//div[5]//p[2]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
Iris ensures that each customer has a delightful experience. Iris ensures that each customer has a delightful experience.
</xpath> </xpath>
</template> </template>
+3 -1
View File
@@ -186,7 +186,9 @@
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" remove="pt80 pb80" separator=" "/> <attribute name="class" remove="pt80 pb80" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/> <xpath expr="//h2" position="replace"/>
<xpath expr="//p" position="replace"/>
<xpath expr="//p" position="replace"/>
</template> </template>
<!-- ==== Three Columns ===== --> <!-- ==== Three Columns ===== -->
@@ -5,38 +5,38 @@
Meet our team Meet our team
</xpath> </xpath>
<!-- Team #01 - Title --> <!-- Team #01 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner"> <xpath expr="//h4" position="replace" mode="inner">
Tony Fred Tony Fred
</xpath> </xpath>
<!-- Team #01 - Work Description --> <!-- Team #01 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner"> <xpath expr="//p[hasclass('o_small-fs')]" position="replace" mode="inner">
Founder &amp; Planner Founder &amp; Planner
</xpath> </xpath>
<!-- Team #02 - Title --> <!-- Team #02 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[2]" position="replace" mode="inner">
Clair Stark Clair Stark
</xpath> </xpath>
<!-- Team #02 - Work Description --> <!-- Team #02 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
The Designer The Designer
</xpath> </xpath>
<!-- Team #03 - Title --> <!-- Team #03 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[3]" position="replace" mode="inner">
Aline Turner Aline Turner
</xpath> </xpath>
<!-- Team #03 - Work Description --> <!-- Team #03 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
The Stylist The Stylist
</xpath> </xpath>
<!-- Team #04 - Title --> <!-- Team #04 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner"> <xpath expr="(//h4)[4]" position="replace" mode="inner">
Iris Joe Iris Joe
</xpath> </xpath>
<!-- Team #04 - Work Description --> <!-- Team #04 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
Professional Photographer Professional Photographer
</xpath> </xpath>
</template> </template>
+2 -1
View File
@@ -7,7 +7,8 @@
<attribute name="class" add="o_cc o_cc2 pb88" remove="pb64" separator=" "/> <attribute name="class" add="o_cc o_cc2 pb88" remove="pb64" separator=" "/>
</xpath> </xpath>
<!-- Remove title and subtitle --> <!-- Remove title and subtitle -->
<xpath expr="//div[hasclass('col-lg-12')]" position="replace"/> <xpath expr="//div[hasclass('container')]/h3" position="replace"/>
<xpath expr="//div[hasclass('container')]/p" position="replace"/>
<!-- Column #01 --> <!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[1]/div[hasclass('s_hr')]" position="replace"/> <xpath expr="//div[hasclass('row')]/div[1]/div[hasclass('s_hr')]" position="replace"/>
<xpath expr="//div[hasclass('row')]/div[1]/i" position="replace"> <xpath expr="//div[hasclass('row')]/div[1]/i" position="replace">
@@ -7,22 +7,22 @@
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/> <attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath> </xpath>
<!-- Column #01 --> <!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes"> <xpath expr="//div[hasclass('row')]/div" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/> <attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/> <attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
</xpath> </xpath>
<!-- Column #02 --> <!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/div[3]" position="attributes"> <xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/> <attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/> <attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
</xpath> </xpath>
<!-- Column #03 --> <!-- Column #03 -->
<xpath expr="//div[hasclass('row')]/div[4]" position="attributes"> <xpath expr="//div[hasclass('row')]/div[3]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/> <attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/> <attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
</xpath> </xpath>
<!-- Column #04 --> <!-- Column #04 -->
<xpath expr="//div[hasclass('row')]/div[5]" position="attributes"> <xpath expr="//div[hasclass('row')]/div[4]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/> <attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/> <attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=";"/>
</xpath> </xpath>