2025-05-18 09:26:53 +00:00
|
|
|
<table class="table" id="submissions_table"
|
|
|
|
|
data-step="6"
|
|
|
|
|
data-intro="Tekan title dari project untuk melihat detail dari submission anda."
|
|
|
|
|
data-title="Submission Table"
|
|
|
|
|
data-disable-interaction="false">
|
2025-05-06 02:47:26 +00:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Title</th>
|
|
|
|
|
<th>Submission Count</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
@section('scripts')
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function () {
|
|
|
|
|
var table = $('#submissions_table').DataTable({
|
|
|
|
|
"processing": true,
|
|
|
|
|
"retrieve": true,
|
|
|
|
|
"serverSide": true,
|
|
|
|
|
'paginate': true,
|
|
|
|
|
"bDeferRender": true,
|
|
|
|
|
"responsive": true,
|
|
|
|
|
"autoWidth": false,
|
|
|
|
|
"bLengthChange" : false,
|
|
|
|
|
"aaSorting": [],
|
|
|
|
|
"lengthMenu": [5],
|
|
|
|
|
"searching": false,
|
|
|
|
|
"info" : false,
|
|
|
|
|
language: {
|
|
|
|
|
search: "_INPUT_",
|
|
|
|
|
searchPlaceholder: "Search",
|
|
|
|
|
"paginate": {
|
|
|
|
|
"previous": "<",
|
|
|
|
|
"next": ">",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
ajax: "{{ route('dashboard.nodejs') }}",
|
|
|
|
|
columns: [
|
|
|
|
|
{data: 'title', name: 'title', orderable: true, searchable: true},
|
|
|
|
|
{data: 'submission_count', name: 'submission_count', orderable: true, searchable: false, className: "text-center"}
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#submissions_table_paginate > span > a').addClass('bg-gray-900 text-gray-300');
|
|
|
|
|
</script>
|
|
|
|
|
@endsection
|