KEYCLOAK-7513 Minor changes to vertical nav (#5244)
This commit is contained in:
parent
7ff18ca14b
commit
b7fb3ec9a9
2 changed files with 4 additions and 10 deletions
|
@ -5,11 +5,10 @@
|
||||||
[contentContainer]="contentContainer"
|
[contentContainer]="contentContainer"
|
||||||
[items]="navigationItems"
|
[items]="navigationItems"
|
||||||
[persistentSecondary]="false"
|
[persistentSecondary]="false"
|
||||||
[pinnableMenus]="true"
|
[pinnableMenus]="false"
|
||||||
[showBadges]="true"
|
[showBadges]="true"
|
||||||
[showIcons]="true"
|
[showIcons]="true"
|
||||||
[updateActiveItemsOnClick]="true"
|
[updateActiveItemsOnClick]="true">
|
||||||
(onItemClickEvent)="onItemClicked($event)">
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="nav navbar-nav navbar-right navbar-iconic">
|
<ul class="nav navbar-nav navbar-right navbar-iconic">
|
||||||
|
@ -38,7 +37,7 @@
|
||||||
|
|
||||||
|
|
||||||
<div #contentContainer
|
<div #contentContainer
|
||||||
class="container-fluid container-cards-pf container-pf-nav-pf-vertical example-page-container nav-pf-vertical-with-badges"
|
class="container-fluid container-cards-pf container-pf-nav-pf-vertical example-page-container"
|
||||||
style="background-color: white;">
|
style="background-color: white;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
|
|
|
@ -34,7 +34,7 @@ export class VerticalNavComponent implements OnInit {
|
||||||
this.navigationItems = [
|
this.navigationItems = [
|
||||||
{
|
{
|
||||||
title: this.translateUtil.translate('personalInfoHtmlTitle'),
|
title: this.translateUtil.translate('personalInfoHtmlTitle'),
|
||||||
iconStyleClass: 'pficon pficon-user',
|
iconStyleClass: 'fa fa-user-circle',
|
||||||
url: 'account',
|
url: 'account',
|
||||||
mobileItem: false
|
mobileItem: false
|
||||||
},
|
},
|
||||||
|
@ -89,9 +89,4 @@ export class VerticalNavComponent implements OnInit {
|
||||||
this.keycloakService.login({kcLocale: newLocale});
|
this.keycloakService.login({kcLocale: newLocale});
|
||||||
}
|
}
|
||||||
|
|
||||||
onItemClicked($event: NavigationItemConfig): void {
|
|
||||||
if (this.pfVerticalNav.hoverSecondaryNav) {
|
|
||||||
this.pfVerticalNav.collapseSecondaryNav($event);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue