mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_responsive: Migrate to v12 and refactor
This migration includes a full refactoring to make this module more maintainable. Some things that have changed: - Removed external libraries. - Change Less for Scss. - Reduce ES and XML to the minimal required needs. - Implement as much features as possible with just Scss. - Remove copyright from `__init__.py` files. - Trigger the new hotkeys system from Odoo v12 with `Shift+Alt` instead of just `Alt`, and restore some good old hotkeys (`E` for "Edit", `D` for "Discard", and `A` for "Apps menu"). See https://github.com/odoo/odoo/issues/30068 on the matter. - Control panel breadcrumbs are collapsed into a single backwards icon. - Add FA icons to most common buttons in control panel. - Hide text in XS for those buttons, to have a slicker phone experience. - Lots of gifs in the README!
This commit is contained in:
committed by
Sergey Shebanin
parent
5122c2be11
commit
0709b3396c
@@ -10,46 +10,11 @@
|
||||
<template id="assets_backend" name="Open Mobile Assets" inherit_id="web.assets_backend">
|
||||
<xpath expr=".">
|
||||
<link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="/web_responsive/static/lib/css/drawer.3.2.2.css"
|
||||
href="/web_responsive/static/src/css/web_responsive.scss"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_responsive/static/src/less/main.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_responsive/static/src/less/navbar.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_responsive/static/src/less/app_drawer.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_responsive/static/src/less/form_view.less"
|
||||
/>
|
||||
<link rel="stylesheet"
|
||||
href="/web_responsive/static/src/less/variables.less"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_responsive/static/lib/js/bililiteRange.2.6.js"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_responsive/static/lib/js/jquery.sendkeys.4.js"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_responsive/static/lib/js/iscroll-probe.5.2.0.js"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_responsive/static/lib/js/drawer.3.2.2.js"
|
||||
/>
|
||||
<script type="application/javascript"
|
||||
src="/web_responsive/static/src/js/web_responsive.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="qunit_suite" inherit_id="web.qunit_suite">
|
||||
<xpath expr="//t[@t-set='head']" position="inside">
|
||||
<script type="application/javascript"
|
||||
src="/web_responsive/static/tests/js/web_responsive.js"
|
||||
/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user