Skip to content

Commit

Permalink
Remove unncessary controls in the application log view
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Nov 3, 2015
1 parent cb4b460 commit 5e2e741
Showing 1 changed file with 21 additions and 29 deletions.
50 changes: 21 additions & 29 deletions application/views/scripts/list/applicationlog.phtml
@@ -1,37 +1,29 @@
<?php if (! $this->compact): ?>
<div class="controls">
<?= $this->tabs; ?>
<div class="grid dont-print">
<div class="col-1-3 text-left">
<?= $this->limiter ?>
</div>
<div class="col-1-3">
<?= $this->paginator ?>
</div>
<div class="col-1-3 text-right">
<?= $this->sortBox ?>
</div>
<div class="controls separated">
<?= $this->tabs ?>
<div class="grid">
<?= $this->limiter ?>
<?= $this->paginator ?>
</div>
<?= $this->filterEditor; ?>
</div>
<?php endif ?>
<div class="content">
<?php if ($this->logData !== null): ?>
<?php if ($this->logData !== null): ?>
<table class="action">
<tbody>
<?php foreach ($this->logData as $value): ?>
<?php $datetime = new Datetime($value->datetime); ?>
<tr class="state">
<td style="width: 6em; text-align: center">
<?= $this->escape($datetime->format('d.m. H:i')) ?><br />
<?= $this->escape($value->loglevel) ?>
</td>
<td>
<?= nl2br($this->escape($value->message), false) ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
<tbody>
<?php foreach ($this->logData as $value): ?>
<?php $datetime = new Datetime($value->datetime) ?>
<tr class="state">
<td style="width: 6em; text-align: center">
<?= $this->escape($datetime->format('d.m. H:i')) ?><br />
<?= $this->escape($value->loglevel) ?>
</td>
<td>
<?= nl2br($this->escape($value->message), false) ?>
</td>
</tr>
<?php endforeach ?>
</tbody>
</table>
<?php endif; ?>
<?php endif ?>
</div>

0 comments on commit 5e2e741

Please sign in to comment.