<!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">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="shortcut icon" type="image/icon" href="<?php echo url('');?>/public/assets/images/akaholidays-favicon.png" />
        
        <title>PowerSoft Teacher Module</title>
        
        <!-- Vendors Style-->
        <link rel="stylesheet" href="<?php echo url('');?>/public/admin_assets/css/vendors_css.css">
          
        <!-- Style-->  
        <link rel="stylesheet" href="<?php echo url('');?>/public/admin_assets/css/style.css">
        <link rel="stylesheet" href="<?php echo url('');?>/public/admin_assets/css/skin_color.css">
        <link rel="stylesheet" href="<?php echo url('');?>/public/admin_assets/css/custom.css">
        <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css">

    </head>

    <body class="hold-transition light-skin sidebar-mini theme-primary fixed">
        
        <style>
        
        .notify-badge {
            background: green;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            position: absolute;
            right: 3px;
            z-index: 3;
            top: 19px;
            animation: zoom 1.2s linear infinite;
        }

        @keyframes zoom {
            from {
                transform: scale(0.8);
                opacity: 0
            }

            to {
                transform: scale(1.0);
                opacity: 1
            }
        }
        .content a
        {
            text-decoration: auto;
        }
        </style>
        
        <div class="wrapper">
            <!-- <div id="loader"></div> -->
            <header class="main-header">
                <div class="d-flex align-items-center logo-box justify-content-start">
                    {{-- <a href="#" class="waves-effect waves-light nav-link d-none d-md-inline-block mx-10 push-btn bg-transparent" data-toggle="push-menu" role="button">
                        <span class="icon-Align-left"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span>
                    </a> --}}  
                    <!-- Logo -->
                    <a href="{{ route('student.index') }}" class="logo">
                        <!-- logo-->
                        <div class="logo-lg">
                            <span class="light-logo"><img src="<?php echo url('');?>/public/admin_assets/images/powersoft.jpg" alt="powersoft"></span>
                            <span class="dark-logo"><img src="<?php echo url('');?>/public/admin_assets/images/powersoft.jpg" alt="powersoft"></span>
                            <!--<span class="light-logo">D.K JEWELLERS</span>-->
                        </div>
                    </a>    
                </div>  
                <!-- Header Navbar -->
                <nav class="navbar navbar-static-top">
                    <!-- Sidebar toggle button-->
                    <div class="app-menu">
                        <ul class="header-megamenu nav">
                            <li class="btn-group nav-item dis-b" style="display:none;">
                                <a href="#" class="waves-effect waves-light nav-link push-btn" data-toggle="push-menu" role="button">
                                    <span class="icon-Align-left"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span>
                                </a>
                            </li>
                        </ul>
                    </div>
                    
                    
                    <div class="navbar-custom-menu r-side">
                        <ul class="nav navbar-nav"> 
                            
                             
                            <li class="btn-group nav-item d-lg-inline-flex d-none">
                                <a href="#" data-provide="fullscreen" class="waves-effect waves-light nav-link full-screen" title="Full Screen">
                                    <i class="icon-Expand-arrows"><span class="path1"></span><span class="path2"></span></i>
                                </a>
                            </li>  
                          
                          <!-- User Account-->
                          <li class="dropdown user user-menu">
                            <a href="#" class="waves-effect waves-light dropdown-toggle" data-bs-toggle="dropdown" title="User">
                                <i class="icon-User"><span class="path1"></span><span class="path2"></span></i>
                            </a>
                            <ul class="dropdown-menu animated flipInX">
                              <li class="user-body">
                                 <a class="dropdown-item" href="{{ route('student.profile') }}"><i class="ti-user text-muted me-2"></i> Profile</a>
                                 <div class="dropdown-divider"></div>
                                 <a class="dropdown-item" href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i class="ti-lock text-muted me-2"></i> Logout</a>
                              </li>
                            </ul>
                          </li> 
                          <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
                                @csrf
                            </form>                     
                        </ul>
                    </div>
                </nav>
            </header>


            @php
              $permissions = [];
          @endphp
          
            <aside class="main-sidebar">
                <!-- sidebar-->
                <section class="sidebar position-relative"> 
                    <div class="multinav">
                      <div class="multinav-scroll" style="height: 100%;">   
                          <!-- sidebar menu-->
                          <ul class="sidebar-menu" data-widget="tree">

                            <li>
                              <a href="{{ route('student.index') }}">
                                <i class="icon-Layout-4-blocks"><span class="path1"></span><span class="path2"></span></i>
                                <span>Dashboard</span>
                              </a>
                            </li>

                            <li>
                                <a href="{{ route('student.home.work.view') }}">
                                  <i class="icon-Chat-check"><span class="path1"></span><span class="path2"></span></i>
                                  <span>Home Work</span>
                                </a>
                            </li>

                            <li>
                                <a href="{{ route('student.index') }}">
                                  <i class="icon-Write"><span class="path1"></span><span class="path2"></span></i>
                                  <span>Marks</span>
                                </a>
                            </li>

                          </ul>
                      </div>
                    </div>
                </section>
                <div class="sidebar-footer">
                    <a  href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();" class="link" data-bs-toggle="tooltip" title="Logout"><span class="icon-Lock-overturning"><span class="path1"></span><span class="path2"></span></span></a>
                </div>
                <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
                    @csrf
                </form>
            </aside>

            @yield('content')

            <!-- /.content-wrapper -->
            <footer class="main-footer">
                <di class="row">
                    <div class="col-6">
                        <p>Copyright © <script>document.write(new Date().getFullYear());</script> All rights reserved.</p>
                    </div>
                    <div class="col-6">
                        <p style="text-align: right;">Hand-crafted & made with  <i class="ion ion-heart text-danger"></i>  Kesavan</p>
                    </div>
                </di>
            </footer>
          
            <div class="control-sidebar-bg"></div>
        </div>
        
        <!-- Vendor JS -->
        <script src="<?php echo url('');?>/public/admin_assets/js/vendors.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/js/pages/chat-popup.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/icons/feather-icons/feather.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/jquery-knob/js/jquery.knob.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/raphael/raphael.min.js"></script>
        
        <!-- DataTables Buttons CSS and JS -->

        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/datatable/datatables.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/js/pages/data-table.js"></script>
        
        
        <!-- Etikto Admin App -->
        <script src="<?php echo url('');?>/public/admin_assets/js/template.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/js/pages/dashboard.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/icons/feather-icons/feather.min.js"></script> 
        
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/ckeditor/ckeditor.js"></script>
        <!-- <script src="//cdn.ckeditor.com/4.5.6/standard/ckeditor.js"></script> -->
        <!-- <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js"></script> -->
        <script src="<?php echo url('');?>/public/admin_assets/js/pages/editor.js"></script>


        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/bootstrap-select/dist/js/bootstrap-select.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/bootstrap-tagsinput/dist/bootstrap-tagsinput.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/select2/dist/js/select2.full.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_plugins/input-mask/jquery.inputmask.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_plugins/input-mask/jquery.inputmask.date.extensions.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_plugins/input-mask/jquery.inputmask.extensions.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/moment/min/moment.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/bootstrap-daterangepicker/daterangepicker.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_components/bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_plugins/timepicker/bootstrap-timepicker.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/assets/vendor_plugins/iCheck/icheck.min.js"></script>
        <script src="<?php echo url('');?>/public/admin_assets/js/pages/advanced-form-element.js"></script>
        
        <script>
            
            $("document").ready(function(){
                setTimeout(function(){
                $("div.alert").remove();
                }, 5000 ); 

            });
            $("#dismiss").click(function () {
                $("div.alert").remove();
            });

            
        </script>

    </body>
</html>