Datatables new layout

This commit is contained in:
Ludovic CANDELLIER
2020-06-29 00:15:19 +02:00
parent 3386f6ee1a
commit 0ad31dac19
15 changed files with 136 additions and 43 deletions

View File

@@ -0,0 +1,10 @@
<button type="button" class="btn bg-gradient-info btn-add"><i class="fa fa-plus-circle"></i></button>
@push('js')
<script>
$('#{{ $model }}-table-header .btn-add').click(function() {
url = '{{ $route }}' + '/create/';
window.location = url;
});
</script>
@endpush