mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
4492c5dfa6
Revamp of `theme_bookstore`. task-4109584 closes odoo/design-themes#862 Related: odoo/odoo#176503 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
28 lines
1006 B
XML
28 lines
1006 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc1 pt128 pb32" remove="o_cc5 pt64 pb64" separator=" "/>
|
|
</xpath>
|
|
<!-- Paragraph #1 -->
|
|
<xpath expr="//div[hasclass('col-lg-9')]" position="replace">
|
|
<div class="pb16 col-lg-12 text-center">
|
|
<h2>Browse through <br/>our complete library</h2>
|
|
</div>
|
|
</xpath>
|
|
<!-- Paragraph #2 -->
|
|
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
|
|
<attribute name="class" add="col-lg-12" remove="col-lg-3" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('col-lg-12')][2]/p" position="attributes">
|
|
<attribute name="style">text-align: center;</attribute>
|
|
</xpath>
|
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
|
Browse collection
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|