Support theming #header-logo

refs #10705
This commit is contained in:
Eric Lippmann 2015-12-10 13:16:55 +01:00
parent c227bcc94d
commit 637f09aa5a
2 changed files with 5 additions and 4 deletions

View File

@ -18,14 +18,15 @@ if ($this->layout()->autorefreshInterval) {
?> ?>
<div id="header"> <div id="header">
<div id="logo"> <div id="header-logo-container">
<?= $this->qlink( <?= $this->qlink(
'', '',
Auth::getInstance()->isAuthenticated() ? 'dashboard' : '', Auth::getInstance()->isAuthenticated() ? 'dashboard' : '',
null, null,
array( array(
'data-base-target' => '_main',
'aria-hidden' => 'true', 'aria-hidden' => 'true',
'data-base-target' => '_main',
'id' => 'header-logo',
'tabindex' => -1 'tabindex' => -1
) )
); ?> ); ?>

View File

@ -40,7 +40,7 @@
font-family: @font-family; font-family: @font-family;
} }
#logo { #header-logo-container {
height: 4em; height: 4em;
margin-left: 1.5em; margin-left: 1.5em;
margin-top: 0.2em; margin-top: 0.2em;
@ -48,7 +48,7 @@
width: 100px; width: 100px;
} }
#logo > a { #header-logo {
background-image: url('../img/logo_icinga-inv.png'); background-image: url('../img/logo_icinga-inv.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;