<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo $__env->yieldContent('title'); ?> | Dashboard</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>" />
    <!-- Font Awesome -->
    <link rel="stylesheet" href="<?php echo e(asset('backend/plugins/fontawesome-free/css/all.min.css')); ?>">
    <!-- Ionicons -->
    <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <!-- overlayScrollbars -->
    <link rel="stylesheet" href="<?php echo e(asset('backend/dist/css/adminlte.min.css')); ?>">
    <!-- Google Font: Source Sans Pro -->
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css">
    <?php echo $__env->yieldContent('css'); ?>

</head>
<body class="hold-transition sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">
    <!-- Navbar -->
    <nav class="main-header navbar navbar-expand navbar-white navbar-light">
        <!-- Left navbar links -->
        <ul class="navbar-nav">
            <li class="nav-item">
                <a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
            </li>
            <li class="nav-item d-none d-sm-inline-block">
                <a href="<?php echo e(route('home')); ?>" class="nav-link"><i class="fa fa-home"></i> Home</a>
            </li>
            <li class="nav-item d-none d-sm-inline-block">
                <a href="<?php echo e(route('frontend.home.index')); ?>" target="_new" class="nav-link"><i class="fa fa-eye"></i> View Site</a>
            </li>
        </ul>

        <!-- SEARCH FORM -->

        <!-- Right navbar links -->
        <ul class="navbar-nav ml-auto">
            <!-- Messages Dropdown Menu -->

            <!-- Notifications Dropdown Menu -->
            <li class="nav-item dropdown">
                <a class="nav-link" data-toggle="dropdown" href="#">
                    <i class="fa fa-user"></i> Hi, <?php echo e(\Illuminate\Support\Facades\Auth::user()->name); ?>

                </a>
                <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                    <span class="dropdown-item dropdown-header">User : <?php echo e(\Illuminate\Support\Facades\Auth::user()->name); ?> </span>
                    <div class="dropdown-divider"></div>
                    <a href="<?php echo e(route('backend.user.passwordForm')); ?>" class="dropdown-item">
                        <i class="fa fa-pen"></i> &nbsp; Update Password
                    </a>
                    <div class="dropdown-divider"></div>
                    <a href="<?php echo e(route('logout')); ?>"
                       onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();" class="dropdown-item dropdown-footer"><i class="fa fa-sign-out-alt"></i> Logout</a>
                    <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                        <?php echo csrf_field(); ?>
                    </form>
                </div>
            </li>
        </ul>
    </nav>
    <!-- /.navbar -->

    <!-- Main Sidebar Container -->
    <aside class="main-sidebar sidebar-dark-primary elevation-4">
        <!-- Brand Logo -->
        <a href="<?php echo e(route('home')); ?>" class="brand-link">
            <img src="<?php echo e(asset('images/configuration/' . $configuration->logo)); ?>"
                 alt="<?php echo e($configuration->title); ?>"
                 class=""
                 style="opacity: .8">
            <span class="brand-text font-weight-light"><?php echo e($configuration->title); ?></span>
        </a>

        <!-- Sidebar -->
        <div class="sidebar">
            <!-- Sidebar user (optional) -->
            <div class="user-panel mt-3 pb-3 mb-3 d-flex">
                <div class="image">
                    <img src="<?php echo e(asset('backend/dist/img/user2-160x160.jpg')); ?>" class="img-circle elevation-2" alt="<?php echo e(\Illuminate\Support\Facades\Auth::user()->name); ?>">
                </div>
                <div class="info">
                    <a href="#" class="d-block"><?php echo e(\Illuminate\Support\Facades\Auth::user()->name); ?></a>
                </div>
            </div>

            <!-- Sidebar Menu -->
            <nav class="mt-2">
                <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                    <!-- Add icons to the links using the .nav-icon class
                         with font-awesome or any other icon font library -->
                    <li class="nav-item has-treeview">
                      <a href="<?php echo e(route('backend.popup.index')); ?>" class="nav-link">
                        <i class="fa fa-images"></i>
                        <p>
                            &nbsp; Popup Management
                            <i class="right fas fa-angle-left"></i>
                        </p>
                     </a>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="<?php echo e(route('backend.slider.index')); ?>" class="nav-link">
                            <i class="fa fa-images"></i>
                            <p>
                                &nbsp; Slider Management
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="<?php echo e(route('backend.slider.index')); ?>" class="nav-link">
                            <i class="fas fa-university"></i>
                            <p>
                                &nbsp; About Canvas
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                          <ul class="nav nav-treeview">
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.about.index')); ?>" class="nav-link">
                                    <i class="fas fa-home"></i>
                                    <p> &nbsp;About Canvas</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.director.index')); ?>" class="nav-link">
                                    <i class="fas fa-user-friends"></i>
                                    <p> &nbsp;Board Of Directors</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.team.index')); ?>" class="nav-link">
                                    <i class="fas fa-user-friends"></i>
                                    <p> &nbsp;Management Team</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.message.index')); ?>" class="nav-link">
                                    <i class="far fa-envelope"></i>
                                    <p> &nbsp;Principal Message</p>
                                </a>
                            </li> 
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.member.index')); ?>" class="nav-link">
                                    <i class="fas fa-user-friends"></i>
                                    <p> &nbsp;Faculty Members</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.canvas.index')); ?>" class="nav-link">
                                    <i class="fas fa-question-circle"></i>
                                    <p> &nbsp;Why Canvas ?</p>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="" class="nav-link">
                            <i class="fas fa-graduation-cap"></i>
                            <p>
                                &nbsp; Academic Program
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                        <ul class = "nav nav-treeview">
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.program.index')); ?>" class="nav-link">
                                    <i class="fas fa-bookmark"></i>
                                    <p> &nbsp;Program</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.course.index')); ?>" class="nav-link">
                                    <i class="fas fa-book-open"></i>
                                    <p> &nbsp;Course</p>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="" class="nav-link">
                            <i class="fas fa-layer-group"></i>
                            <p>
                                &nbsp; Student Corner
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                        <ul class = "nav nav-treeview">
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.testimonial.index')); ?>" class="nav-link">
                                    <i class="fas fa-microphone-alt"></i>
                                    <p> &nbsp;Student Speak</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.alumni.index')); ?>" class="nav-link">
                                    <i class="fas fa-smile"></i>
                                    <p> &nbsp;Alumni Corner</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.canvasLife.index')); ?>" class="nav-link">
                                    <i class="fas fa-child"></i>
                                    <p> &nbsp;Life At Canvas</p>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="" class="nav-link">
                            <i class="fas fa-photo-video"></i>
                            <p>
                                &nbsp; Media Center
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                        <ul class = "nav nav-treeview">
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.notice.index')); ?>" class="nav-link">
                                    <i class="fas fa-exclamation-triangle"></i>
                                    <p> &nbsp;Notice & Announcement</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.gallery.index')); ?>" class="nav-link">
                                    <i class="fas fa-camera"></i>
                                    <p> &nbsp;Gallery</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.event.index')); ?>" class="nav-link">
                                    <i class="fas fa-calendar-alt"></i>
                                    <p> &nbsp;College Events</p>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="" class="nav-link">
                            <i class="fas fa-warehouse"></i>
                            <p>
                                &nbsp; Resource
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                        <ul class = "nav nav-treeview">
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.scholarship.index')); ?>" class="nav-link">
                                    <i class="fas fa-percent"></i>
                                    <p> &nbsp;Scholarship Schemes</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.syllabus.index')); ?>" class="nav-link">
                                    <i class="fas fa-book"></i>
                                    <p> &nbsp;Syllabus</p>
                                </a>
                            </li>
                            <li class="nav-item">
                                <a href="<?php echo e(route('backend.hour.index')); ?>" class="nav-link">
                                    <i class="fas fa-book-reader"></i>
                                    <p> &nbsp;College Hour</p>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="<?php echo e(route('backend.counter.index')); ?>" class="nav-link">
                            <i class="fa fa-cog" aria-hidden="true"></i>
                            <p>
                                &nbsp; Counter
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="<?php echo e(route('backend.configuration.index')); ?>" class="nav-link">
                            <i class="fa fa-cog" aria-hidden="true"></i>
                            <p>
                                &nbsp; Site Configuration
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>
                    <li class="nav-item has-treeview">
                        <a href="<?php echo e(route('backend.contact.index')); ?>" class="nav-link">
                            <i class="fa fa-user"></i>
                            <p>
                                &nbsp; Email Management
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>
                    <?php ($userRole = \Illuminate\Support\Facades\Auth::user()->role); ?>
                    <?php if($userRole == 'administrator'): ?>
                    <li class="nav-item has-treeview">
                        <a href="<?php echo e(route('backend.user.index')); ?>" class="nav-link">
                            <i class="fa fa-user"></i>
                            <p>
                                &nbsp; User Management
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>
                    <?php endif; ?>
                    <li class="nav-item has-treeview">
                        <a href=""
                           onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();" class="nav-link">
                            <i class="fa fa-sign-out-alt"></i>
                            <p>
                                &nbsp;Logout
                            </p>
                        </a>
                        <form id="logout-form" action="" method="POST" style="display: none;">
                            <?php echo csrf_field(); ?>
                        </form>
                    </li>
                </ul>
            </nav>
            <!-- /.sidebar-menu -->
        </div>
        <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
       <?php echo $__env->yieldContent('content'); ?>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer">
        <div class="float-right d-none d-sm-block">
            <b>Powered by </b> <a href="https://grafiastech.com/" target="_new">Grafias Technology</a>
        </div>
        <strong>Copyright &copy; <?php echo e(date('Y')); ?> <a href="<?php echo e(route('frontend.home.index')); ?>"> <?php echo e($configuration->title); ?></a>.</strong> All rights
        reserved.
    </footer>

    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
        <!-- Control sidebar content goes here -->
    </aside>
    <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->

