<?php $__env->startSection('additional-css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main-content'); ?>
    <?php echo $__env->make('backend.home.site-banner.partials.add', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php echo $__env->make('backend.home.site-banner.partials.view', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <div class="pc-container">
        <div class="pc-content">
            <!-- [ breadcrumb ] start -->
            <div class="page-header">
                <div class="page-block">
                    <div class="row align-items-center">
                        <div class="col-md-12">
                            <ul class="breadcrumb">
                                <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>">Home</a></li>
                                <li class="breadcrumb-item" aria-current="page"><?php echo e(@$title); ?></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12">
                    <div class="card">
                        <div class="card-header">
                            <div class="d-flex justify-content-between">
                                <h2 class="mb-0"><?php echo e(@$title); ?></h2>
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('create.siteBanner')): ?>
                                    <div class="text-end">
                                        <a href="#" class="btn btn-primary d-inline-flex align-item-center"
                                           data-bs-toggle="modal" data-bs-target="#addModal">
                                            <i class="ti ti-plus f-18"></i> Add <?php echo e($title); ?>

                                        </a>
                                    </div>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="card-body">
                             <div class="dt-responsive table-responsive position-relative">
                                <table id="master-table" class="display table table-hover "
                                       style="width: 100%">
                                    <thead>
                                    <tr style="">
                                        <th>S.N</th>
                                        <th>Site Page</th>
                                        <th>Display Name</th>
                                        <th>Banner Image</th>
                                        <th>Status</th>
                                        <th>Created Date</th>
                                        <th>Actions</th>
                                    </tr>
                                    </thead>
                                    <tbody id="tablecontents">
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('additional-js'); ?>
    <script src="<?php echo e(asset('vendor/laravel-filemanager/js/stand-alone-button.js')); ?>"></script>
    <script>
        var route_prefix = "<?php echo e(url('/laravel-filemanager')); ?>";
        $('.lfm').filemanager('image', {prefix: route_prefix});
    </script>
    <script src="<?php echo e(asset('assets/admin/js/plugins/sweetalert2.all.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/custom/js/backend/home/site-banner.js')); ?>"></script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layout.admin.master-layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/sanjay/docroot/golcha.sq18.com.np/resources/views/backend/home/site-banner/index.blade.php ENDPATH**/ ?>