From e5a5f98819b3a70b3e2564fb91722cab415ceea9 Mon Sep 17 00:00:00 2001 From: Cocographique Date: Mon, 6 Apr 2020 12:19:08 +0000 Subject: [IMP] website: improve "Popup" snippet Review the layout to always use standard bootstrap classes so that future task targeting modal can target s_popup snippets the same way (for example: our task allowing to open a popup on click on a button). This also allows to simplify the css and simplify the options. A new option also now allows to have a backdrop, or not, so that user clicks are blocked while the popup is opened, or not. + Adapt cookie bar accordingly. Part of https://github.com/odoo/odoo/pull/52698 task-2210730 Co-authored-by: qsm-odoo --- addons/website/data/website_data.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'addons/website/data/website_data.xml') diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index a3ab74c5f1d..dc850766c28 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -684,6 +684,12 @@ url /website/static/src/img/snippets_demo/s_team_member_2.png + + + s_popup_default_image.jpg + url + /website/static/src/img/snippets_demo/s_popup.jpg + -- cgit v1.2.3