-
- Downloads
[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 <qsm@odoo.com>
Showing
- addons/website/data/website_data.xml 6 additions, 0 deletionsaddons/website/data/website_data.xml
- addons/website/static/src/img/snippets_demo/s_popup.jpg 0 additions, 0 deletionsaddons/website/static/src/img/snippets_demo/s_popup.jpg
- addons/website/static/src/js/editor/snippets.options.js 1 addition, 1 deletionaddons/website/static/src/js/editor/snippets.options.js
- addons/website/static/src/scss/website.edit_mode.scss 6 additions, 15 deletionsaddons/website/static/src/scss/website.edit_mode.scss
- addons/website/static/src/scss/website.scss 7 additions, 0 deletionsaddons/website/static/src/scss/website.scss
- addons/website/static/src/snippets/s_popup/000.js 30 additions, 6 deletionsaddons/website/static/src/snippets/s_popup/000.js
- addons/website/static/src/snippets/s_popup/000.scss 1 addition, 1 deletionaddons/website/static/src/snippets/s_popup/000.scss
- addons/website/static/src/snippets/s_popup/001.scss 66 additions, 0 deletionsaddons/website/static/src/snippets/s_popup/001.scss
- addons/website/static/src/snippets/s_popup/options.js 31 additions, 40 deletionsaddons/website/static/src/snippets/s_popup/options.js
- addons/website/static/src/xml/website.cookies_bar.xml 37 additions, 45 deletionsaddons/website/static/src/xml/website.cookies_bar.xml
- addons/website/views/snippets/s_popup.xml 65 additions, 41 deletionsaddons/website/views/snippets/s_popup.xml
- addons/website/views/snippets/snippets.xml 2 additions, 2 deletionsaddons/website/views/snippets/snippets.xml
- addons/website/views/website_templates.xml 22 additions, 13 deletionsaddons/website/views/website_templates.xml
Loading
Please register or sign in to comment