add: full multi-tenancy control
This commit is contained in:
254
storage/framework/views/f2fe26289caa447896210dce80973ed6.php
Executable file
254
storage/framework/views/f2fe26289caa447896210dce80973ed6.php
Executable file
@@ -0,0 +1,254 @@
|
||||
<?php if (isset($component)) { $__componentOriginal8001c520f4b7dcb40a16cd3b411856d1 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.layouts.index','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::layouts'); ?>
|
||||
<?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 $__env->slot('title', null, []); ?>
|
||||
<?php echo app('translator')->get('admin::app.settings.webforms.index.title'); ?>
|
||||
<?php $__env->endSlot(); ?>
|
||||
|
||||
<v-webform>
|
||||
<div class="flex flex-col gap-4">
|
||||
<div class="flex items-center justify-between rounded-lg border border-gray-200 bg-white px-4 py-2 text-sm dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300">
|
||||
<div class="flex flex-col gap-2">
|
||||
<!-- Bredcrumbs -->
|
||||
<?php if (isset($component)) { $__componentOriginal477735b45b070062c5df1d72c43d48f5 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal477735b45b070062c5df1d72c43d48f5 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.breadcrumbs.index','data' => ['name' => 'settings.web_forms']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::breadcrumbs'); ?>
|
||||
<?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(['name' => 'settings.web_forms']); ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal477735b45b070062c5df1d72c43d48f5)): ?>
|
||||
<?php $attributes = $__attributesOriginal477735b45b070062c5df1d72c43d48f5; ?>
|
||||
<?php unset($__attributesOriginal477735b45b070062c5df1d72c43d48f5); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal477735b45b070062c5df1d72c43d48f5)): ?>
|
||||
<?php $component = $__componentOriginal477735b45b070062c5df1d72c43d48f5; ?>
|
||||
<?php unset($__componentOriginal477735b45b070062c5df1d72c43d48f5); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="text-xl font-bold dark:text-white">
|
||||
<?php echo app('translator')->get('admin::app.settings.webforms.index.title'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-x-2.5">
|
||||
<!-- Create button for person -->
|
||||
<div class="flex items-center gap-x-2.5">
|
||||
<?php if(bouncer()->hasPermission('admin.settings.web_forms.create')): ?>
|
||||
<button
|
||||
type="button"
|
||||
class="primary-button"
|
||||
>
|
||||
<?php echo app('translator')->get('admin::app.settings.webforms.index.create-btn'); ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- DataGrid Shimmer -->
|
||||
<?php if (isset($component)) { $__componentOriginal786afdc48f178fcd61896b33bd681bb0 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal786afdc48f178fcd61896b33bd681bb0 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.shimmer.settings.web-forms.index','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::shimmer.settings.web-forms'); ?>
|
||||
<?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($__attributesOriginal786afdc48f178fcd61896b33bd681bb0)): ?>
|
||||
<?php $attributes = $__attributesOriginal786afdc48f178fcd61896b33bd681bb0; ?>
|
||||
<?php unset($__attributesOriginal786afdc48f178fcd61896b33bd681bb0); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal786afdc48f178fcd61896b33bd681bb0)): ?>
|
||||
<?php $component = $__componentOriginal786afdc48f178fcd61896b33bd681bb0; ?>
|
||||
<?php unset($__componentOriginal786afdc48f178fcd61896b33bd681bb0); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</v-webform>
|
||||
|
||||
<?php if (! $__env->hasRenderedOnce('11f4f4eb-05be-4955-88b8-79eaa3ccc39d')): $__env->markAsRenderedOnce('11f4f4eb-05be-4955-88b8-79eaa3ccc39d');
|
||||
$__env->startPush('scripts'); ?>
|
||||
<script
|
||||
type="text/x-template"
|
||||
id="v-webform-template"
|
||||
>
|
||||
<div class="flex flex-col gap-4">
|
||||
<div class="flex items-center justify-between rounded-lg border border-gray-200 bg-white px-4 py-2 text-sm dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300">
|
||||
<div class="flex flex-col gap-2">
|
||||
<!-- Bredcrumbs -->
|
||||
<?php if (isset($component)) { $__componentOriginal477735b45b070062c5df1d72c43d48f5 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal477735b45b070062c5df1d72c43d48f5 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.breadcrumbs.index','data' => ['name' => 'settings.web_forms']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::breadcrumbs'); ?>
|
||||
<?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(['name' => 'settings.web_forms']); ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal477735b45b070062c5df1d72c43d48f5)): ?>
|
||||
<?php $attributes = $__attributesOriginal477735b45b070062c5df1d72c43d48f5; ?>
|
||||
<?php unset($__attributesOriginal477735b45b070062c5df1d72c43d48f5); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal477735b45b070062c5df1d72c43d48f5)): ?>
|
||||
<?php $component = $__componentOriginal477735b45b070062c5df1d72c43d48f5; ?>
|
||||
<?php unset($__componentOriginal477735b45b070062c5df1d72c43d48f5); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="text-xl font-bold dark:text-white">
|
||||
<?php echo app('translator')->get('admin::app.settings.webforms.index.title'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-x-2.5">
|
||||
<!-- Create button for person -->
|
||||
<div class="flex items-center gap-x-2.5">
|
||||
<?php echo view_render_event('admin.settings.web_forms.index.create_button.before'); ?>
|
||||
|
||||
|
||||
<?php if(bouncer()->hasPermission('admin.settings.web_forms.create')): ?>
|
||||
<a
|
||||
href="<?php echo e(route('admin.settings.web_forms.create')); ?>"
|
||||
class="primary-button"
|
||||
>
|
||||
<?php echo app('translator')->get('admin::app.settings.webforms.index.create-btn'); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo view_render_event('admin.settings.web_forms.index.create_button.after'); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php echo view_render_event('admin.settings.web_forms.index.datagrid.before'); ?>
|
||||
|
||||
|
||||
<!-- Datagrid -->
|
||||
<?php if (isset($component)) { $__componentOriginal3bea17ac3f7235e71a823454ccb74424 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal3bea17ac3f7235e71a823454ccb74424 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.datagrid.index','data' => ['src' => route('admin.settings.web_forms.index'),'ref' => 'datagrid']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::datagrid'); ?>
|
||||
<?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(['src' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.settings.web_forms.index')),'ref' => 'datagrid']); ?>
|
||||
<template #header="{
|
||||
isLoading,
|
||||
available,
|
||||
applied,
|
||||
selectAll,
|
||||
sort,
|
||||
performAction
|
||||
}">
|
||||
<template v-if="isLoading">
|
||||
<?php if (isset($component)) { $__componentOriginal6700991233f6680a69c774ad37a2bd34 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal6700991233f6680a69c774ad37a2bd34 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.shimmer.settings.web-forms.head','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::shimmer.settings.web-forms.head'); ?>
|
||||
<?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($__attributesOriginal6700991233f6680a69c774ad37a2bd34)): ?>
|
||||
<?php $attributes = $__attributesOriginal6700991233f6680a69c774ad37a2bd34; ?>
|
||||
<?php unset($__attributesOriginal6700991233f6680a69c774ad37a2bd34); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal6700991233f6680a69c774ad37a2bd34)): ?>
|
||||
<?php $component = $__componentOriginal6700991233f6680a69c774ad37a2bd34; ?>
|
||||
<?php unset($__componentOriginal6700991233f6680a69c774ad37a2bd34); ?>
|
||||
<?php endif; ?>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<template #body="{
|
||||
isLoading,
|
||||
available,
|
||||
applied,
|
||||
selectAll,
|
||||
sort,
|
||||
performAction
|
||||
}">
|
||||
<template v-if="isLoading">
|
||||
<?php if (isset($component)) { $__componentOriginal572744361c457ed1bdfd2c34a8bf6efe = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal572744361c457ed1bdfd2c34a8bf6efe = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.shimmer.settings.web-forms.body','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::shimmer.settings.web-forms.body'); ?>
|
||||
<?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($__attributesOriginal572744361c457ed1bdfd2c34a8bf6efe)): ?>
|
||||
<?php $attributes = $__attributesOriginal572744361c457ed1bdfd2c34a8bf6efe; ?>
|
||||
<?php unset($__attributesOriginal572744361c457ed1bdfd2c34a8bf6efe); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal572744361c457ed1bdfd2c34a8bf6efe)): ?>
|
||||
<?php $component = $__componentOriginal572744361c457ed1bdfd2c34a8bf6efe; ?>
|
||||
<?php unset($__componentOriginal572744361c457ed1bdfd2c34a8bf6efe); ?>
|
||||
<?php endif; ?>
|
||||
</template>
|
||||
</template>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal3bea17ac3f7235e71a823454ccb74424)): ?>
|
||||
<?php $attributes = $__attributesOriginal3bea17ac3f7235e71a823454ccb74424; ?>
|
||||
<?php unset($__attributesOriginal3bea17ac3f7235e71a823454ccb74424); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal3bea17ac3f7235e71a823454ccb74424)): ?>
|
||||
<?php $component = $__componentOriginal3bea17ac3f7235e71a823454ccb74424; ?>
|
||||
<?php unset($__componentOriginal3bea17ac3f7235e71a823454ccb74424); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo view_render_event('admin.settings.web_forms.index.datagrid.after'); ?>
|
||||
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="module">
|
||||
app.component('v-webform', {
|
||||
template: '#v-webform-template',
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<?php $__env->stopPush(); endif; ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1)): ?>
|
||||
<?php $attributes = $__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1; ?>
|
||||
<?php unset($__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal8001c520f4b7dcb40a16cd3b411856d1)): ?>
|
||||
<?php $component = $__componentOriginal8001c520f4b7dcb40a16cd3b411856d1; ?>
|
||||
<?php unset($__componentOriginal8001c520f4b7dcb40a16cd3b411856d1); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/settings/web-forms/index.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user