diff options
| author | Martin Geubelle <mge@odoo.com> | 2016-09-01 13:29:56 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2016-09-01 17:15:01 +0200 |
| commit | e59a7fe3ff5222288b0aa3d5fe356e437ed0741a (patch) | |
| tree | 46603d75d1e7ea01f86dab580948fb8755f6c59d /addons/web_editor/static/src/xml/ace.xml | |
| parent | 9064c9e43dd18e340aa0349353c277861295109d (diff) | |
[REF] web_editor, website: move ACE editor to web_editor
Diffstat (limited to 'addons/web_editor/static/src/xml/ace.xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/ace.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/xml/ace.xml b/addons/web_editor/static/src/xml/ace.xml new file mode 100644 index 00000000000..2f18f60731f --- /dev/null +++ b/addons/web_editor/static/src/xml/ace.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates> + +<t t-name="web_editor.ace_view_editor"> + <div class="o_ace_view_editor oe_ace_closed"> + <div class="form-inline o_ace_view_editor_title"> + <select id="ace-view-list" class="form-control oe_view_list"> + <!-- filled in JS --> + </select> + <label class="oe_include_bundles"> + <input type="checkbox" class="js_include_bundles"/> Include Asset Bundles + </label> + <button data-action="save" type="submit" class="btn btn-success">Save</button> + <button data-action="format" type="button" class="btn btn-warning">Format</button> + <button data-action="close" type="button" class="btn btn-info">Close</button> + </div> + <div id="ace-view-id"/> + <div id="ace-view-editor"/> + </div> +</t> + +<t t-name="web_editor.ace_view_option"> + <option t-att-value="widget.view_id"><t t-esc="widget.view_name"/></option> +</t> + +</templates> |
