index.blade.php
1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@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 w-100">
<thead class="bg-primary-600">
<tr>
<th style="">Model</th>
<th style="">Model Id</th>
<th style="">Action</th>
<th style="">Username</th>
<th style="">Time</th>
<th style="">Values</th>
</tr>
</thead>
</table>
</div>
</div>
@endsection
@section('datatables_index')
dt_ajax = "{{ url($url_admin.'/audit/data') }}";
dt_btn_show = 0;
dt_btn_cols = [0, 1];
dt_cols = [
{ data: 'auditable_type' },
{ data: 'auditable_id' },
{ data: 'event' },
{ data: 'username' },
{ data: 'time' },
{
"className": 'details-control',
"orderable": false,
"data": null,
"defaultContent": ''
},
];
@endsection