oms-ClientManagement/Theme/Backend/clients-list.tpl.php

90 lines
3.6 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.1
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<!-- Hover may be better here?!?!?!
<section class="box w-100">
<header><h1><?= $this->getText('Client') ?></h1></header>
<div class="inner floatLeft wf-100">
<form class="wf-33 floatLeft">
<table class="layout w-100">
<tr><td><label for="iName1"><?= $this->getText('Name1'); ?></label>
<tr><td><input type="text" id="iName1" disabled>
<tr><td><label for="iName2"><?= $this->getText('Name2'); ?></label>
<tr><td><input type="text" id="iName2" disabled>
<tr><td><label for="iName3"><?= $this->getText('Name3'); ?></label>
<tr><td><input type="text" id="iName3" disabled>
</table>
</form>
<form class="wf-33 floatLeft">
<table class="layout w-100">
<tr><td><label for="iAddress"><?= $this->getText('Address'); ?></label>
<tr><td><input type="text" id="iAddress" disabled>
<tr><td><label for="iZip"><?= $this->getText('Zip'); ?></label>
<tr><td><input type="text" id="iZip" disabled>
<tr><td><label for="iCountry"><?= $this->getText('Country'); ?></label>
<tr><td><input type="text" id="iCountry" disabled>
</table>
</form>
<form class="wf-33 floatLeft">
<table class="layout w-100">
<tr><td><label for="iPhone"><?= $this->getText('Phone'); ?></label>
<tr><td><input type="text" id="iPhone" disabled>
<tr><td><label for="iFax"><?= $this->getText('Fax'); ?></label>
<tr><td><input type="text" id="iFax" disabled>
<tr><td><label for="iEmail"><?= $this->getText('Email'); ?></label>
<tr><td><input type="text" id="iEmail" disabled>
</table>
</form>
</div>
</section>
-->
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table">
<caption><?= $this->getText('Clients') ?></caption>
<thead>
<tr>
<td><?= $this->getText('ID', 0, 0); ?>
<td><?= $this->getText('Name1'); ?>
<td><?= $this->getText('Name2'); ?>
<td class="wf-100"><?= $this->getText('Name3'); ?>
<td><?= $this->getText('City'); ?>
<td><?= $this->getText('Zip'); ?>
<td><?= $this->getText('Address'); ?>
<td><?= $this->getText('Country'); ?>
<tfoot>
<tr>
<td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="8" class="empty"><?= $this->getText('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>