506 lines
18 KiB
XML
Executable File
506 lines
18 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- Header main -->
|
|
<template id="clarico_header_main" inherit_id="portal.frontend_layout">
|
|
<xpath expr="//header" position="before">
|
|
<div class="main-header main_header_default" t-if="website.clarico_header_style_one or website.clarico_header_style_two or website.clarico_header_style_three">
|
|
<div class="main-header-maxW">
|
|
<div class="offer-center">
|
|
<p class="offer-p">
|
|
<label t-field="website.clarico_header_style_one" class="header_pera_offer" />
|
|
<label t-field="website.clarico_header_style_two" class="header_pera_offer header_pera_offer_pipe" />
|
|
<label t-field="website.clarico_header_style_three" class="header_pera_offer header_pera_offer_pipe" />
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="main-header main_header_default" t-if="not website.clarico_header_style_one or website.clarico_header_style_two or website.clarico_header_style_three">
|
|
<section class="main-header-maxW">
|
|
<section class="offer-center">
|
|
<p class="offer-p">
|
|
<label class="header_pera_offer">Special Offer on First Purchase</label>
|
|
<label class="header_pera_offer header_pera_offer_pipe">Code : #ASDA44</label>
|
|
<label class="header_pera_offer header_pera_offer_pipe">Get 50% Off</label>
|
|
</p>
|
|
</section>
|
|
</section>
|
|
</div> -->
|
|
<div class="main-header-before">
|
|
<div class="main-header-before-maxW">
|
|
<div class="main-header-right">
|
|
<div class="company-phone-div">
|
|
<ul id="logout_ul" class="sign_in_and_administrtor_link header-main-signin">
|
|
<li id="user_sign_in"></li>
|
|
<li class="dropdown" id="login_user_name" t-ignore="true"
|
|
t-if="website.user_id != user_id">
|
|
<a href="#" class="dropdown-toggle header_admin_border"
|
|
data-toggle="dropdown">
|
|
<b>
|
|
|
|
<span>My Account</span>
|
|
<span class="caret" />
|
|
</b>
|
|
</a>
|
|
<ul class="dropdown-menu js_usermenu account-ul" role="menu">
|
|
<li>
|
|
<p class="ul_class_admin_name">
|
|
<i class="fa fa-user fa_common_style_header" style="padding-right: 9px;" />
|
|
<a href="/my/home">
|
|
<span class="span_logout"
|
|
t-esc="(len(user_id.name)>25) and (user_id.name[:23]+'...') or user_id.name" />
|
|
</a>
|
|
</p>
|
|
</li>
|
|
<li id="o_logout">
|
|
<a t-attf-href="/web/session/logout?redirect=/" role="menuitem" class="btn">Logout
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div id="header-social">
|
|
<li id="header-compare" class="mr-common compare-menu" />
|
|
<li id="header-wishlist" class="mr-common" />
|
|
<div class="header_cart_main header_cart_default mr-common" />
|
|
</div>
|
|
</div>
|
|
<div class="js_searchBox">
|
|
<a href="#" class="header_right_search_icon_link">
|
|
<i class="fa fa-search srch_icon" />
|
|
<i class="fa fa-times close_icon" />
|
|
</a>
|
|
</div>
|
|
<div class="anim-search">
|
|
<form action="/shop" method="get" t-att-class="search_class">
|
|
<div class="input-group">
|
|
<input type="text" name="search"
|
|
class="search-query form-control oe_search_box clarico_search_border"
|
|
placeholder="Search..." t-att-value="search" required="required" />
|
|
<button type="submit" class="btn-default oe_search_button">
|
|
<i class="fa fa-search" />
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="company_logo_main">
|
|
<a href="/" class="company_logo">
|
|
<span t-field="res_company.logo" t-options="{'widget': 'image'}"
|
|
t-att-alt="'Logo of %s' % res_company.name" t-att-title="res_company.name" />
|
|
</a>
|
|
</div>
|
|
<div class="pricelist_contact_conatiner">
|
|
<div class="company_pricelist">
|
|
<t t-set="website_sale_pricelists" t-value="website.get_pricelist_available(show_visible=True)" />
|
|
<div
|
|
t-attf-class="#{website_sale_pricelists and len(website_sale_pricelists)>1 and 'main-header-left' or 'hidden'}">
|
|
<div class="company_pricelist_container">
|
|
<t t-call="website_sale.pricelist_list" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
|
|
<!-- Replace Administrator -->
|
|
<xpath expr="//ul[@id='top_menu']/li[hasclass('dropdown')]"
|
|
position="replace">
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="clarico_layout_toggle_navbar" inherit_id="website.layout">
|
|
<xpath expr="//button[hasclass('navbar-toggle')]" position="attributes">
|
|
<attribute name="data-target">#top_menu</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Replace Topmenu Logo -->
|
|
<!-- <template id="clarico_layout_layout_logo_show" inherit_id="website.layout_logo_show">
|
|
<xpath expr="//a" position="replace"></xpath> </template> -->
|
|
|
|
<!-- Add logo in center header -->
|
|
<!-- <template id="clarico_layout_logo_show" inherit_id="clarico_layout.clarico_header_main"
|
|
customize_show="True" name="Show Logo"> <xpath expr="//div[hasclass('company_logo_main')]"
|
|
position="inside"> <a href="/" class="navbar-brand logo"> <span t-field="res_company.logo"
|
|
t-options="{'widget': 'image'}" t-att-alt="'Logo of %s' % res_company.name"
|
|
t-att-title="res_company.name" /> </a> </xpath> </template> -->
|
|
<template id="dynamic_category">
|
|
<ul class="custom-menu-inside-div custom-menu-inside-div-nth dropdown-menu">
|
|
<div class="custom-menu-inside-maxW">
|
|
<div class="fisrt_li">
|
|
<t t-set="category_fetch" t-value="website.category_check()"></t>
|
|
<t t-foreach="category_fetch" t-as="category_individual">
|
|
<t t-if="not category_individual.parent_id">
|
|
<li class="first-level-category-li dropdown-submenu" t-att-id="'genrate_categ_id-%s' % category_individual.id">
|
|
<div class="first-level-left-div">
|
|
<div class="first-level-category-image" itemprop="image"
|
|
t-field="category_individual.image" t-options='{"widget": "image", "alt-field": "name"}' />
|
|
<a class="first-level-category-a " t-att-href="'/shop/category/%s' %slug(category_individual)"
|
|
t-field="category_individual.display_name"></a>
|
|
</div>
|
|
<span tabindex="-1"
|
|
class="submenu-a first-level-category-caret fa fa-chevron-right" />
|
|
<div class="toggel_div toggel-div-effect" t-att-id="category_individual.id">
|
|
<div class="toggel-inside-div">
|
|
<div class="menu_expand menu_1_div">
|
|
<div class="menu_expand_overflow menu_1_column_div">
|
|
<ul class="submenu_expand second_level-ul sub_menu dropdown-menu">
|
|
<t t-if="category_individual.child_id">
|
|
<t t-foreach="category_individual.child_id" t-as="c">
|
|
<li class="dropdown-submenu sub-menu-ul-heading">
|
|
<a class="second-level-a menu_heading " t-att-href="'/shop/category/%s' %slug(c)"
|
|
t-field="c.name"></a>
|
|
<span tabindex="-1"
|
|
class="submenu-a second-level-category-caret fa fa-chevron-right" />
|
|
<ul class="third-level-ul dropdown-menu">
|
|
<t t-foreach="c.child_id" t-as="child">
|
|
<li class="third-level-li">
|
|
<a class="sub_menu_list" t-att-href="'/shop/category/%s' %slug(child)"
|
|
t-field="child.name" />
|
|
</li>
|
|
</t>
|
|
</ul>
|
|
</li>
|
|
</t>
|
|
</t>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</t>
|
|
</t>
|
|
</div>
|
|
</div>
|
|
</ul>
|
|
</template>
|
|
|
|
<!-- Replace My Cart -->
|
|
<template id="clarico_header_header" inherit_id="website_sale.header"
|
|
name="Header Shop My Cart Link">
|
|
<xpath expr="//header//ul[@id='top_menu']/li" position="replace">
|
|
<li id="my_cart"></li>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- SignIn Show -->
|
|
<template id="clarico_header_show_sign_in_new" customize_show="True"
|
|
active="True" inherit_id="clarico_layout.clarico_header_main" name="Show Sign In"
|
|
priority="25">
|
|
<xpath expr="//ul[@id='logout_ul']/li[@id='user_sign_in']"
|
|
position="replace">
|
|
<li id="user_sign_in" groups="base.group_public">
|
|
|
|
<a t-attf-href="/web/login">
|
|
<b>Login</b>
|
|
</a>
|
|
</li>
|
|
<!-- <li id="user_sign_up" groups="base.group_public"> <a t-attf-href="/web/signup">
|
|
<i class="fa fa-user-plus" aria-hidden="true"></i><b>Sign Up</b> </a> </li> -->
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Replace Top Menu Signup -->
|
|
<template id="clarico_header_show_sign_in" customize_show="True"
|
|
inherit_id="portal.portal_show_sign_in" name="Show Sign In">
|
|
<xpath expr="//ul[@id='top_menu']/li[last()]" position="replace">
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="website_sale.pricelist_list" name="Dropdown">
|
|
<t t-set="website_sale_pricelists" t-value="website.get_pricelist_available(show_visible=True)" />
|
|
<div
|
|
t-attf-class="header_curency_selector #{website_sale_pricelists and len(website_sale_pricelists)>1 and 'dropdown'} btn-group">
|
|
<t t-set="curr_pl" t-value="website.get_current_pricelist()" />
|
|
<a href="#" class="dropdown-toggle btn btn-default header_btn_style"
|
|
data-toggle="dropdown">
|
|
<t t-esc="curr_pl and curr_pl.name or ' - '" />
|
|
<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu" role="menu">
|
|
<li t-foreach="website_sale_pricelists" t-as="pl">
|
|
<a t-att-href="'/shop/change_pricelist/%s' % pl.id">
|
|
<span class="switcher_pricelist" t-att-data-pl_id="pl.id"
|
|
t-esc="pl.name" />
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</template>
|
|
<template id="clarico_layout_footer_default" inherit_id="website.footer_default" customize_show="False" active="True">
|
|
<xpath expr="//div[@id='footer']" position="replace">
|
|
<div class="ftr_main">
|
|
<div id="footer" class="container hidden-print">
|
|
<div class="row">
|
|
<div class="theme_icon_and_social_container">
|
|
<div class="clarico_logo_footer">
|
|
<div class="logo_name_container">
|
|
<span t-field="res_company.logo" class="ftr_logo_span" itemprop="name" t-options="{'widget': 'image','class':'s_image_common'}">Company logo </span>
|
|
</div>
|
|
</div>
|
|
<div class="search_bar_footer">
|
|
<div class="lbl_div_container">
|
|
<p class="newsltr_lbl">sign up for our newsletter!</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="common_footer_content_details_div">
|
|
<div class="company_details_footer">
|
|
<ul class="customer-contact-ul">
|
|
<li>
|
|
<div class="contact_detail_para">
|
|
<p class="span_lbl">Add</p>
|
|
:
|
|
<p class="field_padding" t-field="res_company.street" />
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="contact_detail_para">
|
|
<p class="span_lbl">Tel</p>
|
|
:
|
|
<p class="field_padding" t-field="res_company.phone" />
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<div class="contact_detail_para">
|
|
<p class="span_lbl">Email</p>
|
|
:
|
|
<p class="field_padding" t-field="res_company.email" />
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="social_icons_footer">
|
|
<div class="footer-social-icon">
|
|
<a class="o_facebook" t-att-href="website.social_facebook"
|
|
t-if="website.social_facebook">
|
|
<i class="fa fa-facebook" />
|
|
</a>
|
|
<a class="o_twitter" t-att-href="website.social_twitter"
|
|
t-if="website.social_twitter">
|
|
<i class="fa fa-twitter" />
|
|
</a>
|
|
<a class="o_linkedin" t-att-href="website.social_linkedin"
|
|
t-if="website.social_linkedin">
|
|
<i class="fa fa-linkedin" />
|
|
</a>
|
|
<a class="o_youtube" t-att-href="website.social_youtube"
|
|
t-if="website.social_youtube">
|
|
<i class="fa fa-youtube-play" />
|
|
</a>
|
|
<a class="o_googleplus" t-att-href="website.social_googleplus"
|
|
t-if="website.social_googleplus" rel="publisher">
|
|
<i class="fa fa-google-plus-square" />
|
|
</a>
|
|
<a class="o_github" t-att-href="website.social_github" t-if="website.social_github">
|
|
<i class="fa fa-github" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<ul class="list-unstyled" id="products">
|
|
</ul>
|
|
</div>
|
|
<div class="oe_structure">
|
|
<section class="col-md-4 col-lg-2">
|
|
<div class="footer-heading">
|
|
<ul class="customer-service-ul">
|
|
<li>
|
|
<section><a href="#">help</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">gift cards</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">order status</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">free shipping</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">returns & exchanges</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">international</a></section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<div class="oe_structure">
|
|
<section class="col-md-4 col-lg-2">
|
|
<div class="footer-heading">
|
|
<ul class="help-ul">
|
|
<li>
|
|
<section><a href="#">about us</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">jobs</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">Affiliates</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">meet the maker</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">contact</a></section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<div class="oe_structure">
|
|
<section class="col-md-4 col-lg-2">
|
|
<div class="footer-heading">
|
|
<ul class="security-ul">
|
|
<li>
|
|
<section><a href="#">security</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">privacy</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">text messaging</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">legal</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">supply chain</a></section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<div class="col-md-4 col-lg-3">
|
|
<div class="oe_stucture" />
|
|
<section>
|
|
<h3 class="footer_payment_heading">payment methods</h3>
|
|
</section>
|
|
<div class="payment_img_footer">
|
|
|
|
<section>
|
|
<img src="/clarico_layout/static/src/img/payment.png"></img>
|
|
</section>
|
|
</div>
|
|
<div class="" id="info">
|
|
<ul class="payment_method_list list-inline">
|
|
<t t-foreach="request.website.payment_icons()" t-as="icon">
|
|
<li>
|
|
<span t-field="icon.image" t-options='{"widget": "image", "alt-field": "name"}' />
|
|
</li>
|
|
</t>
|
|
</ul>
|
|
</div>
|
|
<t t-call="website.language_selector" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="scrollup-div">
|
|
<a href="#" class="scrollup-a">
|
|
<i class="fa fa-angle-up scrollup-i"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
<template id="clarico_layout_footer_copyright" inherit_id="website.layout_footer_copyright"
|
|
name="Footer Copyright">
|
|
<xpath expr="//div[hasclass('mt16')]" position="replace">
|
|
</xpath>
|
|
<xpath expr="//footer" position="after">
|
|
<div class="container mt16 mb8">
|
|
<div class="oe_structure">
|
|
<section class="endfooter_list">
|
|
<ul>
|
|
<li>
|
|
<section><a href="#">about us</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">contact us</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">customer service</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">privacy policy</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">accessibility</a></section>
|
|
</li>
|
|
<li>
|
|
<section><a href="#">store directory</a></section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</div>
|
|
<div class="pull-center text-muted copyright_endftr" itemscope="itemscope"
|
|
itemtype="http://schema.org/Organization">
|
|
Copyright
|
|
<a href="" target="_blank">&copy;
|
|
</a>
|
|
<span t-field="res_company.name" itemprop="name">Company name</span>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<!-- Loading Icon For All Things -->
|
|
<template id="load_icon_template" inherit_id="website.layout">
|
|
<xpath expr="//div[@id='wrapwrap']" position="after">
|
|
<!-- <xpath expr="//div[last()]" position="after"> -->
|
|
<div class="hidden cus_theme_loader_layout">
|
|
<div class="cus_theme_loader_div_layout">
|
|
<svg version="1.1" id="Layer_1" x="0px" y="0px" width="24px"
|
|
height="30px" viewBox="0 0 24 30" style="enable-background:new 0 0 50 50;"
|
|
xml:space="preserve">
|
|
<rect x="0" y="0" width="4" height="10"
|
|
fill="#333">
|
|
<animateTransform
|
|
attributeType="xml" attributeName="transform" type="translate"
|
|
values="0 0; 0 20; 0 0" begin="0" dur="0.6s" repeatCount="indefinite"></animateTransform>
|
|
</rect>
|
|
<rect x="10" y="0" width="4" height="10"
|
|
fill="#333">
|
|
<animateTransform
|
|
attributeType="xml" attributeName="transform" type="translate"
|
|
values="0 0; 0 20; 0 0" begin="0.2s" dur="0.6s" repeatCount="indefinite"></animateTransform>
|
|
</rect>
|
|
<rect x="20" y="0" width="4" height="10"
|
|
fill="#333">
|
|
<animateTransform
|
|
attributeType="xml" attributeName="transform" type="translate"
|
|
values="0 0; 0 20; 0 0" begin="0.4s" dur="0.6s" repeatCount="indefinite"></animateTransform>
|
|
</rect>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
<template id="website_menu_edit" name="Edit Menu">
|
|
<t t-call="website.layout">
|
|
<div id="wrap" class="sub container" t-ignore="True">
|
|
<hr />
|
|
<a class="clarico_btn shop_now_button pull-right" href="/">Back To Website</a>
|
|
<!-- Html fields -->
|
|
<div class="static-menu-div-maxw">
|
|
<div class="custom-menu-inside-left-div">
|
|
<div t-if="record" class="">
|
|
<div t-field="record.menu_html" class="" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
|
|
</odoo>
|