From 15bae2920cf6cf9e8f399ecc0374da04654ef66f Mon Sep 17 00:00:00 2001 From: Andrea Ulliana Date: Wed, 26 Jun 2019 12:23:19 +0000 Subject: [IMP] website: introduce "auto" widget for theme modal The theme customize dialog implements its own system of widgets. For example: data-widget="color" and data-widget="input". Now, a new type of widget data-widget="auto" exists. The goal is the same as the data-widget="input" but with a predefined value that the user cannot choose. Also, as "data-value" was badly chosen during its implementation, it is now renamed to "data-variable" and "data-value" is now used with the new widget. Example of the new widget "auto": -> Allows to create a button forcing the logo height to 3rem. Part of https://github.com/odoo/odoo/pull/33442 task-1974659 --- addons/website/static/src/xml/website.editor.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'addons/website/static/src/xml/website.editor.xml') diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index f2e1465a788..59216fee115 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -37,11 +37,11 @@
-
+
- + -
+ +
+
-- cgit v1.2.3