ok
This commit is contained in:
15
Production/SNIPE-IT/resources/views/paginator/simple.php
Normal file
15
Production/SNIPE-IT/resources/views/paginator/simple.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$presenter = new Illuminate\Pagination\BootstrapPresenter($paginator);
|
||||
|
||||
$trans = $environment->getTranslator();
|
||||
?>
|
||||
|
||||
<?php if ($paginator->getLastPage() > 1) : ?>
|
||||
<ul class="pager">
|
||||
<?php
|
||||
echo $presenter->getPrevious($trans->trans('pagination.previous'));
|
||||
|
||||
echo $presenter->getNext($trans->trans('pagination.next'));
|
||||
?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
21
Production/SNIPE-IT/resources/views/paginator/slider.php
Normal file
21
Production/SNIPE-IT/resources/views/paginator/slider.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
$presenter = new Illuminate\Pagination\BootstrapPresenter($paginator);
|
||||
?>
|
||||
|
||||
<div class="pagination">
|
||||
<ul class="pull left">
|
||||
<li>
|
||||
Showing
|
||||
<?php echo $paginator->getFrom(); ?>
|
||||
-
|
||||
<?php echo $paginator->getTo(); ?>
|
||||
of
|
||||
<?php echo $paginator->getTotal(); ?>
|
||||
items
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="pull-right">
|
||||
<?php echo $presenter->render(); ?>
|
||||
</ul>
|
||||
</div>
|
Reference in New Issue
Block a user