summaryrefslogtreecommitdiff
path: root/code_backend_theme/static/src/xml/top_bar.xml
blob: 703527c96f500eb011c8626e77f487c6c2eafe45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
    <t t-inherit="web.Menu" t-inherit-mode="extension" owl="1">
        <xpath expr="//nav[hasclass('o_main_navbar')]" position="replace">
            <nav class="o_main_navbar">
                <div class="top_heading">
                    <ul class="o_menu_apps"/>
                    <a class="o_menu_brand" role="button"/>
                </div>
                <ul class="o_menu_sections" role="menu"/>
                <ul class="o_menu_systray topbar_icon" role="menu"/>
            </nav>
        </xpath>
    </t>
    <t t-inherit="web.AppsMenu" t-inherit-mode="extension" owl="1">
        <xpath expr="//li[hasclass('dropdown')]" position="replace">
            <li class="dropdown">
                <a id="openSidebar" style="display: block; cursor: pointer;">
                    <i class="fa fa-bars fa-lg"/>
                </a>
                <a id="closeSidebar" style="display: none; cursor: pointer;">
                    <i class="fa fa-bars fa-lg"/>
                </a>
            </li>
        </xpath>
    </t>

    <t t-inherit="web.UserMenu" t-inherit-mode="extension" owl="1">
        <xpath expr="//span[hasclass('oe_topbar_name')]" position="replace">
            <div class="oe_topbar_name"/>
        </xpath>
    </t>
</templates>