summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.ui.scss2
-rw-r--r--addons/web_editor/static/src/xml/ace.xml18
2 files changed, 13 insertions, 7 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.ui.scss b/addons/web_editor/static/src/scss/web_editor.ui.scss
index 34b921c49da..771f4a938ad 100644
--- a/addons/web_editor/static/src/scss/web_editor.ui.scss
+++ b/addons/web_editor/static/src/scss/web_editor.ui.scss
@@ -1254,7 +1254,7 @@ body.editor_enable {
align-items: center;
font-size: 11px;
- > .o_checkbox {
+ > .custom-control {
margin-right: $grid-gutter-width/4;
}
}
diff --git a/addons/web_editor/static/src/xml/ace.xml b/addons/web_editor/static/src/xml/ace.xml
index 800a0ef2ced..c78ce8a4d4a 100644
--- a/addons/web_editor/static/src/xml/ace.xml
+++ b/addons/web_editor/static/src/xml/ace.xml
@@ -14,16 +14,22 @@
<select id="ace-view-list" class="o_res_list"/>
<select id="ace-scss-list" class="o_res_list d-none"/>
<label class="o_include_option oe_include_bundles">
- <div class="o_checkbox">
- <input type="checkbox" class="js_include_bundles" t-att-checked="widget.options.includeBundles ? 'checked' : undefined"/><span/>
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" id="o_ace_view_editor_include_bundle"
+ class="custom-control-input js_include_bundles"
+ t-att-checked="widget.options.includeBundles ? 'checked' : undefined"/>
+ <label for="o_ace_view_editor_include_bundle"
+ class="custom-control-label">Include Asset Bundles</label>
</div>
- Include Asset Bundles
</label>
<label class="o_include_option o_include_all_scss d-none">
- <div class="o_checkbox">
- <input type="checkbox" class="js_include_all_scss" t-att-checked="widget.options.includeAllSCSS ? 'checked' : undefined"/><span/>
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" id="o_ace_view_editor_include_all_scss"
+ class="custom-control-input js_include_all_scss"
+ t-att-checked="widget.options.includeAllSCSS ? 'checked' : undefined"/>
+ <label for="o_ace_view_editor_include_all_scss"
+ class="custom-control-label">Include All SCSS Files</label>
</div>
- Include All SCSS Files
</label>
<div class="o_button_section">
<button data-action="save" type="submit" class="btn btn-primary">Save</button>