Remove unncessary controls in the application log view

This commit is contained in:
Eric Lippmann 2015-11-03 12:50:02 +01:00
parent cb4b460f3f
commit 5e2e741a7e
1 changed files with 21 additions and 29 deletions

View File

@ -1,37 +1,29 @@
<?php if (! $this->compact): ?> <?php if (! $this->compact): ?>
<div class="controls"> <div class="controls separated">
<?= $this->tabs; ?> <?= $this->tabs ?>
<div class="grid dont-print"> <div class="grid">
<div class="col-1-3 text-left"> <?= $this->limiter ?>
<?= $this->limiter ?> <?= $this->paginator ?>
</div>
<div class="col-1-3">
<?= $this->paginator ?>
</div>
<div class="col-1-3 text-right">
<?= $this->sortBox ?>
</div>
</div> </div>
<?= $this->filterEditor; ?>
</div> </div>
<?php endif ?> <?php endif ?>
<div class="content"> <div class="content">
<?php if ($this->logData !== null): ?> <?php if ($this->logData !== null): ?>
<table class="action"> <table class="action">
<tbody> <tbody>
<?php foreach ($this->logData as $value): ?> <?php foreach ($this->logData as $value): ?>
<?php $datetime = new Datetime($value->datetime); ?> <?php $datetime = new Datetime($value->datetime) ?>
<tr class="state"> <tr class="state">
<td style="width: 6em; text-align: center"> <td style="width: 6em; text-align: center">
<?= $this->escape($datetime->format('d.m. H:i')) ?><br /> <?= $this->escape($datetime->format('d.m. H:i')) ?><br />
<?= $this->escape($value->loglevel) ?> <?= $this->escape($value->loglevel) ?>
</td> </td>
<td> <td>
<?= nl2br($this->escape($value->message), false) ?> <?= nl2br($this->escape($value->message), false) ?>
</td> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach ?>
</tbody> </tbody>
</table> </table>
<?php endif; ?> <?php endif ?>
</div> </div>