mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_responsive: Create new module
* Create App Drawer for primary menu * Move secondary menu to top bar * Add keyboard shortcuts for primary menu navigation * Make web client slightly more mobile compatible (no widgets)
This commit is contained in:
46
web_app_drawer/views/assets.xml
Normal file
46
web_app_drawer/views/assets.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
Copyright 2016 LasLabs Inc.
|
||||
@author Dave Lasley <dave@laslabs.com>
|
||||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||
-->
|
||||
|
||||
<odoo>
|
||||
<template id="assets_backend" name="Open Mobile Assets" inherit_id="web.assets_backend">
|
||||
<xpath expr=".">
|
||||
<link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="/web_app_drawer/static/lib/css/drawer.3.2.0.css"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_app_drawer/static/src/less/main.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_app_drawer/static/src/less/navbar.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_app_drawer/static/src/less/app_drawer.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_app_drawer/static/src/less/variables.less"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_app_drawer/static/lib/js/iscroll-probe.5.2.0.js"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_app_drawer/static/lib/js/drawer.3.2.0.js"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_app_drawer/static/src/js/web_app_drawer.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="qunit_suite" inherit_id="web.qunit_suite">
|
||||
<xpath expr="//html/head" position="inside">
|
||||
<script type="application/javascript"
|
||||
src="/web_app_drawer/static/tests/js/web_app_drawer.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user