Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unncessary controls in the application log view
- Loading branch information
Showing
1 changed file
with
21 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |