monitoring: New layout for object history

refs #5543
This commit is contained in:
Matthias Jentsch 2015-10-01 10:29:05 +02:00
parent 5b2649ac27
commit 8d12da41d9
1 changed files with 5 additions and 7 deletions

View File

@ -110,14 +110,13 @@ if (! $this->compact): ?>
break; break;
} }
?> ?>
<tr class="state <?= $stateClass; ?>"> <tr>
<td class="state"> <td class="state-col state-<?= $stateClass; ?>">
<?php if ($history->getIteratorPosition() % $limit === 0): ?> <?php if ($history->getIteratorPosition() % $limit === 0): ?>
<a id="page-<?= $history->getIteratorPosition() / $limit + 1; ?>"></a> <a id="page-<?= $history->getIteratorPosition() / $limit + 1; ?>"></a>
<?php endif ?> <?php endif ?>
<strong><?= $this->escape($title); ?></strong> <strong><?= $this->escape($title); ?></strong>
<br> <p><?= date('d.m. H:i', $event->timestamp); ?></p>
<?= date('d.m. H:i', $event->timestamp); ?>
</td> </td>
<td> <td>
<?php if ($isService): ?> <?php if ($isService): ?>
@ -141,10 +140,9 @@ if (! $this->compact): ?>
<?php else: ?> <?php else: ?>
<?= $this->escape($event->host_name); ?> <?= $this->escape($event->host_name); ?>
<?php endif ?> <?php endif ?>
<br> <p class="plugin-output">
<div>
<?= $this->icon($icon, $title); ?> <?= $this->createTicketLinks($msg) ?> <?= $this->icon($icon, $title); ?> <?= $this->createTicketLinks($msg) ?>
</div> </p>
</td> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>