<!-- jQuery -->
<script src="<?php echo e(asset('backend/plugins/jquery/jquery.min.js')); ?>"></script>
<!-- Bootstrap 4 -->
<script src="<?php echo e(asset('backend/plugins/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script>
<!-- AdminLTE App -->
<script src="<?php echo e(asset('backend/dist/js/adminlte.min.js')); ?>"></script>
<!-- AdminLTE for demo purposes -->
<script src="<?php echo e(asset('backend/dist/js/demo.js')); ?>"></script>
<script src="https://cdn.ckeditor.com/4.13.1/standard/ckeditor.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<?php echo $__env->yieldContent('js'); ?>
<script>
    $(document).ready(function() {
    $("#title").keyup(function(){
        var Text = $(this).val();
        Text = Text.toLowerCase();
        Text = Text.replace(/[^a-zA-Z0-9]+/g,'-');
        $("#slug").val(Text);
    });
        $('#table').DataTable();
    } );
    var options = {
        filebrowserImageBrowseUrl: '/laravel-filemanager?type=Images',
        filebrowserImageUploadUrl: '/laravel-filemanager/upload?type=Images&_token=',
        filebrowserBrowseUrl: '/laravel-filemanager?type=Files',
        filebrowserUploadUrl: '/laravel-filemanager/upload?type=Files&_token='
    };

    CKEDITOR.replace('short_description', options);
    CKEDITOR.replace('description', options);
    CKEDITOR.replace('structure', options);
    CKEDITOR.replace('eligibility', options);


</script>
<script src="<?php echo e(asset('js/config.js')); ?>"></script>
<script type="text/javascript">
    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });
</script>
</body>
</html>
<?php /**PATH /home/canvascollegeedu/public_html/resources/views/layouts/backend.blade.php ENDPATH**/ ?>