|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/account.appointkrypt.com/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('page-title'); ?>
<?php echo e(__('Settings')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page-breadcrumb'); ?>
<?php echo e(__('Settings')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('css'); ?>
<link href="<?php echo e(asset('assets/js/plugins/summernote-0.8.18-dist/summernote-lite.min.css')); ?>" rel="stylesheet">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="row">
<!-- [ sample-page ] start -->
<div class="col-sm-12">
<div class="row">
<div class="col-xl-3">
<div class="card sticky-top setting-sidebar top-card">
<div class="list-group list-group-flush" id="useradd-sidenav">
<?php echo getSettingMenu(); ?>
</div>
</div>
</div>
<div class="col-xl-9 setting-menu-div">
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script src="<?php echo e(asset('assets/js/plugins/summernote-0.8.18-dist/summernote-lite.min.js')); ?>"></script>
<script>
$(document).ready(function() {
getSettingSection('Base');
});
$(document).on("click", ".setting-menu-nav", function() {
var module = $(this).attr('data-module');
getSettingSection(module);
});
function getSettingSection(module,method = null) {
$.ajax({
url: '<?php echo e(url("setting/section")); ?>' + '/' + module,
type: 'get',
beforeSend: function() {
$(".loader-wrapper").removeClass('d-none');
},
success: function(data) {
$(".loader-wrapper").addClass('d-none');
if (data.status == 200) {
$('.setting-menu-div').empty();;
$('.setting-menu-div').append(data.html);
} else {
// error code
}
},
error: function(xhr) {
$(".loader-wrapper").addClass('d-none');
toastrs('Error', xhr.responseJSON.error, 'error');
}
});
}
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/account.appointkrypt.com/resources/views/settings/index.blade.php ENDPATH**/ ?>