<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><?php echo e(config('app.name')); ?></title>

    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <link rel="icon" href="<?php echo e(asset('storage/app/public/logo-mini.png')); ?>" type="image/x-icon">

    <!-- Bootstrap WYSIHTML5 -->
    <link rel="stylesheet" href="<?php echo e(url('/public/css/admin/bootstrap3-wysihtml5.min.css')); ?>">


    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

    <!-- Ionicons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">

    <!-- Theme style -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.2/css/AdminLTE.min.css">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.2/css/skins/_all-skins.min.css">

    <!-- iCheck -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/iCheck/1.0.2/skins/square/_all.css">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css">

    <!-- Ionicons -->
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <link rel="stylesheet"
          href="https://cdnjs.cloudflare.com/ajax/libs/select2-bootstrap-theme/0.1.0-beta.10/select2-bootstrap.min.css">
    <!-- Bootstrap Toggle Switch -->
    <link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css" rel="stylesheet">

    <link href="https://cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.css" rel="stylesheet">

    <!-- Custom Admin CSS -->
    <link href="<?php echo e(url('public/css/admin/custom.css')); ?>" rel="stylesheet">

    
    <?php echo $__env->yieldPushContent('css'); ?>

    
    <link rel="manifest" href="<?php echo e(asset('manifest.json')); ?>">

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
    <style>
        body{
            font-family: "Poppins", sans-serif !Important;
        }
    </style>

    <!-- The core Firebase JS SDK is always required and must be listed first -->
    <script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-app.js"></script>
    <script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-messaging.js"></script>

    <!-- TODO: Add SDKs for Firebase products that you want to use
         https://firebase.google.com/docs/web/setup#available-libraries -->
    <script src="https://www.gstatic.com/firebasejs/7.3.0/firebase-analytics.js"></script>
    <script src="<?php echo e(asset('main.js')); ?>"></script>
    <script>
        function sendTokenToServer(currentToken) {
            if ("<?php echo e(\Auth::check()); ?>" == "1") {
                var url = "<?php echo e(URL::to('add-user-device')); ?>";
                var form_data = new FormData();
                form_data.append('device_type', 'web');
                form_data.append('device_token', currentToken);
                ajaxPost(url, form_data, (status, data) => {
                    if (status) {
                        localStorage.setItem('device-token', currentToken)
                    } else {
                    }
                })
            }

        }
    </script>
</head>
<style>
    .skin-blue .sidebar a {
        color: #000 !important;
    }
    .sidebar-menu>li.active>a, .sidebar-menu>li>a:hover {
        color: #fff !important;
        background: #fff3 !important;
        border-left-color: transparent !important;
    }

    .skin-blue .sidebar li>a {
        color: #fff !important;
    }
</style>
<body class="skin-blue sidebar-mini">
<?php if(!Auth::guest()): ?>
    <div class="wrapper">
        <!-- Main Header -->
        <header class="main-header">
            <!-- Logo -->
            <a href="<?php echo e(url('/admin/home')); ?>" class="logo">
                <span class="logo-mini">
                    <img src="https://techsolit.com/assets/img/techsol-fav.webp" style="width: 40px; height: 40px;">
                </span>
                <!-- logo for regular state and mobile devices -->
                <span class="logo-lg">

                    <img src="https://techsolit.com/assets/img/logo-techsol.webp" style="width: 100%; filter: invert() brightness(5)">
                </span>
            </a>
            <!-- Header Navbar -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
           </a>
            <!-- Navbar Right Menu -->
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">
                        <li class="dropdown notifications-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
                            <i class="fa fa-calendar">Month</i>
                            <span class="label label-warning notification-counter"></span>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="<?php echo e(url("admin/home?month=01")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Jan
                                    </a>
                                </li>
                                <li>
                                    <a href="<?php echo e(url("admin/home?month=02")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        feb
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=03")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Mar
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=04")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Apr
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=05")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        May
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=06")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Jun
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=07")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Jly
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=08")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Aug
                                    </a>
                                </li><li>
                                    <a href="<?php echo e(url("admin/home?month=09")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Sep
                                    </a>
                                </li>
                                <li>
                                    <a href="<?php echo e(url("admin/home?month=10")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Oct
                                    </a>
                                </li>
                                <li>
                                    <a href="<?php echo e(url("admin/home?month=11")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Nov
                                    </a>
                                </li>
                                <li>
                                    <a href="<?php echo e(url("admin/home?month=12")); ?>">
                                        <i class="fa fa-calendar text-red"></i>
                                        Dec
                                    </a>
                                </li>
                                <li>
                                    <!-- inner menu: contains the actual data -->
                                    <ul class="menu">
                                        <?php $__currentLoopData = \Auth::user()->notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <li>
                                                <a href="<?php echo e(url("admin/".\App\Models\Notification::$ACTION_TYPES[$notification->data['action_type']]."/".$notification->data['ref_id'])); ?>">
                                                    <i class="fa fa-bell-o text-red"></i>
                                                    <?php echo e($notification->data['message']); ?>

                                                </a>
                                            </li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </ul>
                                </li>
                                <li class="footer"><a href="<?php echo e(url("admin/notifications")); ?>">View all</a></li>
                            </ul>
                        </li>
















































































                        <!-- User Account Menu -->
                        <li class="dropdown user user-menu">
                            <!-- Menu Toggle Button -->
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <!-- The user image in the navbar-->
                                <img src="<?php echo e(Auth::user()->details->image_url); ?>" class="user-image" alt="User Image"/>
                                <!-- hidden-xs hides the username on small devices so only the image appears. -->
                                <span class="hidden-xs"><?php echo Auth::user()->name; ?></span>
                            </a>
                            <ul class="dropdown-menu">
                                <!-- The user image in the menu -->
                                <li class="user-header">
                                    <img src="<?php echo e(Auth::user()->details->image_url); ?>" class="user-image"
                                         alt="User Image"/>
                                    <p>
                                        <?php echo Auth::user()->name; ?>

                                        <small>Member since <?php echo Auth::user()->created_at->format('M. Y'); ?></small>
                                    </p>
                                </li>
                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="<?php echo e(route('admin.users.profile')); ?>"
                                           class="btn btn-default btn-flat">Profile</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="<?php echo url('/admin/logout'); ?>" class="btn btn-default btn-flat"
                                           onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                                            Sign out
                                        </a>

                                        <form id="logout-form" action="<?php echo e(url('/admin/logout')); ?>" method="POST"
                                              style="display: none;">
                                            <?php echo e(csrf_field()); ?>

                                        </form>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>

        <!-- Left side column. contains the logo and sidebar -->
    <?php echo $__env->make('admin.layouts.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <section class="content-header clearfix" style="min-height:40px">
                <h1 class="pull-left"><?php echo $__env->yieldContent('title'); ?></h1>
                <?php echo e(Breadcrumbs::render(Route::currentRouteName())); ?>

            </section>
            <?php echo $__env->yieldContent('content'); ?>
        </div>
        <!-- Main Footer -->
        <footer class="main-footer" style="max-height: 100px;text-align: center">
            <strong>Copyright © <?php echo e(date('Y')); ?> <a href="#"><?php echo e(config('app.name')); ?></a>.</strong> All rights
            reserved V2.2.12.
        </footer>
    </div>
<?php else: ?>
    <nav class="navbar navbar-default navbar-static-top">
        <div class="container">
            <div class="navbar-header">
                <!-- Collapsed Hamburger -->
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#app-navbar-collapse">
                    <span class="sr-only">Toggle Navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <!-- Branding Image -->
                <a class="navbar-brand" href="<?php echo url('/admin/'); ?>">
                    <?php echo e(config('app.name')); ?>

                </a>
            </div>
            <div class="collapse navbar-collapse" id="app-navbar-collapse">
                <!-- Left Side Of Navbar -->
                <ul class="nav navbar-nav">
                    <li><a href="<?php echo url('/admin/home'); ?>">Home</a></li>
                </ul>
                <!-- Right Side Of Navbar -->
                <ul class="nav navbar-nav navbar-right">
                    <!-- Authentication Links -->
                    <li><a href="<?php echo url('/admin/login'); ?>">Login</a></li>
                    <li><a href="<?php echo url('/admin/register'); ?>">Register</a></li>
                </ul>
            </div>
        </div>
    </nav>
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12">
                    <?php echo $__env->yieldContent('content'); ?>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>

<!-- jQuery 3.1.1 -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!--  Bootstrap Toogle switch-->
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>

<!-- AdminLTE App -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.4.2/js/adminlte.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/iCheck/1.0.2/icheck.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js"></script>
<!-- SweetAlert -->
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>

<!-- Morris JS -->
<script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js"></script>

<!-- Bootstrap WYSIHTML5 -->
<script src="<?php echo e(url('/public/js/admin/bootstrap3-wysihtml5.all.min.js')); ?>"></script>


<?php echo $__env->yieldPushContent('scripts'); ?>
<script src="<?php echo e(url('public/js/admin/custom.js')); ?>"></script>
<script>
    $(document).ready(function () {
        $("#mark-read").on('click', function (e) {
            e.preventDefault();
            <?php echo e(\Auth::user()->unreadNotifications->markAsRead()); ?>

            $(".notification-counter").html(0);
        });
    });
</script>
<script>
    $(document).ready(function() {
        // Function to handle the show phone button click
        $(document).on('click', '.show-phone-btn', function() {
            var phone = $(this).data('phone');
            alert('Phone number: ' + phone);
        });
    });
</script>

</body>
</html><?php /**PATH C:\laragon\www\student-area\resources\views/admin/layouts/app.blade.php ENDPATH**/ ?>