diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-07-16 16:49:25 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-07-27 12:36:54 +0200 |
| commit | 09f40036b9c14161db90c6128861369c91c8c64e (patch) | |
| tree | 08fd442d12641d11e2dc20b018d43d004ff264d7 /addons/website/static/src/xml/website.pageProperties.xml | |
| parent | de214e37429213fe9f329ff3f11885fee3e271c4 (diff) | |
[REF] *: BS4, review the 'nav' and 'navbar' components
Now the nav structure is more declarative: the 'nav-item' and 'nav-link'
classes have to be put on related nav item and links. Also, the 'active'
class has to be put on links instead of items.
Same as for the navbar component:
- The navbar structure was simplified and meant to be more declarative.
- The navbar colors are also now handled by a different set of classes.
The 'nav-stacked' class was removed and replaced by flex utilities.
The set of classes for colors and nav styles also changed.
Diffstat (limited to 'addons/website/static/src/xml/website.pageProperties.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.pageProperties.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/static/src/xml/website.pageProperties.xml b/addons/website/static/src/xml/website.pageProperties.xml index 61c0c507cf4..2e5f29b9bea 100644 --- a/addons/website/static/src/xml/website.pageProperties.xml +++ b/addons/website/static/src/xml/website.pageProperties.xml @@ -41,8 +41,8 @@ <div t-name="website.pagesMenu.page_info" class="o_page_management_info"> <form class="form-horizontal"> <ul class="nav nav-tabs" role="tablist"> - <li class="active"><a aria-controls="basic_page_info" data-toggle="tab" href="#basic_page_info" role="tab">Name</a></li> - <li><a aria-controls="advances_page_info" data-toggle="tab" href="#advances_page_info" role="tab">Publish</a></li> + <li class="nav-item"><a aria-controls="basic_page_info" role="tab" data-toggle="tab" class="nav-link active" href="#basic_page_info">Name</a></li> + <li class="nav-item"><a aria-controls="advances_page_info" role="tab" data-toggle="tab" class="nav-link" href="#advances_page_info">Publish</a></li> </ul> <div class="tab-content mt16"> <div role="tabpanel" id="basic_page_info" class="tab-pane fade in active"> |
