Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/storage/framework/views/6010ee048eec0d362c2fbf2e1a03fccd.php
Назад
<?php $__env->startSection('title'); ?> <title><?php echo e(__('Manage Roles')); ?></title> <?php $__env->stopSection(); ?> <?php $__env->startSection('admin-content'); ?> <div class="main-content"> <section class="section"> <?php if (isset($component)) { $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.breadcrumb','data' => ['title' => ''.e(__('Create Role')).'','list' => [ __('Dashboard') => route('admin.dashboard'), __('Settings') => route('admin.settings'), __('Manage Roles') => '#', ]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => ''.e(__('Create Role')).'','list' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([ __('Dashboard') => route('admin.dashboard'), __('Settings') => route('admin.settings'), __('Manage Roles') => '#', ])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?> <?php $attributes = $__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f; ?> <?php unset($__attributesOriginaldbbc880c47f621cda59b70d6eb356b2f); ?> <?php endif; ?> <?php if (isset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f)): ?> <?php $component = $__componentOriginaldbbc880c47f621cda59b70d6eb356b2f; ?> <?php unset($__componentOriginaldbbc880c47f621cda59b70d6eb356b2f); ?> <?php endif; ?> <div class="section-body"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header d-flex justify-content-between"> <?php if (isset($component)) { $__componentOriginalf4c3b1ff82926c29625e584896e80d5a = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf4c3b1ff82926c29625e584896e80d5a = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.form-title','data' => ['text' => __('Manage Roles')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.form-title'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['text' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Manage Roles'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf4c3b1ff82926c29625e584896e80d5a)): ?> <?php $attributes = $__attributesOriginalf4c3b1ff82926c29625e584896e80d5a; ?> <?php unset($__attributesOriginalf4c3b1ff82926c29625e584896e80d5a); ?> <?php endif; ?> <?php if (isset($__componentOriginalf4c3b1ff82926c29625e584896e80d5a)): ?> <?php $component = $__componentOriginalf4c3b1ff82926c29625e584896e80d5a; ?> <?php unset($__componentOriginalf4c3b1ff82926c29625e584896e80d5a); ?> <?php endif; ?> <div> <?php if(auth()->guard('admin')->user()->can('role.create')): ?> <?php if (isset($component)) { $__componentOriginalb71cc3ce235f29fc5e10ecb6e3fe4662 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalb71cc3ce235f29fc5e10ecb6e3fe4662 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.add-button','data' => ['href' => route('admin.role.create')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.add-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.role.create'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalb71cc3ce235f29fc5e10ecb6e3fe4662)): ?> <?php $attributes = $__attributesOriginalb71cc3ce235f29fc5e10ecb6e3fe4662; ?> <?php unset($__attributesOriginalb71cc3ce235f29fc5e10ecb6e3fe4662); ?> <?php endif; ?> <?php if (isset($__componentOriginalb71cc3ce235f29fc5e10ecb6e3fe4662)): ?> <?php $component = $__componentOriginalb71cc3ce235f29fc5e10ecb6e3fe4662; ?> <?php unset($__componentOriginalb71cc3ce235f29fc5e10ecb6e3fe4662); ?> <?php endif; ?> <?php endif; ?> <?php if($admins_exists): ?> <?php if(auth()->guard('admin')->user()->can('role.assign')): ?> <a href="<?php echo e(route('admin.role.assign')); ?>" class="btn btn-success"><i class="fa fa-sync"></i> <?php echo e(__('Assign Role')); ?></a> <?php endif; ?> <?php endif; ?> </div> </div> <div class="card-body"> <div class="table-responsive max-h-400"> <table class="table table-hover"> <thead> <tr> <th width="5%">#</th> <th><?php echo e(__('Name')); ?></th> <th><?php echo e(__('Permission')); ?></th> <?php if(checkAdminHasPermission('role.edit') || checkAdminHasPermission('role.delete')): ?> <th><?php echo e(__('Action')); ?></th> <?php endif; ?> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td><?php echo e($loop->index + 1); ?></td> <td><?php echo e(ucwords($role->name)); ?></td> <td> <?php echo e($role?->permissions?->count() ?? 0); ?> </td> <td> <?php if(auth()->guard('admin')->user()->can('role.edit')): ?> <?php if (isset($component)) { $__componentOriginal3e36211fd48aa7063f2063b1c83f8861 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal3e36211fd48aa7063f2063b1c83f8861 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.edit-button','data' => ['href' => route('admin.role.edit', $role->id)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.edit-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.role.edit', $role->id))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal3e36211fd48aa7063f2063b1c83f8861)): ?> <?php $attributes = $__attributesOriginal3e36211fd48aa7063f2063b1c83f8861; ?> <?php unset($__attributesOriginal3e36211fd48aa7063f2063b1c83f8861); ?> <?php endif; ?> <?php if (isset($__componentOriginal3e36211fd48aa7063f2063b1c83f8861)): ?> <?php $component = $__componentOriginal3e36211fd48aa7063f2063b1c83f8861; ?> <?php unset($__componentOriginal3e36211fd48aa7063f2063b1c83f8861); ?> <?php endif; ?> <?php endif; ?> <?php if(auth()->guard('admin')->user()->can('role.delete')): ?> <?php if (isset($component)) { $__componentOriginal18371a5a3845bb1bf4b5af13034b064c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18371a5a3845bb1bf4b5af13034b064c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.delete-button','data' => ['id' => $role->id,'onclick' => 'deleteData']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.delete-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($role->id),'onclick' => 'deleteData']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18371a5a3845bb1bf4b5af13034b064c)): ?> <?php $attributes = $__attributesOriginal18371a5a3845bb1bf4b5af13034b064c; ?> <?php unset($__attributesOriginal18371a5a3845bb1bf4b5af13034b064c); ?> <?php endif; ?> <?php if (isset($__componentOriginal18371a5a3845bb1bf4b5af13034b064c)): ?> <?php $component = $__componentOriginal18371a5a3845bb1bf4b5af13034b064c; ?> <?php unset($__componentOriginal18371a5a3845bb1bf4b5af13034b064c); ?> <?php endif; ?> <?php endif; ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <?php if (isset($component)) { $__componentOriginal875c7a0bb47165de86ff51577f723b01 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal875c7a0bb47165de86ff51577f723b01 = $attributes; } ?> <?php $component = App\View\Components\EmptyTable::resolve(['name' => __('Role'),'route' => 'admin.role.create','create' => 'yes','message' => __('No data found!'),'colspan' => '4'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('empty-table'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\EmptyTable::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal875c7a0bb47165de86ff51577f723b01)): ?> <?php $attributes = $__attributesOriginal875c7a0bb47165de86ff51577f723b01; ?> <?php unset($__attributesOriginal875c7a0bb47165de86ff51577f723b01); ?> <?php endif; ?> <?php if (isset($__componentOriginal875c7a0bb47165de86ff51577f723b01)): ?> <?php $component = $__componentOriginal875c7a0bb47165de86ff51577f723b01; ?> <?php unset($__componentOriginal875c7a0bb47165de86ff51577f723b01); ?> <?php endif; ?> <?php endif; ?> </tbody> </table> <div class="float-right"> <?php echo e($roles->links()); ?> </div> </div> </div> </div> </div> </div> </div> </section> </div> <?php if (isset($component)) { $__componentOriginalaa3b824e4662c5ae30529397669d1c1d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalaa3b824e4662c5ae30529397669d1c1d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.delete-modal','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('admin.delete-modal'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalaa3b824e4662c5ae30529397669d1c1d)): ?> <?php $attributes = $__attributesOriginalaa3b824e4662c5ae30529397669d1c1d; ?> <?php unset($__attributesOriginalaa3b824e4662c5ae30529397669d1c1d); ?> <?php endif; ?> <?php if (isset($__componentOriginalaa3b824e4662c5ae30529397669d1c1d)): ?> <?php $component = $__componentOriginalaa3b824e4662c5ae30529397669d1c1d; ?> <?php unset($__componentOriginalaa3b824e4662c5ae30529397669d1c1d); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('js'); ?> <script> "use strict" function deleteData(id) { $("#deleteForm").attr("action", "<?php echo e(url('/admin/role/')); ?>" + "/" + id) } </script> <?php $__env->stopPush(); ?> <?php $__env->startPush('css'); ?> <style> .dd-custom-css { position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(0px, -131px, 0px); } .max-h-400 { min-height: 400px; } </style> <?php $__env->stopPush(); ?> <?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lekhnath/silverray.com.au/resources/views/admin/roles/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка