forked from Techsystech/web
pep8 correction
parent
2efec729c4
commit
a00fba3d4f
|
@ -1,10 +1,10 @@
|
|||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
================================
|
||||
===============================
|
||||
Hide left Menu in Web interface
|
||||
================================
|
||||
===============================
|
||||
|
||||
This module adds a menu item after logout link to hide or show left menu.
|
||||
It is useful on small screens or tree views with many columns.
|
||||
|
@ -17,7 +17,7 @@ To use this module, you need to:
|
|||
* Click on new menu item "Hide/Show Menu"on dropdown menu after logout menu item.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/repo/github-com-oca-web-162
|
||||
|
||||
|
||||
|
@ -51,7 +51,7 @@ Maintainer
|
|||
----------
|
||||
|
||||
.. image:: https://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:alt: Odoo Community Association
|
||||
:target: https://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
|
|
@ -12,7 +12,13 @@
|
|||
"license": "AGPL-3",
|
||||
"application": False,
|
||||
"installable": True,
|
||||
"depends": ["web",],
|
||||
"data": ["web_hideleftmenu_js.xml",],
|
||||
"qweb": ["static/src/xml/lib.xml",],
|
||||
"depends": [
|
||||
"web",
|
||||
],
|
||||
"data": [
|
||||
"web_hideleftmenu_js.xml",
|
||||
],
|
||||
"qweb": [
|
||||
"static/src/xml/lib.xml",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template>
|
||||
|
||||
<t t-extend="UserMenu">
|
||||
<t t-name="web_hideleftmenu.hidemenu" t-jquery="ul.dropdown-menu li:last" t-operation="after">
|
||||
<li class="oe_hidemenu">
|
||||
<a href="#">Hide/Show Menu</a>
|
||||
</li>
|
||||
<t t-extend="UserMenu">
|
||||
<t t-name="web_hideleftmenu.hidemenu" t-jquery="ul.dropdown-menu li:last" t-operation="after">
|
||||
<li class="oe_hidemenu">
|
||||
<a href="#">Hide/Show Menu</a>
|
||||
</li>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</template>
|
|
@ -1,17 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<data>
|
||||
|
||||
<template id="hideleft_assets_backend" name="web_hideleftmenu assets"
|
||||
inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet"
|
||||
href="/web_hideleftmenu/static/src/css/lib.css"/>
|
||||
<script type="text/javascript"
|
||||
src="/web_hideleftmenu/static/src/js/lib.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="hideleft_assets_backend" name="web_hideleftmenu assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/web_hideleftmenu/static/src/css/lib.css"/>
|
||||
<script type="text/javascript" src="/web_hideleftmenu/static/src/js/lib.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
</data>
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue