sql
This commit is contained in:
parent
4f3aaaab66
commit
0f5cb99ba0
|
|
@ -36,6 +36,9 @@ class StudentController extends Controller
|
|||
public function pythoncourse() {
|
||||
return view('student/pythoncourse/main');
|
||||
}
|
||||
public function sql() {
|
||||
return view('student/sql/learning');
|
||||
}
|
||||
|
||||
// public function asynctask() {
|
||||
// return view('student/androidcourse/asynctask/index');
|
||||
|
|
|
|||
8
resources/views/student/sqlcourse/footer.blade.php
Normal file
8
resources/views/student/sqlcourse/footer.blade.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<footer class="main-footer">
|
||||
<!-- To the right -->
|
||||
<div class="float-right d-none d-sm-inline">
|
||||
Login as {{ Auth::user()->roleid }}
|
||||
</div>
|
||||
<!-- Default to the left -->
|
||||
<strong>Copyright © 2022 <a href="http://learning.aplas.online/iclop/">Intelligent Computer Assisted Programming Learning Platform(iCLOP)</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
24
resources/views/student/sqlcourse/header.blade.php
Normal file
24
resources/views/student/sqlcourse/header.blade.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<nav class="main-header navbar navbar-expand navbar-white navbar-light" style="background-color: lavender;">
|
||||
<!-- Left navbar links -->
|
||||
|
||||
<ul class="navbar-nav" style="font-size:120%;">
|
||||
<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="{{URL::to('home')}}" class="nav-link">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('logout')}}" class="nav-link"
|
||||
onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
||||
Logout
|
||||
</a>
|
||||
|
||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||
{{ csrf_field() }}
|
||||
</form>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
95
resources/views/student/sqlcourse/home.blade.php
Normal file
95
resources/views/student/sqlcourse/home.blade.php
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<!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')}}">
|
||||
<!-- Google Font: Source Sans Pro -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
|
||||
</head>
|
||||
<body class="hold-transition sidebar-mini">
|
||||
<div class="wrapper">
|
||||
|
||||
<!-- Navbar -->
|
||||
@include('student/pythoncourse/header')
|
||||
<!-- /.navbar -->
|
||||
|
||||
<!-- Main Sidebar Container -->
|
||||
@include('student/pythoncourse/sidebar')
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
|
||||
<!-- /.content-header -->
|
||||
|
||||
<!-- Main content -->
|
||||
@yield('content')
|
||||
<!-- /.content -->
|
||||
@if (isset($count))
|
||||
@if ($count==0)
|
||||
<div class="content">
|
||||
<center>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<h1>Sorry, you can not use this features yet!!</h1>
|
||||
<h2>You are not assigned yet by a teacher, please kindly wait to be assigned.</h2>
|
||||
<p> </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('student/pythoncourse/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>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
|
||||
85
resources/views/student/sqlcourse/main.blade.php
Normal file
85
resources/views/student/sqlcourse/main.blade.php
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
@extends('student/pythoncourse/home')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-header" style="background-color: #F8F8FF">
|
||||
<h3 class="card-title">Start to learn Basic Python with iCLOP</h3>
|
||||
<div class="card-tools">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<p>
|
||||
Student can start learning with preparing a PC to develop Android application.
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p>
|
||||
<div>Minimum Requirements :
|
||||
<ol>
|
||||
<li>
|
||||
CPU : Intel Core i3–350M dual-core processor (2.26 GHz, 3 MB Cache)
|
||||
</li>
|
||||
<li>
|
||||
VGA : Integrated Intel HD graphics
|
||||
</li>
|
||||
<li>
|
||||
RAM : 4GB DDR3 dual-channel RAM (2GB + 2GB)
|
||||
</li>
|
||||
<br>
|
||||
</ol>
|
||||
</p>
|
||||
<p1>
|
||||
<div>Recommendet Specs :
|
||||
<ol>
|
||||
<li>
|
||||
CPU : Intel Core i5-8400
|
||||
</li>
|
||||
<li>
|
||||
VGA : Integrated Intel UHD graphics
|
||||
</li>
|
||||
<li>
|
||||
RAM : 16 GB RAM
|
||||
</li>
|
||||
</ol>
|
||||
</p1>
|
||||
<br>
|
||||
<p2>
|
||||
<div>Software :
|
||||
<ol>
|
||||
<li>
|
||||
Windows 7 SP1 64-bit, Windows 8.1 64-bit, Windows 10 64-bit, Windows 11 64-bit
|
||||
</li>
|
||||
<li>
|
||||
Tools: Windows PowerShell 5.0+, Git 2.x
|
||||
</li>
|
||||
<li>
|
||||
Android Studio (Flutter Extension)
|
||||
</li>
|
||||
</ol>
|
||||
</p2>
|
||||
<br>
|
||||
<p3>
|
||||
<div>Documents :
|
||||
<ol>
|
||||
<li>
|
||||
Guide
|
||||
</li>
|
||||
<li>
|
||||
Supplement
|
||||
</li>
|
||||
<li>
|
||||
Test File
|
||||
</li>
|
||||
</ol>
|
||||
</p3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
58
resources/views/student/sqlcourse/sidebar.blade.php
Normal file
58
resources/views/student/sqlcourse/sidebar.blade.php
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
||||
<!-- Brand Logo -->
|
||||
<a href="#" class="brand-link">
|
||||
<img src="{{asset('lte/dist/img/iclop-logo.png')}}" alt="iCLOP logo" class="brand-image elevation-3"
|
||||
style="width:120px;height:60px;">
|
||||
<br>
|
||||
<span class="brand-text font-weight-light" style="font-size:160%;"> Python Course</span>
|
||||
</a>
|
||||
|
||||
<!-- Sidebar -->
|
||||
<div class="sidebar">
|
||||
<!-- Sidebar user panel (optional) -->
|
||||
<div class="user-panel mt-3 pb-3 mb-3 d-flex">
|
||||
<div class="image">
|
||||
<img src="{{asset('lte/dist/img/avatar3.png')}}" class="img-circle elevation-2" alt="User Image">
|
||||
</div>
|
||||
<div class="info">
|
||||
<a href="#" class="d-block">{{ Auth::user()->name }}</span>
|
||||
</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="treeview">
|
||||
<a href="#" class="nav-link" style="background-color:#dce775;color:black;">
|
||||
<i class="nav-icon fab fa-python"></i>
|
||||
<p> <b>Learning Basic Python</b>
|
||||
</p>
|
||||
</a>
|
||||
<ul role="menu" class="nav nav-pills nav-sidebar flex-column">
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="{{URL::to('student/pythoncourse/python/task')}}" class="nav-link">
|
||||
<i class="nav-icon fas fa-angle-right"></i>
|
||||
<p>
|
||||
Start Learning <span class="right badge badge-danger">New</span>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="{{URL::to('student/pythoncourse/python/result')}}" class="nav-link"><i
|
||||
class="nav-icon fas fa-angle-right"></i>
|
||||
<p>Learning Results
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- /.sidebar-menu -->
|
||||
</div>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
Loading…
Reference in New Issue
Block a user