mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
fc1382ce5a
This commit revamps the design of the `theme_nano`.
task-4178081
part of task-4177975
closes odoo/design-themes#966
X-original-commit: 47568ec66f
Related: odoo/odoo#182004
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_discovery" inherit_id="website.s_discovery">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
|
</xpath>
|
|
|
|
<xpath expr="//span[hasclass('s_cta_badge')]" position="attributes">
|
|
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
|
|
<i class="fa fa-fw fa-circle text-success o_not-animable" aria-hidden="true"/><span class="o_small-fs">  AVAILABLE FOR NEW PROJECTS</span>
|
|
</xpath>
|
|
|
|
<xpath expr="//h1" position="replace">
|
|
<h1 style="text-align: center">
|
|
<strong>We are CreativeAgency.</strong>
|
|
</h1>
|
|
</xpath>
|
|
|
|
<xpath expr="//p[2]" position="replace" mode="inner">
|
|
<a t-att-href="cta_btn_href" class="btn btn-lg btn-primary"><t t-out="cta_btn_text">Get Started</t></a>
|
|
</xpath>
|
|
|
|
</template>
|
|
|
|
<template id="configurator_s_discovery" inherit_id="website.configurator_s_discovery">
|
|
<!-- CTA -->
|
|
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
|
|
<i class="fa fa-circle text-success" aria-hidden="true"/>  AVAILABLE FOR NEW PROJECTS    <a href="#">Contact us  <i class="fa fa-long-arrow-right" aria-hidden="true"/></a>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|