mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
8d072bcb98
commit
92e3895c94
@ -292,19 +292,20 @@ class Web extends EmbeddedWeb
|
|||||||
'cssClass' => 'user-nav-item',
|
'cssClass' => 'user-nav-item',
|
||||||
'label' => $this->user->getUsername(),
|
'label' => $this->user->getUsername(),
|
||||||
'icon' => 'user',
|
'icon' => 'user',
|
||||||
'url' => 'preference',
|
'priority' => 900,
|
||||||
'priority' => 900
|
'children' => array(
|
||||||
),
|
'preferences' => array(
|
||||||
'logout' => array(
|
'label' => t('Preferences'),
|
||||||
'cssClass' => 'user-nav-item',
|
'priority' => 100,
|
||||||
'label' => t('Logout'),
|
'url' => 'preference'
|
||||||
'icon' => 'starttime',
|
),
|
||||||
'priority' => 990,
|
'logout' => array(
|
||||||
'renderer' => array(
|
'label' => t('Logout'),
|
||||||
'LogoutNavigationItemRenderer',
|
'priority' => 200,
|
||||||
'target' => '_self'
|
'target' => '_self',
|
||||||
),
|
'url' => 'authentication/logout'
|
||||||
'url' => 'authentication/logout'
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -76,17 +76,6 @@
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu .user-nav-item {
|
|
||||||
background-color: @gray;
|
|
||||||
color: @text-color-inverted;
|
|
||||||
|
|
||||||
> a:focus,
|
|
||||||
> a:hover {
|
|
||||||
background-color: @text-color-inverted;
|
|
||||||
color: @gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu input.search {
|
#menu input.search {
|
||||||
background: transparent url('../img/icons/search.png') no-repeat @horizontal-padding + 0.2em center;
|
background: transparent url('../img/icons/search.png') no-repeat @horizontal-padding + 0.2em center;
|
||||||
background-size: 1em auto;
|
background-size: 1em auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user