Base
This commit is contained in:
31
resources/views/admin/registros/controles_avance.blade.php
Normal file
31
resources/views/admin/registros/controles_avance.blade.php
Normal file
@ -0,0 +1,31 @@
|
||||
<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>
|
Reference in New Issue
Block a user