diff options
Diffstat (limited to 'theme_zap/views/snippets')
| -rw-r--r-- | theme_zap/views/snippets/s_banner.xml | 25 | ||||
| -rw-r--r-- | theme_zap/views/snippets/s_color_blocks_2.xml | 28 | ||||
| -rw-r--r-- | theme_zap/views/snippets/s_features.xml | 45 | ||||
| -rw-r--r-- | theme_zap/views/snippets/s_masonry_block.xml | 31 | ||||
| -rw-r--r-- | theme_zap/views/snippets/s_numbers.xml | 40 | ||||
| -rw-r--r-- | theme_zap/views/snippets/s_references.xml | 41 |
6 files changed, 210 insertions, 0 deletions
diff --git a/theme_zap/views/snippets/s_banner.xml b/theme_zap/views/snippets/s_banner.xml new file mode 100644 index 0000000..2caf285 --- /dev/null +++ b/theme_zap/views/snippets/s_banner.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="s_banner" inherit_id="website.s_banner"> + <!-- Section --> + <xpath expr="//section" position="attributes"> + <attribute name="class" add="pt152" remove="pt96 pb96" separator=" "/> + </xpath> + <!-- Column --> + <xpath expr="//div[hasclass('col-lg-6')]" position="attributes"> + <attribute name="class" add="col-lg-12 text-center pt80 pb80" remove="col-lg-6" separator=" "/> + </xpath> + <!-- Title --> + <xpath expr="//h1" position="replace"> + <h1><b>Digital Transformation</b></h1> + </xpath> + <!-- Text --> + <xpath expr="//p" position="replace"> + <p class="lead">Software Innovation as its best.<br/> Harness the power of disruptive technologies to increase your day-to-day business operations.</p> + </xpath> + <!-- Button --> + <xpath expr="//a" position="replace"> + <a href="#" class="btn btn-primary mb-2">Our Solutions</a> + </xpath> + </template> +</odoo> diff --git a/theme_zap/views/snippets/s_color_blocks_2.xml b/theme_zap/views/snippets/s_color_blocks_2.xml new file mode 100644 index 0000000..a6b4c7f --- /dev/null +++ b/theme_zap/views/snippets/s_color_blocks_2.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2"> + <!-- Section --> + <xpath expr="//div[hasclass('row')]//div[1]" position="attributes"> + <attribute name="class" add="o_cc4" remove="o_cc3 text-center" separator=" "/> + </xpath> + <!-- Column #01 --> + <xpath expr="//div[hasclass('row')]//div[1]//i" position="replace"> + <i class="fa fa-4x fa-cloud bg-white rounded-circle shadow mb-4"/> + </xpath> + <xpath expr="//div[hasclass('row')]//div[1]//h2" position="replace"> + <h2>Cloud <b>Solution</b></h2> + </xpath> + <xpath expr="//div[hasclass('row')]//div[1]//p" position="replace"> + <p>Keep your files in one place. Manage documents online with an easy to use interface. Rely on an highly secure cloud storage.</p> + </xpath> + <xpath expr="//a" position="replace"> + <a href="#" class="btn btn-primary mb-2">Learn more</a> + </xpath> + <!-- Column #02 --> + <xpath expr="//div[hasclass('row')]//div[2]" position="replace"> + <div class="col-lg-6 p-0"> + <img src="/theme_zap/static/src/img/backgrounds/01.jpg" class="w-100 h-100 align-self-stretch" style="object-fit: cover;" alt=""/> + </div> + </xpath> + </template> +</odoo> diff --git a/theme_zap/views/snippets/s_features.xml b/theme_zap/views/snippets/s_features.xml new file mode 100644 index 0000000..1abe0ab --- /dev/null +++ b/theme_zap/views/snippets/s_features.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="s_features" inherit_id="website.s_features"> + <!-- Section --> + <xpath expr="//section" position="attributes"> + <attribute name="class" add="o_cc2 pt64 pb64" remove="pt48 pb48" separator=" "/> + </xpath> + <!-- Column #01 --> + <xpath expr="//div[hasclass('row')]/div[1]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" separator=" "/> + </xpath> + <xpath expr="//div[hasclass('row')]/div[1]/i" position="replace"> + <i class="fa fa-3x fa-gear bg-o-color-1 m-3 rounded-circle"/> + </xpath> + <xpath expr="//div[hasclass('row')]/div[1]/h3" position="replace"> + <h3 class="text-primary">Security</h3> + </xpath> + <xpath expr="//div[hasclass('row')]/div[1]/p" position="replace"> + <p>We keep you safe in the cloud.</p> + </xpath> + <!-- Column #02 --> + <xpath expr="//div[hasclass('row')]/div[2]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" separator=" "/> + </xpath> + <xpath expr="//div[hasclass('row')]/div[2]/i" position="replace"> + <i class="fa fa-3x fa-file-text bg-o-color-5 m-3 rounded-circle"/> + </xpath> + <xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace"> + <h3 class="text-dark">Support</h3> + </xpath> + <xpath expr="//div[hasclass('row')]/div[2]/p" position="replace"> + <p>All types of files are allowed.</p> + </xpath> + <!-- Column #03 --> + <xpath expr="//div[hasclass('row')]/div[3]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" separator=" "/> + </xpath> + <xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace"> + <h3 class="text-secondary">Eco-Friendly</h3> + </xpath> + <xpath expr="//div[hasclass('row')]/div[3]/p" position="replace"> + <p>All our data centers are emission-free.</p> + </xpath> + </template> +</odoo> diff --git a/theme_zap/views/snippets/s_masonry_block.xml b/theme_zap/views/snippets/s_masonry_block.xml new file mode 100644 index 0000000..29424eb --- /dev/null +++ b/theme_zap/views/snippets/s_masonry_block.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="s_masonry_block" inherit_id="website.s_masonry_block"> + <!-- Block #01 --> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')]/*" position="before"> + <i class="fa fa-star fa-1x text-secondary rounded shadow-sm mx-auto mb-3"/> + </xpath> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')]/h3" position="replace"> + <h3>Super <b>Easy</b>.</h3> + </xpath> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')]/p" position="replace"/> + <!-- Block #02 --> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')][2]" position="replace"> + <div class="col-lg-6 p-0"> + <img src="/theme_zap/static/src/img/backgrounds/02.jpg" class="w-100 h-100 align-self-stretch" style="object-fit: cover;" alt=""/> + </div> + </xpath> + <!-- Block #03 --> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')][3]" position="replace"> + <div class="col-lg-6 text-center p-5"><p class="lead mb-0"><em>Maintain a position of constant change and evolution, while always aiming for your success.</em></p></div> + </xpath> + <!-- Block #04 --> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')][4]/h3" position="replace"> + <h3>Super <b>Fast</b>.</h3> + </xpath> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')][4]/p" position="replace"/> + <xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')][4]/*" position="before"> + <i class="fa fa-rocket fa-1x text-primary rounded shadow-sm mx-auto mb-3"/> + </xpath> + </template> +</odoo> 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> diff --git a/theme_zap/views/snippets/s_references.xml b/theme_zap/views/snippets/s_references.xml new file mode 100644 index 0000000..a7d420b --- /dev/null +++ b/theme_zap/views/snippets/s_references.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="s_references" inherit_id="website.s_references"> + <!-- Section --> + <xpath expr="//section" position="attributes"> + <attribute name="class" add="pt80 pb64 o_cc2" remove="pt48 pb32" separator=" "/> + </xpath> + <!-- Title --> + <xpath expr="//h2" position="replace"> + <h2 style="text-align: center;">Our <b>References</b></h2> + </xpath> + <!-- Paragraph --> + <xpath expr="//p" position="after"> + <p><br/></p> + </xpath> + <!-- Column #01 --> + <xpath expr="//div[hasclass('row')]/div[1]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" remove="" separator=" "/> + </xpath> + <!-- Column #02 --> + <xpath expr="//div[hasclass('row')]/div[2]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" remove="" separator=" "/> + </xpath> + <!-- Column #03 --> + <xpath expr="//div[hasclass('row')]/div[3]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" remove="" separator=" "/> + </xpath> + <!-- Column #04 --> + <xpath expr="//div[hasclass('row')]/div[4]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" remove="" separator=" "/> + </xpath> + <!-- Column #05 --> + <xpath expr="//div[hasclass('row')]/div[5]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" remove="" separator=" "/> + </xpath> + <!-- Column #06 --> + <xpath expr="//div[hasclass('row')]/div[6]" position="attributes"> + <attribute name="class" add="rounded bg-white shadow-sm pt48 pb48" remove="" separator=" "/> + </xpath> + </template> +</odoo> |
