mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +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()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
$this->addTitleTab('alertsummary');
|
$this->addTitleTab('alertsummary', t('Alert Summary'));
|
||||||
$this->view->intervalBox = $this->createIntervalBox();
|
$this->view->intervalBox = $this->createIntervalBox();
|
||||||
$this->view->recentAlerts = $this->createRecentAlerts();
|
$this->view->recentAlerts = $this->createRecentAlerts();
|
||||||
$this->view->interval = $this->getInterval();
|
$this->view->interval = $this->getInterval();
|
||||||
|
@ -11,19 +11,19 @@ $helper = $this->getHelper('MonitoringState');
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content alertsummary">
|
<div class="content alertsummary">
|
||||||
<h1><?= $this->translate('Alert summary'); ?></h1>
|
<!-- <h1><?= $this->translate('Alert summary'); ?></h1> -->
|
||||||
|
|
||||||
<div class="alertsummary-flex-container">
|
<div class="hbox">
|
||||||
<div class="alertsummary-flex">
|
<div class="hbox-item">
|
||||||
<h2><?= $this->translate('Notifications and problems'); ?></h2>
|
<h2><?= $this->translate('Notifications and Problems'); ?></h2>
|
||||||
<div>
|
<div style="width: 400px; height: 400px;">
|
||||||
<?= $defectChart->render(); ?>
|
<?= $defectChart->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="alertsummary-flex">
|
<div class="hbox-item">
|
||||||
<h2><?= $this->translate('Time to reaction (Ack, Recover)'); ?></h2>
|
<h2><?= $this->translate('Time to Reaction (Ack, Recover)'); ?></h2>
|
||||||
<div>
|
<div style="width: 400px; height: 400px;">
|
||||||
<?= $healingChart->render(); ?>
|
<?= $healingChart->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -56,7 +56,7 @@ $helper = $this->getHelper('MonitoringState');
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($this->recentAlerts): ?>
|
<?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-container">
|
||||||
<div class="alertsummary-flex">
|
<div class="alertsummary-flex">
|
||||||
@ -69,7 +69,7 @@ $helper = $this->getHelper('MonitoringState');
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<h2><?= $this->translate('History'); ?></h2>
|
<h1><?= $this->translate('History'); ?></h1>
|
||||||
<div class="alertsummary-flex-container">
|
<div class="alertsummary-flex-container">
|
||||||
<div class="alertsummary-flex">
|
<div class="alertsummary-flex">
|
||||||
<?= $this->partial('list/notifications.phtml', array(
|
<?= $this->partial('list/notifications.phtml', array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user