Fixing templates

This commit is contained in:
Dennis Eichhorn 2017-06-24 10:51:43 +02:00
parent 3cd0913683
commit 1e98ffc625

View File

@ -26,30 +26,34 @@ $footerView->setResults(1);
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<div class="box w-100"> <div class="row">
<table class="table red"> <div class="col-xs-12">
<caption><?= $this->getText('Projects'); ?></caption> <div class="box wf-100">
<thead> <table class="table red">
<tr> <caption><?= $this->getText('Projects'); ?></caption>
<td><?= $this->getText('ID', 0, 0); ?> <thead>
<td><?= $this->getText('Status'); ?> <tr>
<td class="wf-100"><?= $this->getText('Name'); ?> <td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Creator'); ?> <td><?= $this->getText('Status'); ?>
<td><?= $this->getText('Created'); ?> <td class="wf-100"><?= $this->getText('Name'); ?>
<tfoot> <td><?= $this->getText('Creator'); ?>
<tr><td colspan="5"><?= $footerView->render(); ?> <td><?= $this->getText('Created'); ?>
<tbody> <tfoot>
<?php $c = 0; foreach ([] as $key => $value) : $c++; <tr><td colspan="5"><?= $footerView->render(); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/checklist/single?{?}&id=' . $value->getId()); ?> <tbody>
<tr> <?php $c = 0; foreach ([] as $key => $value) : $c++;
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/checklist/single?{?}&id=' . $value->getId()); ?>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a> <tr>
<td><a href="<?= $url; ?>"><?= $value->getParent(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getUnit(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>
<?php endforeach; ?> <td><a href="<?= $url; ?>"><?= $value->getParent(); ?></a>
<?php if($c === 0) : ?> <td><a href="<?= $url; ?>"><?= $value->getUnit(); ?></a>
<tr> <?php endforeach; ?>
<td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?> <?php if($c === 0) : ?>
<?php endif; ?> <tr>
</table> <td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div> </div>