Raffales-LMS/resources/views/student/index.blade.php
2024-04-16 15:43:24 +05:45

61 lines
1.9 KiB
PHP

@extends('layouts.admin.admin')
@section('page-specific-styles')
<link rel="stylesheet" href="{{ asset('css/jquery.dataTables.min.css') }}">
<link rel="stylesheet" href="{{ asset('css/TableTools.min.css') }}"/>
<link rel="stylesheet" href="{{ asset('css/lightbox.css') }}"/>
@endsection
@section('title', 'Student List')
@section('content')
<div class="row">
<div class="col-12">
<div class="d-flex">
<header class="text-capitalize pt-1">Student List</header>
<div class="tools ml-auto">
<a class="btn btn-primary ink-reaction" href="{{ route('student.create') }}">
<i class="md md-add"></i>
Add student
</a>
</div>
</div>
<div class="card mt-2 p-4">
<div class="table-responsive">
<table id="example" class="table table-hover display">
<thead>
<tr>
<th>S.No.</th>
<th>Applicant Name</th>
<th>Email</th>
<th>Phone</th>
<th>Prefered Intake</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@each('student.partials.table', $students, 'student')
</tbody>
</table>
</div>
</div>
</div>
</div>
@endsection
@section('page-specific-scripts')
<script src="{{ asset('js/datatables.min.js') }}"></script>
<script src="{{ asset('js/lightbox.js') }}"></script>
<script>
$(document).ready( function () {
$('#example').DataTable();
});
</script>
@endsection