-
- Downloads
[IMP] base, totp: simplify form layout and improve responsiveness
Some of the TOTP-related forms contained an attempt at making a centered
modal pop-up, using a bootstrap `card` that would also serve to
emphasize that the interaction was sensitive and security-related.
Some of the "footer buttons" were moved inside the form to make it
more obvious that they were part of the interaction flow.
However some of this caused breakages of responsiveness and did not yield
a really satisfactory result anyway.
This commit switches back to using regular non-centered forms. It looks
quite ugly because the content is better suited for a narrow modal, but
it means less surprises in terms of layout and less responsiveness
issues.
closes odoo/odoo#58541
closes odoo/odoo#58544
Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
Showing
- addons/auth_totp/static/tests/totp_flow.js 3 additions, 3 deletionsaddons/auth_totp/static/tests/totp_flow.js
- addons/auth_totp/views/templates.xml 8 additions, 1 deletionaddons/auth_totp/views/templates.xml
- addons/auth_totp/views/user_preferences.xml 12 additions, 9 deletionsaddons/auth_totp/views/user_preferences.xml
- addons/auth_totp_portal/static/src/js/totp_frontend.js 3 additions, 7 deletionsaddons/auth_totp_portal/static/src/js/totp_frontend.js
- addons/auth_totp_portal/static/tests/totp_portal.js 2 additions, 2 deletionsaddons/auth_totp_portal/static/tests/totp_portal.js
- addons/portal/static/src/js/portal.js 3 additions, 0 deletionsaddons/portal/static/src/js/portal.js
- addons/portal/static/src/xml/portal_security.xml 7 additions, 22 deletionsaddons/portal/static/src/xml/portal_security.xml
- odoo/addons/base/views/res_users_views.xml 11 additions, 24 deletionsodoo/addons/base/views/res_users_views.xml
- odoo/addons/test_apikeys/static/tests/apikey_flow.js 1 addition, 1 deletionodoo/addons/test_apikeys/static/tests/apikey_flow.js
Please register or sign in to comment