This commit is contained in:
2021-12-25 23:17:47 -03:00
parent 7e01974ec8
commit d7d671fb51
68 changed files with 2991 additions and 160 deletions

View File

@ -1,14 +1,14 @@
<div class="row">
<div class="col-md-1">
@if ($start > 0)
<a href="{{url('admin/registros')}}">
<a href="{{$urls->base}}/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)}}">
<a href="{{$urls->base}}/admin/registros/{{$start - $step + 1}}/{{(($end > 0) ? $end - $step : $step * 2)}}">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
@endif
@ -16,14 +16,14 @@
<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)}}">
<a href="{{$urls->base}}/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)}}">
<a href="{{$urls->base}}/admin/registros/{{(round($total / $step, 0) * $step + 1)}}/{{(round($total / $step, 0) *$step + $step)}}">
<span class="glyphicon glyphicon-fast-forward"></span>
</a>
@endif