<?php $__env->startSection('content'); ?>
<div id="content-page" class="content-page">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-12">
                <div class="iq-card">
                    <div class="iq-card-header d-flex justify-content-between">
                        <div class="iq-header-title">
                            <h4 class="card-title"><?php echo e(isset($pageTitle) ? ucwords($pageTitle) : trans('messages.list')); ?></h4>
                        </div>
                    </div>            
                    <div class="iq-card-body">
                        <ul class="nav nav-pills mb-3 nav-fill" id="tabs-text" role="tablist">
                            <?php if(auth()->check() && auth()->user()->hasAnyRole('admin|demo_admin')): ?>
                                <li class="nav-item">
                                    <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=general-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='general-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> General settings</a>
                                </li>
                                <li class="nav-item">
                                    <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=contact" data-target=".paste_here" class="nav-link <?php echo e($page=='contact'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> Contact Us </a>
                                </li>
                            <?php endif; ?>
                        
                            <li class="nav-item">
                                <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=profile_form" data-target=".paste_here" class="nav-link <?php echo e($page=='profile_form'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> Profile </a>
                            </li>
                            <li class="nav-item">
                                <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=password_form" data-target=".paste_here" class="nav-link <?php echo e($page=='password_form'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> Change Password </a>
                            </li>
                            <?php if(auth()->check() && auth()->user()->hasAnyRole('admin|demo_admin')): ?>
                                <li class="nav-item">
                                    <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=mail-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='mail-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> Mail Settings</a>
                                </li>
                                <!-- <li class="nav-item">
                                    <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=configuration" data-target=".paste_here" class="nav-link <?php echo e($page=='configuration'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> Configration</a>
                                </li> -->
                                <li class="nav-item">
                                    <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=social" data-target=".paste_here" class="nav-link <?php echo e($page=='social'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> Social</a>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </div>
                    <div class="tab-content" id="pills-tabContent-1">
                        <div class="tab-pane active p-4" >
                            <div class="paste_here"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('body_bottom'); ?>
<script type="text/javascript">
$(document).ready(function(event)
{
    var $this = $('.nav-item').find('a.active');
    loadurl = '<?php echo e(route('layout_page')); ?>?page=<?php echo e($page); ?>';
    targ = $this.attr('data-target');
    id = this.id || '';
    token="<?php echo e(csrf_token()); ?>";
    
    $.post(loadurl,function(data) {
        $(targ).html(data);
        token="<?php echo e(csrf_token()); ?>";
    });

    $this.tab('show');
    return false;
   
});



</script>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/Dashboard/laravel-dashboard/resources/views/setting/index.blade.php ENDPATH**/ ?>