|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/parassaas.edukrypt.in/resources/views/admin/classroom/ |
Upload File : |
@extends('admin.layout')
@section('content')
<!-- begin::main content -->
<main class="main-content">
<div class="container">
<!-- begin::page header -->
<div class="page-header">
<h3>Classroom Users</h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Dashboard</a></li>
<li class="breadcrumb-item active" aria-current="page">List</li>
</ol>
</nav>
</div>
<!-- end::page header -->
<div class="card">
<div class="card-body">
<table id="example1" class="table table-striped table-bordered">
<thead>
<tr>
<th>Id</th>
<th>Username</th>
<th>Email</th>
<th>Phone</th>
<th>Status</th>
<th>Created</th>
</tr>
</thead>
<tbody>
@if (!empty($users))
@foreach ($users as $user)
<tr>
<td>{{ $user->id }}</td>
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
<td>{{ $user->phone }}</td>
<td>
<?php echo $user->status == 1 ? '<span class="text-success">Active</span>' : '<span class="text-danger">InActive</span>'; ?>
</td>
<td>{{ $user->date }}</td>
</tr>
@endforeach
@endif
</tbody>
</table>
</div>
</div>
</div>
</main>
<!-- end::main content -->
@endsection
@push('footer-script')
<!-- begin::dataTable -->
<script src="{{ asset('public/admin/vendors/dataTable/jquery.dataTables.min.js') }}"></script>
<script src="{{ asset('public/admin/vendors/dataTable/dataTables.bootstrap4.min.js') }}"></script>
<script src="{{ asset('public/admin/vendors/dataTable/dataTables.responsive.min.js') }}"></script>
<script src="{{ asset('public/admin/js/examples/datatable.js') }}"></script>
<!-- end::dataTable -->
@endpush