Fix alert summary page layout

This commit is contained in:
Matthias Jentsch 2014-11-19 11:03:06 +01:00
parent 47d81ccf7b
commit 2c143ff348
2 changed files with 11 additions and 11 deletions

View File

@ -64,7 +64,7 @@ class Monitoring_AlertsummaryController extends Controller
*/
public function indexAction()
{
$this->addTitleTab('alertsummary');
$this->addTitleTab('alertsummary', t('Alert Summary'));
$this->view->intervalBox = $this->createIntervalBox();
$this->view->recentAlerts = $this->createRecentAlerts();
$this->view->interval = $this->getInterval();

View File

@ -11,19 +11,19 @@ $helper = $this->getHelper('MonitoringState');
</div>
<div class="content alertsummary">
<h1><?= $this->translate('Alert summary'); ?></h1>
<!-- <h1><?= $this->translate('Alert summary'); ?></h1> -->
<div class="alertsummary-flex-container">
<div class="alertsummary-flex">
<h2><?= $this->translate('Notifications and problems'); ?></h2>
<div>
<div class="hbox">
<div class="hbox-item">
<h2><?= $this->translate('Notifications and Problems'); ?></h2>
<div style="width: 400px; height: 400px;">
<?= $defectChart->render(); ?>
</div>
</div>
<div class="alertsummary-flex">
<h2><?= $this->translate('Time to reaction (Ack, Recover)'); ?></h2>
<div>
<div class="hbox-item">
<h2><?= $this->translate('Time to Reaction (Ack, Recover)'); ?></h2>
<div style="width: 400px; height: 400px;">
<?= $healingChart->render(); ?>
</div>
</div>
@ -56,7 +56,7 @@ $helper = $this->getHelper('MonitoringState');
</div>
<?php if ($this->recentAlerts): ?>
<h2><?= $this->translate('Top 5 recent alerts'); ?></h2>
<h1><?= $this->translate('Top 5 Recent Alerts'); ?></h1>
<div class="alertsummary-flex-container">
<div class="alertsummary-flex">
@ -69,7 +69,7 @@ $helper = $this->getHelper('MonitoringState');
</div>
<?php endif; ?>
<h2><?= $this->translate('History'); ?></h2>
<h1><?= $this->translate('History'); ?></h1>
<div class="alertsummary-flex-container">
<div class="alertsummary-flex">
<?= $this->partial('list/notifications.phtml', array(