mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
e7a6c43233
*: artists, avantgarde, aviato, bookstore, buzzy, clean, graphene, kea, kiddo, loftspace, monglia, odoo_experts, orchid, paptic, real_estate, vehicle This commit mirrors the changes made to the `s_three_columns` and the `s_comparisons` snippets, adding the use of the `s_card` snippet in them in the community counterpart. task-4115012 part of task-3619705 closes odoo/design-themes#868 Related: odoo/odoo#176684 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
63 lines
2.7 KiB
XML
63 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
|
</xpath>
|
|
<!-- Column #1 -->
|
|
<xpath expr="//div[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="shadow" separator=" "/>
|
|
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
|
</xpath>
|
|
<!-- Column #1 - Title -->
|
|
<xpath expr="//div[hasclass('card-body')]//h5" position="replace" mode="inner">
|
|
My artistic process
|
|
</xpath>
|
|
<!-- Column #1 - Paragraph -->
|
|
<xpath expr="//div[hasclass('card-body')]//p" position="replace" mode="inner">
|
|
The choice of materials, colours are not insignificant, discover more about my artistic process.
|
|
</xpath>
|
|
<!-- Column #1 - Add a button -->
|
|
<xpath expr="//div[hasclass('card-body')]//p" position="after">
|
|
<p><a href="#" class="btn btn-primary">More details</a></p>
|
|
</xpath>
|
|
<!-- Column #2 -->
|
|
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
|
<attribute name="class" add="shadow" separator=" "/>
|
|
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
|
</xpath>
|
|
<!-- Column #2 - Title -->
|
|
<xpath expr="(//div[hasclass('card-body')])[2]//h5" position="replace" mode="inner">
|
|
My work
|
|
</xpath>
|
|
<!-- Column #2 - Paragraph -->
|
|
<xpath expr="(//div[hasclass('card-body')])[2]//p" position="replace" mode="inner">
|
|
Here is a selection of my works, exhibited in my studio and in galleries around the world.
|
|
</xpath>
|
|
<!-- Column #2 - Add a button -->
|
|
<xpath expr="(//div[hasclass('card-body')])[2]//p" position="after">
|
|
<p><a href="#" class="btn btn-primary">Discover</a></p>
|
|
</xpath>
|
|
<!-- Column #3 -->
|
|
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
|
<attribute name="class" add="shadow" separator=" "/>
|
|
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
|
|
</xpath>
|
|
<!-- Column #3 - Title -->
|
|
<xpath expr="(//div[hasclass('card-body')])[3]//h5" position="replace" mode="inner">
|
|
About me
|
|
</xpath>
|
|
<!-- Column #3 - Paragraph -->
|
|
<xpath expr="(//div[hasclass('card-body')])[3]//p" position="replace" mode="inner">
|
|
Formerly a corporate accountant, I started a professional transition 10 years ago.
|
|
</xpath>
|
|
<!-- Column #3 - Add a button -->
|
|
<xpath expr="(//div[hasclass('card-body')])[3]//p" position="after">
|
|
<p><a href="/contactus" class="btn btn-primary">Contact me</a></p>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|