32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
<div class="row">
|
|
<div class="col-md-1">
|
|
@if ($start > 0)
|
|
<a href="{{url('admin/registros')}}">
|
|
<span class="glyphicon glyphicon-fast-backward"></span>
|
|
</a>
|
|
@endif
|
|
</div>
|
|
<div class="col-md-1">
|
|
@if ($start > 0)
|
|
<a href="{{url('admin/registros/') . ($start - $step + 1) . '/' . (($end > 0) ? $end - $step : $step * 2)}}">
|
|
<span class="glyphicon glyphicon-chevron-left"></span>
|
|
</a>
|
|
@endif
|
|
</div>
|
|
<div class="col-md-offset-3 col-md-2 text-center">{{$start + 1}} - {{$end}}</div>
|
|
<div class="col-md-offset-3 col-md-1 text-right">
|
|
@if ($end < $total)
|
|
<a href="{{url('admin/registros/') . (($end > 0) ? $end + 1 : $step) . '/' . (($end > 0) ? $end + $step : $step * 2)}}">
|
|
<span class="glyphicon glyphicon-chevron-right"></span>
|
|
</a>
|
|
@endif
|
|
</div>
|
|
<div class="col-md-1 text-right">
|
|
@if ($end < $total)
|
|
<a href="{{url('admin/registros/') . (round($total / $step, 0) * $step + 1) . '/' . (round($total / $step, 0) *$step + $step)}}">
|
|
<span class="glyphicon glyphicon-fast-forward"></span>
|
|
</a>
|
|
@endif
|
|
</div>
|
|
</div>
|