73 lines
4.9 KiB
PHP
73 lines
4.9 KiB
PHP
<?php $__env->startSection('content'); ?>
|
|
<div class="container-fluid">
|
|
<?php if (isset($component)) { $__componentOriginalccdba6e547dcecd7e60b4b3babc412f8 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.breadcumb','data' => ['title' => $title]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('dashboard.breadcumb'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8)): ?>
|
|
<?php $attributes = $__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8; ?>
|
|
<?php unset($__attributesOriginalccdba6e547dcecd7e60b4b3babc412f8); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalccdba6e547dcecd7e60b4b3babc412f8)): ?>
|
|
<?php $component = $__componentOriginalccdba6e547dcecd7e60b4b3babc412f8; ?>
|
|
<?php unset($__componentOriginalccdba6e547dcecd7e60b4b3babc412f8); ?>
|
|
<?php endif; ?>
|
|
<div class="card">
|
|
<div class="card-header align-items-center d-flex">
|
|
<h5 class="card-title flex-grow-1 mb-0"><?php echo e($title); ?></h5>
|
|
<div class="flex-shrink-0">
|
|
<a href="<?php echo e(route('slider.create')); ?>" class="btn waves-effect waves-light text-white"
|
|
style="background-color: var(--vz-primary)"><i class="ri-add-fill me-1 align-bottom"></i> Create</a>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
<?php
|
|
$columns = [
|
|
[
|
|
'title' => 'S.N',
|
|
'data' => 'DT_RowIndex',
|
|
'name' => 'DT_RowIndex',
|
|
'orderable' => false,
|
|
'searchable' => false,
|
|
],
|
|
['title' => 'Image(s)', 'data' => 'images', 'name' => 'images'],
|
|
['title' => 'Title', 'data' => 'title', 'name' => 'title'],
|
|
['title' => 'Status', 'data' => 'status', 'name' => 'status'],
|
|
['title' => 'Action', 'data' => 'action', 'orderable' => false, 'searchable' => false],
|
|
];
|
|
?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.data-table-script','data' => ['route' => route('slider.index'),'reorder' => route('slider.reorder'),'columns' => $columns]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('data-table-script'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['route' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('slider.index')),'reorder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('slider.reorder')),'columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23)): ?>
|
|
<?php $attributes = $__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23; ?>
|
|
<?php unset($__attributesOriginal2cf37a8168daf1eabb8080ae0c42ae23); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23)): ?>
|
|
<?php $component = $__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23; ?>
|
|
<?php unset($__componentOriginal2cf37a8168daf1eabb8080ae0c42ae23); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php $__env->stopSection(); ?>
|
|
|
|
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rohiniedu/public_html/Modules/CCMS/resources/views/slider/index.blade.php ENDPATH**/ ?>
|