mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_cards_grid
task-4104964 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:
@@ -14,6 +14,7 @@
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_cards_grid.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_images_mosaic.xml',
|
||||
'views/snippets/s_media_list.xml',
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Experience the Best of Our Festival
|
||||
</xpath>
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[1]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[1]" position="replace" mode="inner">
|
||||
Engaging Social Activities
|
||||
</xpath>
|
||||
<xpath expr="(//p)[1]" position="replace" mode="inner">
|
||||
Connect with fellow festival-goers through a variety of social activities, from interactive games to community art projects, creating memories that last a lifetime.
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[2]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||||
Incredible Lineup of Artists
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Enjoy performances from a diverse range of talented artists, bringing you the best in music, dance, and visual arts from around the world.
|
||||
</xpath>
|
||||
<!-- Card 3 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[3]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||||
Exclusive Festival Merchandise
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
Grab your exclusive festival merch, from stylish apparel to unique souvenirs, so you can remember your festival experience in style.
|
||||
</xpath>
|
||||
<!-- Card 4 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[4]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="border-width: 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h5)[4]" position="replace" mode="inner">
|
||||
High-Quality Music Experience
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
Immerse yourself in an exceptional audio journey with high-quality sound systems and curated playlists, ensuring an unforgettable musical experience.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user