monitoring health views: Ensure dashboard compliance

refs #7876
This commit is contained in:
Johannes Meyer 2015-04-17 16:20:06 +02:00
parent b9f9ea6142
commit 78e4df2ce9
4 changed files with 12 additions and 7 deletions

View File

@ -1,6 +1,8 @@
<?php if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs->showOnlyCloseButton() ?> <?= $this->tabs->showOnlyCloseButton(); ?>
</div> </div>
<?php endif ?>
<div class="content"> <div class="content">
<h1><?= $title; ?></h1> <h1><?= $title; ?></h1>
<?php if ((bool) $programStatus->notifications_enabled === false): ?> <?php if ((bool) $programStatus->notifications_enabled === false): ?>

View File

@ -1,12 +1,12 @@
<?php <?php
$rv = $this->runtimeVariables()->create($this->runtimevariables); $rv = $this->runtimeVariables()->create($this->runtimevariables);
$cp = $this->checkPerformance()->create($this->checkperformance); $cp = $this->checkPerformance()->create($this->checkperformance);
?> if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs ?> <?= $this->tabs; ?>
</div> </div>
<?php endif ?>
<div class="content processinfo"> <div class="content processinfo">
<div class="boxview"> <div class="boxview">

View File

@ -1,6 +1,8 @@
<?php if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs ?> <?= $this->tabs; ?>
</div> </div>
<?php endif ?>
<div class="content"> <div class="content">
<?= sprintf($this->translate('%s is currently not up and running'), $this->backendName) ?> <?= sprintf($this->translate('%s is currently not up and running'), $this->backendName) ?>
</div> </div>

View File

@ -1,7 +1,8 @@
<?php if (! $this->compact): ?>
<div class="controls"> <div class="controls">
<?= $this->tabs ?> <?= $this->tabs; ?>
</div> </div>
<?php <?php endif;
$rv = $this->runtimeVariables()->create($this->runtimevariables); $rv = $this->runtimeVariables()->create($this->runtimevariables);
$cp = $this->checkPerformance()->create($this->checkperformance); $cp = $this->checkPerformance()->create($this->checkperformance);