improve table css

This commit is contained in:
Dennis Eichhorn 2020-02-29 20:55:00 +01:00
parent a33aecfd8d
commit 771f535ddf

View File

@ -25,19 +25,14 @@ $next = empty($accounts) ? '{/prefix}profile/list' : '{/prefix}profile/list?
?> ?>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<div class="box wf-100"> <div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Profiles') ?><i class="fa fa-download floatRight download btn"></i></div>
<table id="profileList" class="default"> <table id="profileList" class="default">
<caption><?= $this->getHtml('Profiles') ?><i class="fa fa-download floatRight download btn"></i></caption>
<thead> <thead>
<tr> <tr>
<td><?= $this->getHtml('ID', '0', '0'); ?> <td><?= $this->getHtml('ID', '0', '0'); ?>
<td class="wf-100"><?= $this->getHtml('Name') ?> <td class="wf-100"><?= $this->getHtml('Name') ?>
<td><?= $this->getHtml('Activity') ?> <td><?= $this->getHtml('Activity') ?>
<tfoot>
<tr>
<td colspan="3">
<a class="button" href="<?= UriFactory::build($previous); ?>">Previous</a>
<a class="button" href="<?= UriFactory::build($next); ?>">Next</a>
<tbody> <tbody>
<?php $count = 0; foreach ($accounts as $key => $account) : ++$count; <?php $count = 0; foreach ($accounts as $key => $account) : ++$count;
$url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId()); ?> $url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId()); ?>
@ -50,6 +45,10 @@ $next = empty($accounts) ? '{/prefix}profile/list' : '{/prefix}profile/list?
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?> <tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
<div class="portlet-foot">
<a class="button" href="<?= UriFactory::build($previous); ?>">Previous</a>
<a class="button" href="<?= UriFactory::build($next); ?>">Next</a>
</div>
</div> </div>
</div> </div>
</div> </div>