Files
This commit is contained in:
@ -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
|
||||
|
@ -28,7 +28,7 @@
|
||||
">{{ucwords($rol->description)}}</span>
|
||||
@endforeach
|
||||
</td>
|
||||
<td><a href="{{url('admin/registro/' . $registro->id)}}">{{$registro->time()->format('d-m-Y - H:i:s')}} hrs.</a></td>
|
||||
<td><a href="{{$urls->base}}/admin/registro/{{$registro->id}}">{{$registro->time()->format('d-m-Y - H:i:s')}} hrs.</a></td>
|
||||
<td>{{$registro->model()}}</td>
|
||||
<td>{{count($registro->actions())}}</td>
|
||||
</tr>
|
||||
|
@ -55,7 +55,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<a href="{{nUrl('registros', 'list')}}"><span class="glyphicon glyphicon-chevron-left"></span> Volver</a>
|
||||
<a href="{{$urls->base}}/registros"><span class="glyphicon glyphicon-chevron-left"></span> Volver</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user