<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
        <title> The Educators Academy</title>
        <meta content="The Educators Academy" name=" The Educators Academy" />
        <meta content=" The Educators Academy" name=" The Educators Academy" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />

        <!-- App Icons -->
        <link rel="shortcut icon" href="<?php echo e(asset('assets/admin/images/favicon.png')); ?>">

        <!--Morris Chart CSS -->
        <link rel="stylesheet" href="<?php echo e(asset('assets/admin/plugins/morris/morris.css')); ?>">

        <!-- Basic Css files -->
        <link href="<?php echo e(asset('assets/admin/css/bootstrap.min.css')); ?>" rel="stylesheet" type="text/css">
        <link href="<?php echo e(asset('assets/admin/css/metismenu.min.css')); ?>" rel="stylesheet" type="text/css">
        <link href="<?php echo e(asset('assets/admin/css/icons.css')); ?>" rel="stylesheet" type="text/css">
        <link href="<?php echo e(asset('assets/admin/css/style.css')); ?>" rel="stylesheet" type="text/css">

    <?php echo $__env->yieldContent('styles'); ?>
</head>
<body class="fixed-left">
  <!-- Loader -->
<div id="preloader"><div id="status"><div class="spinner"></div></div></div>

<!-- Begin page -->
<div id="wrapper">
<?php if(Auth::User()->hasRole('Admin')): ?>
<?php echo $__env->make('includes.adminHeader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php if(Auth::User()->hasRole('Student')): ?>
<?php echo $__env->make('includes.studentHeader', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php echo $__env->yieldContent('content'); ?>
</div>
<!-- END wrapper -->


        <!-- jQuery  -->
        <script src="<?php echo e(asset('assets/admin/js/jquery.min.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/admin/js/bootstrap.bundle.min.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/admin/js/modernizr.min.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/admin/js/metisMenu.min.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/admin/js/jquery.slimscroll.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/admin/js/waves.js')); ?>"></script>

        <script src="<?php echo e(asset('assets/admin/plugins/peity-chart/jquery.peity.min.js')); ?>"></script>

        <!--Morris Chart-->
        <script src="<?php echo e(asset('assets/admin/plugins/morris/morris.min.js')); ?>"></script>
        <script src="<?php echo e(asset('assets/admin/plugins/raphael/raphael-min.js')); ?>"></script>

        <script src="<?php echo e(asset('assets/admin/pages/dashboard.js')); ?>"></script>
	<!--Wysiwig js-->
        <script src="<?php echo e(asset('assets/admin/js/tinymce.min.js')); ?>" ></script>

       

        <!-- App js -->
        <script src="<?php echo e(asset('assets/admin/js/app.js')); ?>"></script>
<?php echo $__env->yieldContent('scripts'); ?>

<script src="<?php echo e(asset('notify/bootstrap-notify.js')); ?>"></script>
<script src="<?php echo e(asset('notify/bootstrap-notify.min.js')); ?>"></script>
<script>
            <?php if(Session::has('success')): ?>
            $.notify({
              title: '<strong>Success!</strong>',
              message: '<?php echo Session::get('success'); ?>'
            },{
              type: 'success'
            });

            <?php elseif(Session::has('error')): ?>
            $.notify({
              title: '<strong>Error!</strong>',
              message: '<?php echo Session::get('error'); ?>'
            },{
              type: 'error'
            });

            <?php elseif(Session::has('warning')): ?>
            $.notify({
              title: '<strong>Warning!</strong>',
              message: '<?php echo Session::get('warning'); ?>'
            },{
              type: 'warning'
            });

            <?php endif; ?>
    </script>
	
	<script>
            $(document).ready(function () {
                if($("#elm1").length > 0){
                    tinymce.init({
                        selector: "textarea#elm1",
                        theme: "modern",
                        height:300,
                        plugins: [
                            "advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker",
                            "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
                            "save table contextmenu directionality emoticons template paste textcolor"
                        ],
                        toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l      ink image | print preview media fullpage | forecolor backcolor emoticons",
                        style_formats: [
                            {title: 'Bold text', inline: 'b'},
                            {title: 'Red text', inline: 'span', styles: {color: '#ff0000'}},
                            {title: 'Red header', block: 'h1', styles: {color: '#ff0000'}},
                            {title: 'Example 1', inline: 'span', classes: 'example1'},
                            {title: 'Example 2', inline: 'span', classes: 'example2'},
                            {title: 'Table styles'},
                            {title: 'Table row 1', selector: 'tr', classes: 'tablerow1'}
                        ]
                    });
                }
            });
        </script>
</body>

</html>
<?php /**PATH /home/techciuz/public_html/demo/school/resources/views/layouts/admin.blade.php ENDPATH**/ ?>