
<?php $__env->startSection('content'); ?>
<div class='bg-white p-2 rounded m-2'>
    <div class="row justify-content-between p-1 rounded m-2 bg-light">
        <div class="col-12 col-md-6 align-self-center">
            <a class='text-decoration-none fw-bold theme_link_color' href="<?php echo e(url('/home')); ?>"><?php echo e(trans('admin.Home')); ?>  </a> <span class="bi bi-caret-right-fill theme_text_color"></span>
            <a class='text-decoration-none fw-bold theme_link_color' href="<?php echo e(url('/themes')); ?>"><?php echo e(trans('admin.themes')); ?>  </a> <span class="bi bi-caret-right theme_text_color"></span>
            <span class='text-decoration-none fw-bold theme_text_color' ><?php echo e(trans('admin.front_end')); ?></span>
        </div>
        <div class="col-12 col-md-6 d-flex justify-content-end ">
            <div class="row">
                <div class="col-md-2 mt-md-0 mt-2 text-md-end text-start">
                    <div class="dropdown px-2">
                        <a class="bi bi-three-dots-vertical fs-3 text-white bg-warning admin_css_dot d-flex justify-content-center align-items-center" href="#" id="dropdownMenuLink" data-bs-toggle="dropdown" aria-expanded="false">
                        </a>
                        <ul class=" dropdown-menu" aria-labelledby="dropdownMenuLink">
                            <li>
                            <a href="#" class="dropdown-item" onclick="jQuery('.table-border').print()"><i class="bi-printer mx-2"></i>
                            <?php echo e(__('admin.print')); ?></a>
                            </li>
                            <li>
                            <a class="dropdown-item" href="#" onclick="exportTable('table-border', 'pdf', '<?php echo e(trans('frontend')); ?> <?= date('Y-m-d h:i:s') ?>')">
                            <i class="bi bi-file-earmark-pdf  mx-2"></i>
                            <?php echo e(__('admin.PDF')); ?></a></li>
                            <li>
                            <a class="dropdown-item" href="#" onclick="exportTable('table-border', 'csv', '<?php echo e(trans('frontend')); ?> <?= date('Y-m-d h:i:s') ?>')">
                            <i class="bi bi-file-spreadsheet  mx-2"></i>
                            <?php echo e(__('admin.excel_csv')); ?> </a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row justify-content-center">
        <div class="col-lg-12">
            <div class='table-responsive w-100 p-2'>
                <table class='table table-border'>
                    <thead>
                        <tr class='tex-g'>
                            <th><?php echo e(trans('admin.sections')); ?></th>
                            <th class="text-end"><?php echo e(trans('admin.status')); ?></th>
                            <th class='text-end no-print'><?php echo e(trans('admin.actions')); ?></th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key  => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td class="text-capitalize">
                                <?php echo e(trans('admin.'.$key)); ?>

                            </td>
                            <input type="hidden" name="section" value="<?php echo e($key); ?>">
                            <td class='text-end'>
                                <label class="switch">
                                    <input type="checkbox" name="hide" id="hide" value="<?php echo e(($data[$key]['hide'])); ?>" data-section="<?php echo e($key); ?>" <?php echo e(($data[$key]['hide'] == true) ? "checked" : ""); ?>>
                                    <div class="slider round">
                                        <!-- ADDED HTML -->
                                        <span class="on"><?php echo e(trans('admin.on')); ?></span>
                                        <span class="off"><?php echo e(trans('admin.off')); ?></span>
                                    </div>
                                </label>
                            </td>
                            <td class='text-end no-print'>
                                <span class='px-2'>
                                    <a class='text-decoration-none px-1' href="<?php echo e(url('/frontend/section').'/'.Crypt::encrypt($key)); ?>">
                                        <span class="edit_icon">
                                            <i class="bi bi-pen"></i>
                                        </span>
                                        <span class='px-1 e-text'><?php echo e(trans('admin.edit')); ?></span>
                                    </a>
                                </span>

                            </td>

                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </tbody>
                </table>
            </div>
        </div>
    </div>

</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('custom-js'); ?>
<?php echo $__env->make('admin.frontend.frontendJS', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\HomesteadStuff\code\manage_sarfapp\resources\views/admin/frontend/homepage.blade.php ENDPATH**/ ?>