mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
068bfc0c71
commit
0ba4d24880
@ -5,10 +5,7 @@ use Icinga\Web\Notification;
|
|||||||
use Icinga\Authentication\Manager as Auth;
|
use Icinga\Authentication\Manager as Auth;
|
||||||
|
|
||||||
|
|
||||||
if (Auth::getInstance()->isAuthenticated()): ?>
|
if (Auth::getInstance()->isAuthenticated()):
|
||||||
<div id="header">
|
|
||||||
<ul id="notifications"><?php
|
|
||||||
|
|
||||||
$moduleName = $this->layout()->moduleName;
|
$moduleName = $this->layout()->moduleName;
|
||||||
if ($moduleName) {
|
if ($moduleName) {
|
||||||
$moduleClass = ' icinga-module module-' . $moduleName;
|
$moduleClass = ' icinga-module module-' . $moduleName;
|
||||||
@ -20,14 +17,8 @@ $refresh = '';
|
|||||||
if ($this->layout()->autorefreshInterval) {
|
if ($this->layout()->autorefreshInterval) {
|
||||||
$refresh = ' data-icinga-refresh="' . $this->layout()->autorefreshInterval . '"';
|
$refresh = ' data-icinga-refresh="' . $this->layout()->autorefreshInterval . '"';
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
$notifications = Notification::getInstance();
|
<div id="header">
|
||||||
if ($notifications->hasMessages()) {
|
|
||||||
foreach ($notifications->getMessages() as $m) {
|
|
||||||
echo '<li class="' . $m->type . '">' . $this->escape($m->message) . '</li>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?></ul>
|
|
||||||
<div id="logo" data-base-target="_main">
|
<div id="logo" data-base-target="_main">
|
||||||
<?= $this->qlink(
|
<?= $this->qlink(
|
||||||
'',
|
'',
|
||||||
@ -56,6 +47,16 @@ if ($notifications->hasMessages()) {
|
|||||||
<div id="col3" class="container">
|
<div id="col3" class="container">
|
||||||
</div>
|
</div>
|
||||||
</div><!-- END of main -->
|
</div><!-- END of main -->
|
||||||
|
<div id="footer">
|
||||||
|
<ul id="notifications"><?php
|
||||||
|
$notifications = Notification::getInstance();
|
||||||
|
if ($notifications->hasMessages()) {
|
||||||
|
foreach ($notifications->getMessages() as $m) {
|
||||||
|
echo '<li class="' . $m->type . '">' . $this->escape($m->message) . '</li>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?></ul>
|
||||||
|
</div>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?= $this->render('inline.phtml') ?>
|
<?= $this->render('inline.phtml') ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
@ -18,6 +18,7 @@ class StyleSheet
|
|||||||
'css/icinga/layout-structure.less',
|
'css/icinga/layout-structure.less',
|
||||||
'css/icinga/menu.less',
|
'css/icinga/menu.less',
|
||||||
'css/icinga/header-elements.less',
|
'css/icinga/header-elements.less',
|
||||||
|
'css/icinga/footer-elements.less',
|
||||||
'css/icinga/main-content.less',
|
'css/icinga/main-content.less',
|
||||||
'css/icinga/tabs.less',
|
'css/icinga/tabs.less',
|
||||||
'css/icinga/forms.less',
|
'css/icinga/forms.less',
|
||||||
|
8
public/css/icinga/footer-elements.less
Normal file
8
public/css/icinga/footer-elements.less
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
||||||
|
|
||||||
|
div#footer {
|
||||||
|
position: fixed;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
bottom: 0px;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user