mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_card_offset
task-4105038 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
28cc178546
commit
2c8892ab4d
@@ -17,6 +17,7 @@
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_card_offset.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_picture.xml',
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_card_offset" inherit_id="website.s_card_offset">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5 o_colored_level" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.library_image_13</attribute>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Building the Future of Business
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
<xpath expr="(//p[hasclass('lead')])[1]" position="replace" mode="inner">
|
||||
Combine architectural brilliance with business acumen to create spaces that inspire. Our services integrate design and functionality for optimal corporate environments.
|
||||
</xpath>
|
||||
<!-- Paragraph 2 -->
|
||||
<xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
|
||||
Design your business success.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user