Path : /var/www/html/jewelry-pos/storage/framework/views/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/jewelry-pos/storage/framework/views/97c2548cc09a6abb44a1583eb117c94a.php |
<?php $__env->startSection('content'); ?> <div class="col-lg-12"> <div class="card-body shadow-1"> <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-right mb-2" style="text-align: right;"> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role-create')): ?> <a class="btn btn-primary" href="<?php echo e(route('roles.create')); ?>"> <i class="fal fa-plus"></i> <?php echo e(__('message.add new')); ?> </a> <?php endif; ?> </div> </div> </div> <div class="panel-container show"> <div class="d-flex flex-column h-100"> <div class="h-auto"> <table id="example" class="table table-bordered table-hover table-striped w-100"> <thead class="bg-fusion-400"> <tr class="text-center"> <th>#</th> <th><?php echo e(__('message.name')); ?></th> <th><?php echo e(__('message.action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="text-center"> <td><?php echo e(++$i); ?></td> <td> <?php if($role->name == 'Admin'): ?> <span class="text-success"> <a class="text-success" href="<?php echo e(route('users.show' , $role->id)); ?>" title="<?php echo e(__('message.show user')); ?>"> <?php echo e($role->name); ?> </a> </span> <?php else: ?> <span class="text-info"> <a class="text-info" href="<?php echo e(route('users.show' , $role->id)); ?>" title="<?php echo e(__('message.show user')); ?>"> <?php echo e($role->name); ?> </a> </span> <?php endif; ?> </td> <td> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role-edit')): ?> <a class="btn btn-primary" href="<?php echo e(route('roles.edit', $role->id)); ?>"><i class="fal fa-edit"></i></a> <?php endif; ?> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role-delete')): ?> <button class="btn btn-danger" onclick="notAllowDelete()" title="Delete"><i class="fal fa-trash"></i></button> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <!-- datatable end --> </div> </div> </div> <?php echo $roles->appends($_GET)->links(); ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> $(document).ready(function() { $("#js-nav-menu").removeClass('active'); $("#js-nav-menu li ul li").removeClass('active'); $("#menu_user_list").addClass('active open'); $("#collapse_user").addClass('collapse in') $("#menu_role").addClass('active') }) </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('meta'); ?> <title><?php echo e(__('message.role')); ?> - <?php echo e($settings_->shop_name); ?></title> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin-main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/jewelry-pos/resources/views/roles/index.blade.php ENDPATH**/ ?>