From 93b0001df6766fe905ee69c25ec8d846e4551064 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 22 May 2018 15:30:36 +0200 Subject: [REF] *: BS4, adapt forms The 'form-horizontal' class have been removed; the '.form-group' elements must now use the 'row' class for an horizontal layout. The 'control-label' class was renamed to 'col-form-label'. The 'help-block' class was renamed to 'form-text'. The 'has-error' and 'has-success' classes have been removed and replaced by a new system using the :valid and :invalid pseudo-classes, when a parent has the 'was-validated' class. While this system is great, it is not straightforward to use it in Odoo. Fortunately, BS4 provides the 'is-valid' and 'is-invalid' classes as fallback. This commit replaces the 'has-error' and 'has-success' classes by 'o_has_error' and 'o_has_success' classes (for JS compatibility) and use the 'is-*' fallback classes. (The 'has-warning' class has no equivalent but was unused in Odoo anyway). --- addons/web_editor/static/src/xml/editor.xml | 72 ++++++++++++++--------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'addons/web_editor/static/src/xml/editor.xml') diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml index 187c880d3ae..b5f4dff8a3f 100644 --- a/addons/web_editor/static/src/xml/editor.xml +++ b/addons/web_editor/static/src/xml/editor.xml @@ -29,15 +29,15 @@ -
-
- + +
+
-
- +
+
@@ -113,7 +113,7 @@
-
+
@@ -128,9 +128,9 @@ -
+
-
+
-
+

The image could not be deleted because it is used in the following pages or views:

    @@ -192,7 +192,7 @@