Edit File: bb4da646c67fcd38168797a85b7855a45328a966.php
<div class="position-relative"> <div class="table_loader" > <?php echo e(__('admin.loading')); ?> </div> <table class="table " id="tab"> <thead> <tr> <th>#</th> <th><?php echo e(__('admin.name')); ?></th> <th><?php echo e(__('admin.control')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="delete_role"> <td><?php echo e($loop->iteration); ?></td> <td><?php echo e($role->name); ?></td> <td class="product-action"> <span class="action-edit text-primary"><a href="<?php echo e(route('admin.roles.edit' , ['id' => $role->id])); ?>"><i class="feather icon-edit"></i></a></span> <?php if(auth()->guard('admin')->user()->role_id != $role->id): ?> <span class="delete-row text-danger" data-url="<?php echo e(url('admin/roles/'.$role->id)); ?>"><i class="feather icon-trash"></i></span> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php if($roles->count() == 0): ?> <div class="d-flex flex-column w-100 align-center mt-4"> <img src="<?php echo e(asset('/storage/images/no_data.png')); ?>" width="200px" style="" alt=""> <span class="mt-2" style="font-family: cairo ;margin-right: 35px"><?php echo e(__('admin.there_are_no_matches_matching')); ?></span> </div> <?php endif; ?> </div> <?php if($roles->count() > 0 && $roles instanceof \Illuminate\Pagination\AbstractPaginator ): ?> <div class="d-flex justify-content-center mt-3"> <?php echo e($roles->links()); ?> </div> <?php endif; ?> <?php /**PATH /home/thunderw/public_html/resources/views/admin/roles/table.blade.php ENDPATH**/ ?>
Back to File Manager