EVOLUTION-MANAGER
Edit File: bfb960c26c0859000d8bf2c4daceaeb8a030ee1a.php
<?php $__env->startSection('ruta'); ?> Listado de Usuarios <?php $__env->stopSection(); ?> <?php $__env->startSection('titulo'); ?> Usuarios <?php $__env->stopSection(); ?> <?php $__env->startSection('contenido'); ?> <?php echo $__env->make('alerts.errors', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('alerts.success', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('alerts.request', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?> <a class="btn btn-primary" href="<?php echo e(URL::route('usuarios.create')); ?>">Nuevo</a> <?php if(count($usuarios)): ?> <style> #gif_cargando { display: none; } #txt_seguro { padding: 10px; font-size: 15px; width: 100%; font-weight: bold; border: none; } </style> <div class="table-responsive"> <table id="tbbuzon1" class="table table-striped table-bordered table-hover display" > <thead> <tr> <th>Id</th> <th>Cédula</th> <th>Nombre de usuario</th> <th>Email</th> <th>Teléfono</th> <th>Fecha de nacimiento </th> <th>Tipo de Usuario</th> <th width="10%">Opciones</th> </tr> </thead> <tbody> <?php $s = 0 ; ?> <?php $__currentLoopData = $usuarios; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cliente): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e($cliente->id); ?></td> <td><?php echo e($cliente->cedula); ?></td> <td><?php echo e($cliente->name); ?></td> <td><?php echo e($cliente->email); ?></td> <td><?php echo e($cliente->telefono); ?></td> <td><?php echo e($cliente->fecha_nacimiento); ?></td> <td><?php echo e($cliente->tipo_usuario); ?></td> <td style="display: inline-flex; float: right;"> <?php echo Form::open(array('method' => 'GET', 'route' => array('usuarios.edit', $cliente->id))); ?> <button type="submit" class="btn btn-success bnt-lg" data-toggle="tooltip" title="Editar"> <i class="fa fa-pencil-square-o"></i></button> <?php echo Form::close(); ?> <button type="submit" class="btn btn-danger bnt-lg" onclick="SeguroEliminar(<?php echo e($cliente->id); ?>)" data-toggle="tooltip" title="Eliminar"><i class="fa fa-trash"></i></button> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php else: ?> No hay Mercados <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('script'); ?> <script> $(document).ready(function(){ $(".inline").colorbox(); // $(".add_usser").colorbox(); }); $(function () { $('[data-toggle="tooltip"]').tooltip('show') }) function SeguroEliminar(id) { $.colorbox({width:"auto",height:"auto", open:true, href:"seguro_eliminar/usuarios/"+id}); } </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>