Current path: home/webdevt/cryptoimpot.fr/module/Application/view/application/crypto/
?? Go up: /home/webdevt/cryptoimpot.fr/module/Application/view/application
<?php
//echo $this->partialLoop('admin/partial/brand/table-row', $paginator)
$this->headTitle()->append('Liste des crypto');
$pagination = $this->paginationControl(
// the paginator object
$this->paginator,
// the scrolling style; see http://zf2.readthedocs.org/en/release-2.1.4/modules/zend.paginator.usage.html#rendering-pages-with-view-scripts
'Sliding',
// the partial to use to render the control
array('application/partial/crypto/pagination.phtml', 'Crypto'),
// the route to link to when a user clicks a control link
array(
'route' => \Application\Controller\CryptoController::ROUTE_LISTE,
'queryOption' => $this->queryOption
)
);
?>
<div class="container-fluid" style="background-color: #F7F7FB; padding: 15px;">
<?php if (empty($numberPages)) : ?>
<div class="row shadow bg-white p-4" style="margin: 15px 150px;">
<div class="col">
<p>Vous n'avez renseigné aucun échange.</p>
<a href="<?php echo $this->url(\Application\Controller\InformationController::ROUTE_INFORMATION, array()) ?>"
class="btn btn-primary">Ajouter des données de trade</a>
</div>
</div>
<?php else : ?>
<div class="row shadow bg-white p-4" style="margin: 15px 150px;">
<div class="col">
<h3>Liste des cryptos</h3>
<?php echo $pagination; ?>
<?php
echo $this->partial('application/partial/crypto/table.phtml', array(
/* options du tableau : colonnes, lien ajouter, .... */
'tableOptions' => array(
'colTable' => $colTable,
// 'linkAdd' => array(
// 'url' => $this->url(\WdpAdmin\Controller\CodeBoxController::ROUTE_ADD),
// 'label' => 'Ajouter des codes box'
// ),
// 'linkExport' => array(
// 'url' => $this->url(\WdpAdmin\Controller\CodeBoxController::ROUTE_EXPORT, array(
//// 'toto' => 'toto'
// ), array('query' =>
// array(
// 'search' => !empty($this->queryOption['search']) ? $this->queryOption['search'] : null,
// 'sort_by' => !empty($this->queryOption['sort_by']) ? $this->queryOption['sort_by'] : null,
// 'sort' => !empty($this->queryOption['sort']) ? $this->queryOption['sort'] : null,
// )
// )
// ),
// 'label' => 'Exporter'
// ),
// 'partialRow' => array(
// 'template' => 'wdp-front/partial/ledgio/table-row',
// 'options' => array(
//// 'arrayIdActuVisible' => $arrayIdActuVisible,
// )
// )
),
'paginator' => $this->paginator,
//'warningLedgio' => $this->warningLedgio,
'queryOption' => $this->queryOption,
'formSearch' => $this->formSearch,
))
?>
<?php
echo $pagination;
?>
</div>
</div>
<?php endif ?>
</div>