Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/demo.cartinsight.co/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/demo.cartinsight.co/storage/framework/views/ed8ee56a3eddb770c77bc3862a53b97f.php
<?php $__env->startSection('title', $title); ?>

<?php $__env->startSection('content_header'); ?>
    <?php $__env->startComponent('components.content_header'); ?>
        <?php $__env->slot('page_title'); ?>
            <?php echo e($title); ?>

        <?php $__env->endSlot(); ?>
        <?php $__env->slot('breadcrumb'); ?>
            <?php echo e(Breadcrumbs::render('settings')); ?>

        <?php $__env->endSlot(); ?>
    <?php echo $__env->renderComponent(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('actions'); ?>
    <?php echo $__env->make('components.button_group', ['class'=>'btn btn-success','actions'=>$actions,'label'=>trans('Corals::labels.create')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-md-12">
            <?php $__env->startComponent('components.box'); ?>
                <ul id="tabs" class="nav nav-tabs">
                    <?php $__currentLoopData = $settingsCategorized; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category => $settings): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li class="nav-item <?php echo e($loop->first? 'active' : ''); ?>">
                            <a href="#<?php echo e(\Str::slug($category)); ?>" aria-expanded="true"
                               class="<?php echo e($loop->first ? 'active':''); ?> nav-link"
                               data-toggle="tab"><?php echo e($category); ?>

                            </a>
                        </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
                <div class="tab-content">
                    <?php $__currentLoopData = $settingsCategorized; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category => $settings): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="tab-pane <?php echo e($loop->first? 'active' : ''); ?>" id="<?php echo e(\Str::slug($category)); ?>">
                            <table class="table color-table info-table table table-hover table-striped table-condensed settings-table">
                                <thead>
                                <tr>
                                    <th><?php echo app('translator')->get('Settings::labels.settings.label'); ?></th>
                                    <th><?php echo app('translator')->get('Settings::labels.settings.value'); ?></th>
                                    <th><?php echo app('translator')->get('Corals::attributes.updated_at'); ?></th>
                                    <th><?php echo app('translator')->get('Corals::labels.action'); ?></th>
                                </tr>
                                </thead>
                                <tbody class="settings-table-body">
                                <?php $__currentLoopData = \Settings::getSortedSettings($settings); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $setting): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr id="<?php echo e($setting->hashed_id); ?>" data-hashed-id=<?php echo e($setting->hashed_id); ?>>
                                        <td><?php echo e($setting->present('label')); ?></td>
                                        <td style="max-width: 500px;"><?php echo $setting->present('value'); ?></td>
                                        <td><?php echo e($setting->present('updated_at')); ?></td>
                                        <td><?php echo $setting->present('action'); ?></td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            <?php echo $__env->renderComponent(); ?>
        </div>
    </div>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('js'); ?>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/TableDnD/1.0.5/jquery.tablednd.min.js"></script>

    <script type="text/javascript">
        $(document).ready(function () {
            $(".settings-table").tableDnD({
                onDrop: function () {
                    let orderedSettings = [];

                    let row = $('.settings-table tbody').find('tr');

                    row.each(function (index, item) {
                        orderedSettings.push({
                            display_order: index,
                            id: $(item).data('hashed-id')
                        })
                    });

                    $.post(`<?php echo e(url('settings/update-settings-order')); ?>`, {
                        'orderedSettings': orderedSettings
                    }).done(function (response) {
                        themeNotify(response);
                    }).fail(function (response, textStatus, jqXHR) {
                        handleAjaxSubmitError(response, textStatus, jqXHR, $(targetEl));
                    });
                },
            });
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/demo.cartinsight.co/Corals/core/Settings/resources/views/settings/index.blade.php ENDPATH**/ ?>

Spamworldpro Mini