Amal_Udjir/resources/views/android/student/home.blade.php

121 lines
3.3 KiB
PHP
Raw Normal View History

2025-04-22 03:10:07 +00:00
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>iCLOP - Administrator Site</title>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="{{asset('lte/plugins/fontawesome-free/css/all.min.css')}}">
<!-- Theme style -->
<link rel="stylesheet" href="{{asset('lte/dist/css/adminlte.min.css')}}">
<link href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/4.0.1/min/dropzone.min.css" rel="stylesheet">
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
<!-- yield for script -->
@yield('script')
</head>
@php
$menu = "hold-transition sidebar-mini";
$uri = request()->segment(2);
if ( $uri == "task" ) {
$menu = "sidebar-mini sidebar-collapse";
}
@endphp
<body class="{{ $menu }}">
<div class="wrapper">
<!-- Navbar -->
@include('android/student/header')
<!-- /.navbar -->
<!-- Main Sidebar Container -->
@include('android/student/sidebar')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<!-- /.content-header -->
<!-- Main content -->
@yield('content')
<!-- /.content -->
@if (isset($status))
@if ($status!='active')
<div class="content">
<center>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h1>Sorry, you can not use this features yet!!</h1>
<h2>Your account need to be validated by the teacher, please kindly wait to be validated.</h2>
<p>&nbsp;</p>
<img src="{{asset('lte/dist/img/logo-aplas.png')}}" alt="APLAS logo" class="brand-image elevation-3"
style="opacity: .8">
</center>
</div>
@endif
@endif
</div>
<!-- /.content-wrapper -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
<div class="p-3">
<h5>Title</h5>
<p>Sidebar content</p>
</div>
</aside>
<!-- /.control-sidebar -->
<!-- Main Footer -->
@include('android/student/footer')
</div>
<!-- ./wrapper -->
<!-- REQUIRED SCRIPTS -->
<!-- jQuery -->
<script src="{{asset('lte/plugins/jquery/jquery.min.js')}}"></script>
<!-- Bootstrap 4 -->
<script src="{{asset('lte/plugins/bootstrap/js/bootstrap.bundle.min.js')}}"></script>
<!-- AdminLTE App -->
<script src="{{asset('lte/dist/js/adminlte.min.js')}}"></script>
<script>
$(function() {
$('.btn-link[aria-expanded="true"]').closest('.accordion-item').addClass('active');
$('.collapse').on('show.bs.collapse', function () {
$(this).closest('.accordion-item').addClass('active');
});
$('.collapse').on('hidden.bs.collapse', function () {
$(this).closest('.accordion-item').removeClass('active');
});
});
</script>
</body>
</html>