100 lines
6.1 KiB
PHP
Executable File
100 lines
6.1 KiB
PHP
Executable File
<?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([]); ?>
|
|
<!-- Title of the page. -->
|
|
<?php $__env->slot('title', null, []); ?>
|
|
<?php echo app('translator')->get('admin::app.settings.title'); ?>
|
|
<?php $__env->endSlot(); ?>
|
|
|
|
<?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']] + (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']); ?>
|
|
<?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; ?>
|
|
|
|
<!-- Heading of the page -->
|
|
<div class="mb-7 flex items-center justify-between">
|
|
<p class="py-3 text-xl font-bold text-gray-800 dark:text-white">
|
|
<?php echo app('translator')->get('admin::app.settings.title'); ?>
|
|
</p>
|
|
</div>
|
|
|
|
<!-- Page Content -->
|
|
<div class="grid gap-y-8">
|
|
<?php $__currentLoopData = menu()->getAdminMenuByKey('settings')->getChildren(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $setting): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<div>
|
|
<div class="grid gap-1">
|
|
<!-- Title of the Main Card -->
|
|
<p class="font-semibold text-gray-600 dark:text-gray-300">
|
|
<?php echo e($setting->getName()); ?>
|
|
|
|
</p>
|
|
|
|
<!-- Info of the Main Card -->
|
|
<p class="text-gray-600 dark:text-gray-300">
|
|
<?php echo e($setting->getInfo()); ?>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
<div class="box-shadow max-1580:grid-cols-3 mt-2 grid grid-cols-4 flex-wrap justify-between gap-x-12 gap-y-6 rounded bg-white p-4 dark:bg-gray-900 max-xl:grid-cols-2 max-lg:gap-y-4 max-sm:grid-cols-1">
|
|
<!-- Menus cards -->
|
|
<?php $__currentLoopData = $setting->getChildren(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<a
|
|
class="flex max-w-[360px] items-center gap-2 rounded-lg p-2 transition-all hover:bg-gray-100 dark:hover:bg-gray-950"
|
|
href="<?php echo e($child->getUrl()); ?>"
|
|
>
|
|
<div class="rounded-lg bg-gray-100 p-3 dark:bg-gray-800">
|
|
<i class="<?php echo e($child->getIcon()); ?> text-3xl"></i>
|
|
</div>
|
|
|
|
<div class="grid">
|
|
<p class="mb-1.5 text-base font-semibold text-gray-800 dark:text-white">
|
|
<?php echo e($child->getName()); ?>
|
|
|
|
</p>
|
|
|
|
<p class="text-xs text-gray-600 dark:text-gray-300">
|
|
<?php echo e($child->getInfo()); ?>
|
|
|
|
</p>
|
|
</div>
|
|
</a>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
|
</div>
|
|
<?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/index.blade.php ENDPATH**/ ?>
|