More flexbox implementations

This commit is contained in:
Dennis Eichhorn 2017-01-29 19:59:37 +01:00
parent 500235bca0
commit 61db5a5c28

View File

@ -59,27 +59,31 @@ echo $this->getData('nav')->render(); ?>
</section> </section>
--> -->
<div class="box w-100"> <div class="row">
<table class="table"> <div class="col-xs-12">
<caption><?= $this->getText('Clients') ?></caption> <div class="box wf-100">
<thead> <table class="table">
<tr> <caption><?= $this->getText('Clients') ?></caption>
<td><?= $this->getText('ID', 0, 0); ?> <thead>
<td><?= $this->getText('Name1'); ?> <tr>
<td><?= $this->getText('Name2'); ?> <td><?= $this->getText('ID', 0, 0); ?>
<td class="wf-100"><?= $this->getText('Name3'); ?> <td><?= $this->getText('Name1'); ?>
<td><?= $this->getText('City'); ?> <td><?= $this->getText('Name2'); ?>
<td><?= $this->getText('Zip'); ?> <td class="wf-100"><?= $this->getText('Name3'); ?>
<td><?= $this->getText('Address'); ?> <td><?= $this->getText('City'); ?>
<td><?= $this->getText('Country'); ?> <td><?= $this->getText('Zip'); ?>
<tfoot> <td><?= $this->getText('Address'); ?>
<tr> <td><?= $this->getText('Country'); ?>
<td colspan="8"><?= $footerView->render(); ?> <tfoot>
<tbody> <tr>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?> <td colspan="8"><?= $footerView->render(); ?>
<?php endforeach; ?> <tbody>
<?php if($count === 0) : ?> <?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?> <?php endforeach; ?>
<?php endif; ?> <?php if($count === 0) : ?>
</table> <tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div> </div>