first commit
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('css')
|
||||
@endsection
|
||||
|
||||
@section('style')
|
||||
<style>
|
||||
table tr th,
|
||||
table tr td {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
</style>
|
||||
@endsection
|
||||
|
||||
@section('breadcrumb')
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="javascript:void(0);">Manajemen</a></li>
|
||||
<li class="breadcrumb-item"><a href="javascript:void(0);">Limit</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ $title }}</li>
|
||||
</ol>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card border">
|
||||
<div class="card-body">
|
||||
@include('components.datatable-header', [
|
||||
'title' => 'Daftar Limit Mengajar',
|
||||
'description' => 'Berikut adalah daftar limit mengajar untuk setiap Unit Kerja',
|
||||
])
|
||||
<div class="table-responsive">
|
||||
<table class="display table table-striped w-100" id="limitsTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Unit Kerja</th>
|
||||
<th>Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@section('js')
|
||||
<script>
|
||||
$('.si-limit').addClass('menuitem-active');
|
||||
$('.ni-limit').addClass('badge-primary-lighten');
|
||||
$('.li-limit').addClass('show');
|
||||
$('.li-limit-mengajar').addClass('active badge-primary-lighten');
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#limitsTable').DataTable({
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
ajax: {
|
||||
url: "{{ route('manajemen.limit.mengajar.data') }}",
|
||||
type: "GET"
|
||||
},
|
||||
columns: [{
|
||||
data: 'DT_RowIndex',
|
||||
name: 'DT_RowIndex',
|
||||
orderable: false,
|
||||
searchable: false,
|
||||
width: '50px',
|
||||
className: 'dt-center'
|
||||
},
|
||||
{
|
||||
data: 'nama',
|
||||
name: 'nama'
|
||||
},
|
||||
{
|
||||
data: 'aksi',
|
||||
name: 'aksi',
|
||||
orderable: false,
|
||||
searchable: false,
|
||||
width: '150px',
|
||||
className: 'dt-center'
|
||||
}
|
||||
],
|
||||
language: {
|
||||
processing: "Sedang Memuat..",
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user