mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
0bb5f6c93e
Revamp the theme design and adapt its existing snippets task-4178083 Part of task-4177975 closes odoo/design-themes#927 Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
28 lines
886 B
XML
28 lines
886 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
|
<!-- Card -->
|
|
<xpath expr="//div[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="o_cc3" remove="o_cc4" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Discover upcoming<br/>concerts in your area
|
|
</xpath>
|
|
<!-- Paragraphs -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Experience a memorable concert with local artists<br/><br/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/theme_nano/static/src/img/theme/19.jpg</attribute>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
|
|
View the agenda
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|