index.blade.php
1.1 KB
@extends('layouts.backend.index')
@push('title', $halaman->nama)
@push('header', $halaman->nama)
@push('tombol')
<a href="#tambah" class="btn btn-sm btn-primary tambah">
Tambah <i class="fa fa-plus-circle"></i>
</a>
@endpush
@section('content')
<div class="panel-container show">
<div class="panel-content">
<table id="datatable" class="table table-bordered table-hover table-striped w-100">
<thead class="bg-primary-600">
<tr>
<th width="5%">No</th>
<th>Nama Grup</th>
<th>Alias</th>
<th class="text-center wid-10" tabindex="0" rowspan="1" colspan="1">Akses Menu</th>
<th class="text-center wid-10" tabindex="0" rowspan="1" colspan="1">Aksi</th>
</tr>
</thead>
</table>
</div>
</div>
@endsection
@section('datatables_index')
dt_ajax = "{{ url($url_admin.'/aksesgrup/data') }}";
dt_btn_cols = [0, 1, 2, 3, 4];
dt_cols = [
{ data: 'DT_RowIndex', name: 'DT_RowIndex', orderable: false, searchable: false },
{ data: 'nama' },
{ data: 'alias' },
{ data: 'aksesmenu', 'searchable': false, 'orderable': false, },
{ data: 'action', orderable: false, searchable: false }
];
@endsection