103 lines
3.3 KiB
PHP
103 lines
3.3 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('css')
|
|
<style>
|
|
table tr th,
|
|
table tr td {
|
|
vertical-align: middle !important;
|
|
}
|
|
|
|
#limitsTable thead th {
|
|
background: #2563eb !important; background-color: #2563eb !important;
|
|
color: #fff !important;
|
|
border-color: #2563eb !important;
|
|
}
|
|
|
|
#limitsTable tbody tr:hover > * {
|
|
background-color: rgba(13, 110, 253, 0.08) !important;
|
|
box-shadow: none;
|
|
}
|
|
</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 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
|