index.blade.php
1.15 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
@extends('layouts.backend.index')
@push('title', $halaman->nama)
@push('header', $halaman->nama)
@push('tombol')
<a href="{{ URL::asset($url_admin.'/album') }}" class="btn btn-sm btn-danger">
<i class="fa fa-arrow-circle-left"></i> Kembali
</a>
<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 display table-striped w-100">
<thead class="bg-primary-600">
<tr>
<th style="width:1%; vertical-align : middle;text-align:center;">No</th>
<th style="width:15%; vertical-align : middle;text-align:center;">Nama Album</th>
<th style="width:10%; vertical-align : middle;text-align:center;">Aksi</th>
</tr>
</thead>
</table>
</div>
</div>
@endsection
@section('datatables_index')
dt_ajax = "{{ url($url_admin.'/album/data') }}";
dt_btn_cols = [0, 1, 2];
dt_cols = [
{ data: 'DT_RowIndex', name:'DT_RowIndex'},
{ data: 'nama_album' },
{ data: 'action', orderable: false, searchable: false }
];
@endsection