Fix some enhancements & new features
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
@include('load.datatables')
|
||||
|
||||
<div id="{{ $model }}-datatable-content">
|
||||
@include('components.datatables.header')
|
||||
{{$dataTable->table(['class'=>'table table-bordered table-hover table-striped w-100 mb-0'])}}
|
||||
</div>
|
||||
|
||||
@push('css')
|
||||
<link rel="stylesheet" href="{{ asset('assets/plugins/datatables.min.css') }}">
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('assets/plugins/datatables.min.js') }}"></script>
|
||||
<script src="{{ asset('vendor/datatables/buttons.server-side.js') }}"></script>
|
||||
@push('js')
|
||||
@include('components.js.datatable', ['route' => $route, 'model' => $model])
|
||||
@endpush
|
||||
Reference in New Issue
Block a user