monitoring: Indent the event history overview w/ 4 spaces

This commit is contained in:
Eric Lippmann 2015-11-03 09:21:42 +01:00
parent fee77af5e8
commit 6b0e5be05d
1 changed files with 113 additions and 115 deletions

View File

@ -32,8 +32,7 @@ if (! $this->compact): ?>
<div class="content">
<table data-base-target="_next" class="action action-table">
<tbody>
<?php foreach ($history->peekAhead() as $event): ?>
<?php
<?php foreach ($history->peekAhead() as $event):
$icon = 'help';
$msg = $event->output;
$title = $event->type;
@ -83,8 +82,7 @@ if (! $this->compact): ?>
$icon = 'endtime';
$title = $this->translate('Downtime End');
break;
}
?>
} ?>
<tr>
<td class="state-col state-<?= $stateName; ?>">
<?php if ($history->getIteratorPosition() % $limit === 0): ?>
@ -113,7 +111,7 @@ if (! $this->compact): ?>
<?php if (! $history->hasResult()): ?>
<?= $this->translate('No history events found matching the filter'); ?>
<?php elseif ($history->hasMore()): ?>
<?php if ($this->compact): ?>
<?php if ($this->compact): ?>
<?= $this->qlink(
$this->translate('Show More'),
$url->without(array('view', 'limit')),
@ -123,7 +121,7 @@ if (! $this->compact): ?>
'class' => 'pull-right action-link'
)
); ?>
<?php else: ?>
<?php else: ?>
<?= $this->qlink(
$this->translate('Load More'),
$url->setAnchor('page-' . ($page + 1)),
@ -135,6 +133,6 @@ if (! $this->compact): ?>
'class' => 'pull-right action-link'
)
); ?>
<?php endif ?>
<?php endif ?>
<?php endif ?>
</div>