mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix alert summary page layout
This commit is contained in:
parent
47d81ccf7b
commit
2c143ff348
@ -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();
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user