<?php
    $authCheck = auth()->check();
    $permission= auth()->user();
?>
<table class="table table-striped">
                        <thead class="border-bottom">
                            <tr>
                                <th>S.No.</th>
                                <th>Role</th>
                                <th>Actions</th>
                            </tr>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                
                                  <td><?php echo e($roles->firstItem() + $key); ?></td>
                                <td><?php echo e($role->name); ?></td>
                                
                                <td class="d-flex align-items-center">
                                    <!-- <div class="lights">
                                        <div class="form-check form-switch mb-0 h-100">
                                            <input class="form-check-input mt-0" type="checkbox" id="mySwitch" name="darkmode" value="yes">
                                        </div>
                                    </div>  -->
                                    <a href="<?php echo e(route('admin.roles.edit', $role->id)); ?>" class="text-success me-3" data-bs-toggle="tooltip" data-bs-placement="top" title="Edit"><i class="fa-solid fa-pen-to-square"></i></a>
                                    
                                    <a href="javascript:void(0);" 
                                        class="text-danger me-2 delete-btn" 
                                        data-bs-toggle="tooltip" data-bs-placement="top" title="Delete"
                                        data-id="<?php echo e(base64_encode($role->id)); ?>">
                                            <i class="fa-solid fa-trash"></i>
                                    </a>
                                      <a href="view-student-details.html" class="text-info"></a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                    </table>
                    <div class="pagination-wrapper mb-4">
                        <?php echo e($roles->links()); ?>

                    </div><?php /**PATH /var/www/html/quikwise-admin/resources/views/admin/roles/ajax.blade.php ENDPATH**/ ?>