<?php $__env->startSection('content'); ?>

    <div class="sixteen wide tablet sixteen wide computer column ">
        <div class="ui segment">
            
            <h4 class="ui dividing header teal centered">PERSONAL REGISTRADO</h4>
            
            <table class="ui celled striped table">
                <thead>
                    <tr>
                        <th class="head_table">N°</th>
                        <th class="head_table">Nombres</th>
                        <th class="head_table">Apellidos</th>
                        <th class="head_table">Telefono</th>
                        <th class="head_table">Rol</th>
                        <th class="head_table">Acciones</th>
                    </tr>
                </thead>
                <tbody>
                   <?php /**/ $i = 1 /**/ ?>
                    <?php $__currentLoopData = $usuarios; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $usuario): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td><?php echo e($i); ?></td>
                        <td><?php echo e($usuario->nombres); ?></td>
                        <td><?php echo e($usuario->apellidos); ?></td>
                        <td><?php echo e($usuario->telefono); ?></td>
                        <td><?php echo e($usuario->rol->nombre); ?></td>
                        <td>
                            <button class="mini ui positive icon button" title="Ver información completa" data-id="<?php echo e($usuario->id_usuario); ?>"><i class="search icon"></i></button>
                            <button class="mini ui blue icon button" title="Editar datos" data-id="<?php echo e($usuario->id_usuario); ?>"><i class="pencil alternate icon"></i></button>
                        </td>
                    </tr>
                    <?php /**/ $i++ /**/ ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                   
                    <tr>
                        <td>4</td>
                        <td>CARLOS YASMANY</td>
                        <td>HURACA HUAMAN</td>
                        <td>12345678</td>
                        <td>Administrador</td>
                        <td>
                            <button class="mini ui positive icon button" title="Ver información completa"><i class="search icon"></i></button>
                            <button class="mini ui blue icon button" title="Editar datos"><i class="pencil alternate icon"></i></button>
                        </td>
                    </tr>
                    <tr>
                        <td>2</td>
                        <td>CARLOS YASMANY</td>
                        <td>HURACA HUAMAN</td>
                        <td>12345678</td>
                        <td>Personal de Ventas</td>
                        <td>
                            <button class="mini ui positive icon button" title="Ver información completa"><i class="search icon"></i></button>
                            <button class="mini ui blue icon button" title="Editar datos"><i class="pencil alternate icon"></i></button>
                        </td>
                    </tr>
                    <tr>
                        <td>3</td>
                        <td>CARLOS YASMANY</td>
                        <td>HURACA HUAMAN</td>
                        <td>12345678</td>
                        <td>Personal de Almacen</td>
                        <td>
                            <button class="mini ui positive icon button button_modal" title="Ver información completa"><i class="search icon"></i></button>
                            <button class="mini ui blue icon button button_modal" title="Editar datos"><i class="pencil alternate icon"></i></button>
                        </td>
                    </tr>
                
              </tbody>
              <tfoot>
                <tr><th colspan="6">
                  <div class="ui right floated pagination menu">
                    <a class="icon item">
                      <i class="left chevron icon"></i>
                    </a>
                    <a class="item">1</a>
                    <a class="item">2</a>
                    <a class="item">3</a>
                    <a class="item">4</a>
                    <a class="icon item">
                      <i class="right chevron icon"></i>
                    </a>
                  </div>
                </th>
              </tr></tfoot>
            </table>

        </div>
    </div>

<?php $__env->stopSection(); ?>


<?php echo $__env->make('layout.main', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>