draft tags and portlets

This commit is contained in:
Dennis Eichhorn 2020-03-01 15:00:33 +01:00
parent e45cea749f
commit c9c837a7a3
2 changed files with 5 additions and 7 deletions

View File

@ -20,9 +20,9 @@ echo $this->getData('nav')->render(); ?>
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Audits') ?><i class="fa fa-download floatRight download btn"></i></div>
<table class="default fixed">
<caption><?= $this->getHtml('Audits') ?><i class="fa fa-download floatRight download btn"></i></caption>
<colgroup>
<col style="width: 100px">
<col style="width: 150px">
@ -45,9 +45,6 @@ echo $this->getData('nav')->render(); ?>
<td ><?= $this->getHtml('Content') ?>
<td ><?= $this->getHtml('By') ?>
<td ><?= $this->getHtml('Date') ?>
<tfoot>
<tr>
<td colspan="9">
<tbody>
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
$url = \phpOMS\Uri\UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
@ -66,6 +63,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="9" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
<div class="portlet-foot"></div>
</div>
</div>
</div>

View File

@ -21,7 +21,7 @@ echo $this->getData('nav')->render();
<div class="row">
<div class="col-xs-12">
<section class="box wf-100">
<div class="portlet">
<article>
<pre><?= \phpOMS\Utils\StringUtils::createDiffMarkup(
\phpOMS\Views\ViewAbstract::html($this->getData('audit')->getOld() ?? ''),
@ -30,6 +30,6 @@ echo $this->getData('nav')->render();
); ?>
</pre>
</article>
</section>
</div>
</div>
</div>