mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
29 lines
1.7 KiB
XML
29 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
||
<templates xml:space="preserve">
|
||
|
||
<t t-name="app_web_enterprise.EnterpriseNavBar" t-inherit="web_enterprise.EnterpriseNavBar" t-inherit-mode="extension">
|
||
<!-- todo: 以下主要是测试,改这个主图标为 O -->
|
||
<xpath expr="//a[hasclass('o_menu_toggle')]" position="replace">
|
||
<a href="#" class="o_menu_toggle fa fa-2x fa-opera" style="font-size: 2em;" accesskey="h" t-ref="menuApps" t-on-click.prevent="() => this.hm.toggle()">
|
||
<!-- <svg width="14px" height="14px" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg" >-->
|
||
<!-- <g t-foreach="[0, 5, 10]" t-as="Y" t-att-id="'o_menu_toggle_row_' + Y_index" fill="currentColor" t-key="'o_menu_toggle_row_' + Y_index">-->
|
||
<!-- <rect t-foreach="[0, 5, 10]" t-as="X" width="4" height="4" t-att-x="X" t-att-y="Y" t-key="'o_menu_toggle_cell_' + X_index"/>-->
|
||
<!-- </g>-->
|
||
<!-- </svg>-->
|
||
</a>
|
||
</xpath>
|
||
</t>
|
||
<!-- 菜单有下拉箭头, owl的在 web.NavBar, 首行用 MenuDropdown, 下拉的用 DropdownItem -->
|
||
<!-- owl NavBar-->
|
||
<t t-name="app_web_enterprise.NavBar.SectionsMenu" t-inherit="web.NavBar.SectionsMenu" t-inherit-mode="extension">
|
||
<xpath expr="//MenuDropdown" position="attributes">
|
||
<attribute name="showCaret">true</attribute>
|
||
</xpath>
|
||
</t>
|
||
<!-- <t t-name="app_web_enterprise.NavBar.SectionsMenu.Dropdown.MenuSlot" t-inherit="web.NavBar.SectionsMenu.Dropdown.MenuSlot" t-inherit-mode="extension">-->
|
||
<!-- <xpath expr="//DropdownItem[1]" position="attributes">-->
|
||
<!-- <attribute name="showCaret">true</attribute>-->
|
||
<!-- </xpath>-->
|
||
<!-- </t>-->
|
||
</templates>
|