You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
202 lines
11 KiB
202 lines
11 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<template id="custom_message" inherit_id="website.layout" name="Custom Header and Footer">
|
|
<!-- Adds a custom header to a website by injecting HTML code into the main page. -->
|
|
<!-- It includes a title, stylesheet links, and FontAwesome icons.-->
|
|
<xpath expr="//div[@id='wrapwrap']/main" position="before">
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
<title>Sanitize</title>
|
|
<link rel="stylesheet" href="/theme_splash/static/src/css/style.css"/>
|
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
|
|
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ"
|
|
crossorigin="anonymous"/>
|
|
</head>
|
|
</html>
|
|
</xpath>
|
|
<!-- Header-->
|
|
<xpath expr="//header" position="replace">
|
|
<header>
|
|
<section class="navigation">
|
|
<!--Navbar-->
|
|
<div class="nav-wrapper">
|
|
<nav class="navbar navbar-expand-lg navbar-dark scrolling-navbar"
|
|
id="new">
|
|
|
|
<!-- Navbar brand -->
|
|
<a class="navbar-brand">
|
|
<t t-call="website.placeholder_header_brand">
|
|
<t t-set="_link_class" t-value="'mr-auto'"/>
|
|
</t>
|
|
</a>
|
|
|
|
<!-- Collapse button -->
|
|
<button class="navbar-toggler" type="button"
|
|
data-bs-toggle="collapse"
|
|
data-bs-target="#basicExampleNav"
|
|
aria-controls="basicExampleNav"
|
|
aria-expanded="false"
|
|
aria-label="Toggle navigation">
|
|
<span class=" fa fa-bars"/>
|
|
<span/>
|
|
</button>
|
|
|
|
<!-- Collapsible content -->
|
|
<div class="collapse navbar-collapse"
|
|
id="basicExampleNav">
|
|
|
|
<!-- Links -->
|
|
<ul class="navbar-nav mr-auto">
|
|
<t t-foreach="website.menu_id.child_id"
|
|
t-as="submenu">
|
|
<li class="nav-item active"
|
|
t-call="website.submenu">
|
|
<a class="nav-link"
|
|
t-set="item_class"
|
|
t-value="'nav-item'"/>
|
|
<span class="sr-only">(current)
|
|
</span>
|
|
<a t-set="link_class"
|
|
t-value="'nav-link'"/>
|
|
</li>
|
|
</t>
|
|
</ul>
|
|
<div>
|
|
<t t-call="website_sale.header_cart_link">
|
|
<t t-set="_icon" t-value="True"/>
|
|
<t t-set="_link_class" t-value="'o_navlink_background btn position-relative rounded-circle p-1 text-center text-reset'"/>
|
|
<t t-set="_badge_class" t-value="'position-absolute top-0 end-0 mt-n1 me-n1 rounded-pill'"/>
|
|
</t>
|
|
</div>
|
|
<div>
|
|
<t t-call="website_sale_wishlist.header_wishlist_link">
|
|
<t t-set="_icon" t-value="True"/>
|
|
<t t-set="_link_class" t-value="'o_navlink_background_hover btn position-relative rounded-circle border-0 p-1 text-reset'"/>
|
|
<t t-set="_badge_class" t-value="'position-absolute top-0 end-0 mt-n1 me-n1 rounded-pill'"/>
|
|
</t>
|
|
</div>
|
|
<!-- Links -->
|
|
<div class="nav navbar-nav navbar-expand">
|
|
<!-- Sign In -->
|
|
<t t-call="portal.placeholder_user_sign_in">
|
|
<t t-set="_item_class"
|
|
t-value="'nav-item ml-lg-3'"/>
|
|
<t t-set="_link_class"
|
|
t-value="'nav-link'"/>
|
|
</t>
|
|
<!-- User Dropdown -->
|
|
<t t-call="portal.user_dropdown">
|
|
<t t-set="_user_name" t-value="True"/>
|
|
<t t-set="_item_class"
|
|
t-value="'nav-item dropdown ml-lg-3'"/>
|
|
<t t-set="_link_class"
|
|
t-value="'nav-link font-weight-bold'"/>
|
|
</t>
|
|
</div>
|
|
<t t-call="website.placeholder_header_search_box">
|
|
<t t-set="_layout" t-valuef="modal"/>
|
|
<t t-set="_input_classes" t-valuef="border border-end-0 p-3"/>
|
|
<t t-set="_submit_classes" t-valuef="border border-start-0 px-4 bg-o-color-4"/>
|
|
<t t-set="_button_classes" t-valuef="o_navlink_background text-reset"/>
|
|
</t>
|
|
<div class="quote">
|
|
<a href="/contactus" class="btn btn-qut">
|
|
Contact Us
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</section>
|
|
</header>
|
|
</xpath>
|
|
<!-- Footer-->
|
|
<!-- This is a custom footer template for a website, with three sections for information on About Us,-->
|
|
<!-- Contact Us, and Newsletter Subscription. It also includes social media icons and a copyright notice.-->
|
|
<xpath expr="//footer" position="replace">
|
|
<footer class="footer ">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-12 col-lg-4 col-md-12 col-sm-12">
|
|
<div class="footer_part">
|
|
<h4>About Us</h4>
|
|
<p class="fp">
|
|
We are dedicated to the safety of our guests
|
|
and
|
|
employees and have updated
|
|
our safety measures. We believe in Simple,
|
|
Creative, Modern and Flexible
|
|
Design Standards with a Retina and
|
|
Responsive
|
|
Approach.
|
|
</p>
|
|
<a href="#" class="btn btn-quoteF">Get a Quote
|
|
>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-4 col-md-6 col-sm-12">
|
|
<h4>Contact Us</h4>
|
|
|
|
<address class="fp">
|
|
<div t-field="res_company.partner_id"
|
|
t-options='{
|
|
"widget": "contact",
|
|
"fields": ["name", "address", "phone", "mobile", "email"]}'/>
|
|
</address>
|
|
<div class="footer_icons">
|
|
<ul>
|
|
<a href="#">
|
|
<li class="fab fa-facebook-f fb"
|
|
aria-hidden="true"/>
|
|
</a>
|
|
<a href="#">
|
|
<li class="fab fa-twitter tw"
|
|
aria-hidden="true"/>
|
|
</a>
|
|
<a href="#">
|
|
<li class="fab fa-google-plus-g gg"
|
|
aria-hidden="true"/>
|
|
</a>
|
|
<a href="#">
|
|
<li class="fab fa-dribbble dr"
|
|
aria-hidden="true"/>
|
|
</a>
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-12 col-lg-4 col-md-6 col-sm-12">
|
|
<h4>Subscribe Newslettres</h4>
|
|
<p class="fp">
|
|
Enter your email and receive the latest news,
|
|
updates and special offers from us.
|
|
</p>
|
|
|
|
<div class="ping">
|
|
<form class="form-inline">
|
|
<div class="md-form my-0">
|
|
<input class="form-control mr-sm-2"
|
|
type="text" placeholder="Email"
|
|
aria-label="Email"/>
|
|
</div>
|
|
</form>
|
|
|
|
<a class="btn btn-sub">Subscribe</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="footer_bottom text-center">
|
|
© 2024 Splash. All rights reserved | Design by
|
|
<a href="#">Cybrosys.</a>
|
|
</div>
|
|
</footer>
|
|
</xpath>
|
|
|
|
</template>
|
|
</odoo>
|