mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_company_team_basic
task-4144648 Part of: task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Serge Bayet (seba) <seba@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_company_team_basic.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_card_offset.xml',
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<!-- Team #01 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner">
|
||||
Tony Fred
|
||||
</xpath>
|
||||
<!-- Team #01 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner">
|
||||
Editor-in-chief
|
||||
</xpath>
|
||||
<!-- Team #01 - Img -->
|
||||
<xpath expr="(//img)[1]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_1/web_editor/geometric/geo_square_6.svg</attribute>
|
||||
<attribute name="data-shape">web_editor/geometric/geo_square_6</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_1.svg</attribute>
|
||||
<attribute name="data-shape-colors">;;;;</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Team #02 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner">
|
||||
Mich Stark
|
||||
</xpath>
|
||||
<!-- Team #02 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner">
|
||||
Sports Reporter
|
||||
</xpath>
|
||||
<!-- Team #02 - Img -->
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_2/web_editor/geometric/geo_square_4.svg</attribute>
|
||||
<attribute name="data-shape">web_editor/geometric/geo_square_4</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_2.svg</attribute>
|
||||
<attribute name="data-shape-colors">;;;;</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Team #03 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner">
|
||||
Aline Turner
|
||||
</xpath>
|
||||
<!-- Team #03 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner">
|
||||
Photograph
|
||||
</xpath>
|
||||
<!-- Team #03 - Img -->
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_3/web_editor/geometric/geo_square_3.svg</attribute>
|
||||
<attribute name="data-shape">web_editor/geometric/geo_square_3</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_3.svg</attribute>
|
||||
<attribute name="data-shape-colors">;;;;</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Team #04 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner">
|
||||
Iris Joe
|
||||
</xpath>
|
||||
<!-- Team #04 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner">
|
||||
Political Reporter
|
||||
</xpath>
|
||||
<!-- Team #04 - Img -->
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_4/web_editor/geometric/geo_square_5.svg</attribute>
|
||||
<attribute name="data-shape">web_editor/geometric/geo_square_5</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
<attribute name="data-file-name">uiface_4.svg</attribute>
|
||||
<attribute name="data-shape-colors">;;;;</attribute>
|
||||
</xpath>
|
||||
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -42,6 +42,7 @@
|
||||
'views/snippets/s_comparisons.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_company_team_basic.xml',
|
||||
'views/snippets/s_product_list.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
'views/snippets/s_company_team_shapes.xml',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -291,6 +291,35 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== TEAM BASIC ======== -->
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Discover our dedicated staff
|
||||
</xpath>
|
||||
<!-- Profile #1 -->
|
||||
<xpath expr="(//h4)[1]" position="replace" mode="inner">
|
||||
Tony Fred
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[1]" position="replace" mode="inner">
|
||||
Faculty Head of IT
|
||||
</xpath>
|
||||
<!-- Profile #2 -->
|
||||
<xpath expr="(//h4)[2]" position="replace" mode="inner">
|
||||
Mich Stark
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
|
||||
IT Officer
|
||||
</xpath>
|
||||
<!-- Profile #3 -->
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
|
||||
Law professor
|
||||
</xpath>
|
||||
<!-- Profile #4 -->
|
||||
<xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
|
||||
Physics professor
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== BIG BOXES ======== -->
|
||||
<template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2" name="Be Wise s_color_blocks_2">
|
||||
<!-- Left column -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
'views/snippets/s_showcase.xml',
|
||||
'views/snippets/s_comparisons.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_company_team_basic.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_features_grid.xml',
|
||||
'views/snippets/s_table_of_content.xml',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -18,6 +18,7 @@
|
||||
'views/snippets/s_images_mosaic.xml',
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_company_team_basic.xml',
|
||||
'views/snippets/s_masonry_block.xml',
|
||||
'views/snippets/s_product_catalog.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Discover our talented artists
|
||||
</xpath>
|
||||
<!-- Team #01 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner">
|
||||
Tony
|
||||
</xpath>
|
||||
<!-- Team #01 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner">
|
||||
Lead Singer
|
||||
</xpath>
|
||||
|
||||
<!-- Team #02 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner">
|
||||
Mich
|
||||
</xpath>
|
||||
<!-- Team #02 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner">
|
||||
Singer / Song Writer
|
||||
</xpath>
|
||||
|
||||
<!-- Team #03 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner">
|
||||
Aline
|
||||
</xpath>
|
||||
<!-- Team #03 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner">
|
||||
Singer
|
||||
</xpath>
|
||||
|
||||
<!-- Team #04 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner">
|
||||
Iris
|
||||
</xpath>
|
||||
<!-- Team #04 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner">
|
||||
Singer
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -19,6 +19,7 @@
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_company_team_detail.xml',
|
||||
'views/snippets/s_company_team_basic.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_card_offset.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Meet our team
|
||||
</xpath>
|
||||
<!-- Team #01 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner">
|
||||
Tony Fred
|
||||
</xpath>
|
||||
<!-- Team #01 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner">
|
||||
Founder & Planner
|
||||
</xpath>
|
||||
|
||||
<!-- Team #02 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner">
|
||||
Clair Stark
|
||||
</xpath>
|
||||
<!-- Team #02 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner">
|
||||
The Designer
|
||||
</xpath>
|
||||
|
||||
<!-- Team #03 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner">
|
||||
Aline Turner
|
||||
</xpath>
|
||||
<!-- Team #03 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner">
|
||||
The Stylist
|
||||
</xpath>
|
||||
|
||||
<!-- Team #04 - Title -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner">
|
||||
Iris Joe
|
||||
</xpath>
|
||||
<!-- Team #04 - Work Description -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner">
|
||||
Professional Photographer
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -17,6 +17,7 @@
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_sidegrid.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
'views/snippets/s_company_team_basic.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_card_offset.xml',
|
||||
'views/snippets/s_features.xml',
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<!-- Person 1 -->
|
||||
<xpath expr="(//img)[1]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Person 2 -->
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Person 3 -->
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Person 4 -->
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="class" remove="rounded-circle" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user