

<?php $__env->startSection('container_content'); ?>
    <?php echo $__env->make('admin.layouts.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


    <!-- ------------ top nav ------------- -->
        <section class="top-nav py-4">
            <div class="container">
                <div class="toggelmenu">
                    <span></span>
                    <span></span>
                    <span></span>
                    <i class="fas fa-arrow-right"></i>
                </div>
                <!-- <a href="#" class="butn">
                    <span> مشاهده الموقع </span>
                </a> -->
                <a href="<?php echo e(route('admin_logout')); ?>" class="butn butn_blue" onclick="event.preventDefault();document.getElementById('logout-form').submit();">
                    <div class="cont">
                        <span>  <?php echo e(__('dashboard.logout')); ?> </span>
                    </div>
                    <img src="<?php echo e(asset('assets/admin/images/butn_shap.png')); ?> " alt="" class="shape">
                </a>
            </div>
        </section>

    <!--<section class="top-nav">-->
    <!--    <div class="row">-->
    <!--        <div class="col-lg-5">-->
    <!--            <div class="title py-4">-->
    <!--                <h3><?php echo e($title ?? __('dashboard.title')); ?></h3>-->

    <!--            </div>-->
    <!--        </div>-->
            <!-- <div class="col-lg-4">
    <!--            <div class="search-bar">-->
    <!--                <form>-->
    <!--                    <div class="form-group">-->
    <!--                        <input class="form-control" type="text" placeholder="search">-->
    <!--                        <button><i class="fas fa-search"></i></button>-->
    <!--                    </div>-->
    <!--                </form>-->
    <!--            </div>-->
    <!--        </div> -->-->
    <!--        <div class="col-lg-3">-->
                <!--<ul class="notivacations m-0">-->
                <!--    <li class="items notivacat">-->
                <!--        <div class="icon">-->
                <!--            <i class="far fa-bell"></i>-->
                <!--            <span class="num">-->
                <!--                1-->
                <!--            </span>-->
                <!--        </div>-->
                <!--    </li>-->
                <!--</ul>-->
    <!--        </div>-->
    <!--        <div class="col-lg-4">-->
                <!--<div class="profile-nav">-->
                <!--    <div class="info w-50">-->
                        <!--<h5><?php echo e($currentUserInfo->name ?? ''); ?></h5>-->
                <!--    </div>-->
                <!--    <div class="user-img dropdown show mr-3">-->
                <!--        <a href="#" class="dropdown-toggle" role="button" id="dropdownMenuLink" data-toggle="dropdown">-->
                <!--            <img src="<?php echo e(asset($currentUserInfo->photo)); ?>" alt="">-->
                <!--        </a>-->
                <!--        <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">-->
                <!--            <div class="pic text-center">-->
                <!--                <img src="<?php echo e(asset($currentUserInfo->photo)); ?>" alt="">-->
                <!--                <h5><?php echo e($currentUserInfo->name ?? ''); ?></h5>-->
                <!--            </div>-->
                            <!-- <a class="dropdown-item" href="#"><i class="far fa-user"></i> my profile</a> -->
                <!--            -->
                <!--            <a class="dropdown-item" href="<?php echo e(route('admin_logout')); ?>"-->
                <!--               onclick="event.preventDefault();document.getElementById('logout-form').submit();"><i class="fas fa-sign-out-alt"></i> <?php echo e(__('dashboard.logout')); ?>-->
                <!--            </a>-->

                <!--        </div>-->
                <!--    </div>-->
                <!--</div>-->
             
    <!--        </div>-->
    <!--    </div>-->
    <!--    <div class="toggelmenu">-->
    <!--        <span></span>-->
    <!--        <span></span>-->
    <!--        <span></span>-->
    <!--        <i class="fas fa-arrow-right"></i>-->
    <!--    </div>-->
    <!--</section>-->

    <form id="logout-form" action="<?php echo e(route('admin_logout')); ?>" method="POST" style="display: none;">
        <?php echo csrf_field(); ?>
    </form>
    <!--Contents-->
    <main class="main">
        <div id="errors">
            <?php if(count($errors)): ?>
                <div class="alert alert-danger">
                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li>
                            <?php echo e($error); ?>

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

        <?php if(session('message')): ?>
            <div class="alert alert-success message_alert"><?php echo e(session('message')); ?></div>
        <?php endif; ?>

        <?php if(session('error_message')): ?>
            <div class="alert alert-danger message_alert"><?php echo e(session('error_message')); ?></div>
        <?php endif; ?>

        
    <!-- Response of ajax requests -->
        <div class="alert alert-danger ajaxErrorResponse" style="display: none"></div>
        <div class="alert alert-success ajaxResponse" style="display: none"></div>

        <?php echo $__env->yieldContent('content'); ?>
    </main>

    <!--Footer-->
    <footer class="">
        <div class="loading hide">
            <div class="loader"></div>
        </div>
    </footer>
    <!--End-Footer-->
    <!-- -------------- request ----------------- -->
    <!-- <a class="to-top" data-scroll href="#bazinga" id="scroll-btn">
        <i class="fa fa-arrow-up"></i>
    </a> -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('container_js'); ?>
    
    <script src="<?php echo e(asset('assets/admin/js/lib/axios.min.js')); ?>"></script>

    <script>
        axios.defaults.headers.common = {
            'X-Requested-With': 'XMLHttpRequest',
            'X-CSRF-TOKEN' : document.querySelector('meta[name="csrf-token"]').getAttribute('content')
        };
        var allOptionLabel= '<?php echo e(__("main.all")); ?>'
        var mainOptionLabel= '<?php echo e(__("main.main")); ?>'
        
    </script>
    <?php echo $__env->yieldContent('inner_js'); ?>
    <script src="<?php echo e(asset('assets/admin/js/actions.js')); ?>"></script>
    
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/electric/resources/views/admin/layouts/container.blade.php ENDPATH**/ ?>