diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-12-08 13:39:53 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-02-14 16:37:48 +0100 |
| commit | 073bfc5b5b54510d906bf0629950e7224cfc66d9 (patch) | |
| tree | 324bd0735cca7b53523f8c353ce3a37d50dfe655 /addons/web_editor/static/src/xml/ace.xml | |
| parent | 198673bf35f14e3a797d2ff09208a289e12bec4e (diff) | |
[IMP] web_editor: use select2 in HTML/CSS editor
The select DOM element which allows to select the template or
the LESS file to edit has been replaced by a select2 element
to improve usability.
- Add search bar
- Allow to add "customized", "unsaved changes" and level indentation
a better way (styled and icons)
- Add debug info (full less url / xml_id) only in debug, in small
Diffstat (limited to 'addons/web_editor/static/src/xml/ace.xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/ace.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web_editor/static/src/xml/ace.xml b/addons/web_editor/static/src/xml/ace.xml index 5974003f443..b95187bedf4 100644 --- a/addons/web_editor/static/src/xml/ace.xml +++ b/addons/web_editor/static/src/xml/ace.xml @@ -11,11 +11,11 @@ <li><a href="#" class="o_ace_type_switcher_choice" data-type="less">LESS (CSS)</a></li> </ul> </div> - <select id="ace-view-list" class="form-control oe_view_list"/> - <select id="ace-less-list" class="form-control oe_view_list hidden"/> + <select id="ace-view-list" class="o_res_list"/> + <select id="ace-less-list" class="o_res_list hidden"/> <label class="o_include_option oe_include_bundles"> <div class="o_checkbox"> - <input type="checkbox" class="js_include_bundles"/><span/> + <input type="checkbox" class="js_include_bundles" t-att-checked="widget.options.includeBundles ? 'checked' : undefined"/><span/> </div> Include Asset Bundles </label> |
