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="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 class="below-logo">

View File

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