Do not fade-in the logo for error pages and fix some coding style issues

refs #10009
This commit is contained in:
Johannes Meyer 2015-09-28 09:53:38 +02:00
parent 8e29fe92a5
commit 4889e63e95
2 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<div class="logo"> <div class="logo">
<div class="image"> <div class="image">
<img aria-hidden="true" class="fade-in one" src="<?= $this->baseUrl('img/logo_icinga_big.png'); ?>" alt="<?= $this->translate('The Icinga logo'); ?>" > <img aria-hidden="true" src="<?= $this->baseUrl('img/logo_icinga_big.png'); ?>" alt="<?= $this->translate('The Icinga logo'); ?>" >
</div> </div>
</div> </div>
<div class="below-logo"> <div class="below-logo">

View File

@ -1,12 +1,12 @@
<?php if (! $hideControls) { ?> <?php if (! $hideControls): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs->showOnlyCloseButton() ?> <?= $tabs->showOnlyCloseButton(); ?>
</div> </div>
<?php } ?> <?php endif ?>
<div class="content"> <div class="content">
<p><strong><?= nl2br($this->escape($message)) ?></strong></p> <p><strong><?= nl2br($this->escape($message)); ?></strong></p>
<?php if (isset($stackTrace)) : ?> <?php if (isset($stackTrace)): ?>
<hr /> <hr />
<pre><?= $this->escape($stackTrace) ?></pre> <pre><?= $this->escape($stackTrace) ?></pre>
<?php endif ?> <?php endif ?>
</div> </div>