summaryrefslogtreecommitdiff
path: root/theme_zap/views/snippets/s_numbers.xml
diff options
context:
space:
mode:
authorRichard Sassine <richardsassine@tutanota.com>2021-05-04 18:00:38 +0300
committerRichard Sassine <richardsassine@tutanota.com>2021-05-04 18:00:38 +0300
commitad97722b1b35aff50d0adf13a19715f7b8373c07 (patch)
treeedf36f1114b896a01602e31dafd74efe45736427 /theme_zap/views/snippets/s_numbers.xml
initial commit
Diffstat (limited to 'theme_zap/views/snippets/s_numbers.xml')
-rw-r--r--theme_zap/views/snippets/s_numbers.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/theme_zap/views/snippets/s_numbers.xml b/theme_zap/views/snippets/s_numbers.xml
new file mode 100644
index 0000000..da361cd
--- /dev/null
+++ b/theme_zap/views/snippets/s_numbers.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <template id="s_numbers" inherit_id="website.s_numbers">
+ <!-- Section -->
+ <xpath expr="//section" position="attributes">
+ <attribute name="class" add="pt64 pb64" remove="pt48 pb24" separator=" "/>
+ </xpath>
+ <!-- Column #01 -->
+ <xpath expr="//div[hasclass('col-lg-3')][1]" position="attributes">
+ <attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
+ </xpath>
+ <xpath expr="//div[hasclass('col-lg-3')][1]/h6" position="replace">
+ <h6>Business Solutions</h6>
+ </xpath>
+ <!-- Column #02 -->
+ <xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes">
+ <attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
+ </xpath>
+ <xpath expr="//div[hasclass('col-lg-3')][2]/span" position="replace">
+ <span class="s_number display-4">4500</span>
+ </xpath>
+ <xpath expr="//div[hasclass('col-lg-3')][2]/h6" position="replace">
+ <h6>Happy Customers</h6>
+ </xpath>
+ <!-- Column #03 -->
+ <xpath expr="//div[hasclass('col-lg-3')][3]" position="attributes">
+ <attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
+ </xpath>
+ <xpath expr="//div[hasclass('col-lg-3')][3]/h6" position="replace">
+ <h6>Available Languages</h6>
+ </xpath>
+ <!-- Column #04 -->
+ <xpath expr="//div[hasclass('col-lg-3')][4]" position="attributes">
+ <attribute name="class" add="shadow-sm bg-white pt64 pb64" remove="pt24 pb24" separator=" "/>
+ </xpath>
+ <xpath expr="//div[hasclass('col-lg-3')][4]/h6" position="replace">
+ <h6>Ongoing Projects</h6>
+ </xpath>
+ </template>
+</odoo>