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.
149 lines
7.8 KiB
149 lines
7.8 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<template id="custom_message" inherit_id="website.layout"
|
|
name="Custom Header and Footer">
|
|
<!-- This is a custom header and footer template for a website, which includes -->
|
|
<!-- HTML, CSS, and FontAwesome links in the header, and a customized footer-->
|
|
<!-- with product and service information, contact details, and social media links.-->
|
|
<!-- Header-->
|
|
<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"/>
|
|
<link rel="stylesheet"
|
|
href="/theme_college/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>
|
|
<!-- Footer-->
|
|
<xpath expr="//div[@id='footer']" position="replace">
|
|
<footer class="footer">
|
|
<div class="container" id="footer">
|
|
<div class="row">
|
|
<div class="col-12 col-lg-4 col-md-12 col-sm-12">
|
|
<div class="footer_part">
|
|
<h4>Our Product and Services</h4>
|
|
<p class="fp">
|
|
<a href="/" class="btn btn-quoteF">Home</a>
|
|
</p>
|
|
<p class="fp">
|
|
<a href="/livechat" class="btn btn-quoteF">
|
|
Live Chat Support
|
|
</a>
|
|
</p>
|
|
</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>About Us</h4>
|
|
<p class="fp">
|
|
We are a team of passionate people whose goal is
|
|
to improve
|
|
everyone's life through disruptive products. We
|
|
build great products
|
|
to solve your business problems.
|
|
Our products are designed for small to medium
|
|
size companies
|
|
willing to optimize their performance.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</xpath>
|
|
</template>
|
|
<template id="template_header_default"
|
|
inherit_id="website.template_header_default"
|
|
name="Template Header Theme College" active="True">
|
|
<!-- The "Template Header Theme College" is a custom template that replaces -->
|
|
<!-- the default navbar with a modified version that includes menu items, -->
|
|
<!-- sign-in options, a user dropdown, a language selector, and a call-to-action button.-->
|
|
<xpath expr="//t [@t-call='website.navbar']" position="replace">
|
|
<t t-call="website.navbar">
|
|
<t t-set="_navbar_classes" t-valuef="shadow-sm"/>
|
|
<div id="top_menu_container"
|
|
class="container justify-content-start justify-content-lg-between">
|
|
<!-- Brand -->
|
|
<t t-call="website.placeholder_header_brand">
|
|
<t t-set="_link_class" t-valuef="mr-4"/>
|
|
</t>
|
|
<!-- Navbar Collapse -->
|
|
<div id="top_menu_collapse"
|
|
class="collapse navbar-collapse order-last order-lg-0">
|
|
<t t-call="website.navbar_nav">
|
|
<t t-set="_nav_class" t-valuef="flex-grow-1"/>
|
|
<!-- Menu -->
|
|
<t t-foreach="website.menu_id.child_id"
|
|
t-as="submenu">
|
|
<t t-call="website.submenu">
|
|
<t t-set="item_class" t-valuef="nav-item"/>
|
|
<t t-set="link_class" t-valuef="nav-link"/>
|
|
</t>
|
|
</t>
|
|
<!-- Sign In -->
|
|
<t t-call="portal.placeholder_user_sign_in">
|
|
<t t-set="_item_class"
|
|
t-valuef="nav-item ml-lg-auto"/>
|
|
<t t-set="_link_class"
|
|
t-valuef="nav-link font-weight-bold"/>
|
|
</t>
|
|
<!-- User Dropdown -->
|
|
<t t-call="portal.user_dropdown">
|
|
<t t-set="_user_name" t-value="true"/>
|
|
<t t-set="_item_class"
|
|
t-valuef="nav-item dropdown ml-lg-auto"/>
|
|
<t t-set="_link_class"
|
|
t-valuef="nav-link font-weight-bold"/>
|
|
</t>
|
|
<!-- Language Selector -->
|
|
<t t-call="website.placeholder_header_language_selector">
|
|
<t t-set="_div_classes"
|
|
t-valuef="nav-item my-auto ml-lg-2"/>
|
|
</t>
|
|
</t>
|
|
</div>
|
|
<!-- Call To Action -->
|
|
<t t-call="website.placeholder_header_call_to_action"/>
|
|
<!-- Navbar Toggler -->
|
|
<t t-call="website.navbar_toggler">
|
|
<t t-set="_toggler_class" t-valuef="ml-auto"/>
|
|
</t>
|
|
</div>
|
|
</t>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|
|
|