<?php $__env->startSection('title', 'History Submit'); ?>
<?php $__env->startSection('content'); ?>
<!-- Start content -->
<div class="content">
    <div class="container-fluid">
      <div class="row">
            <div class="col-12">
                <div class="card-box table-responsive">
                    <h4 class="m-t-0 m-b-20 header-title"><b>History <span class="label label-primary">SUBMIT</span></b></h4>
                    <table id="datatable-buttons" class="table table-striped table-bordered" cellspacing="0" width="100%">
                        <thead>
                        <tr>
                            <th>Submitted By</th>
                            <th>Target</th>
                            <th>Jumlah</th>
                            <th>IP</th>
                            <th>Type</th>
                            <th>Date</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!-- container -->

</div>
<!-- content -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
<?php $__env->startSection('js'); ?>
<script type="text/javascript">
var resizefunc = [];
$(document).ready(function() {
    $('#datatable-buttons').DataTable({
    ordering: false,
    serverSide: true,
    processing: true,
    ajax: '<?php echo e(route('submits.list')); ?>',
    columns: [
        {data: 'submitted_by'},
        {data: 'target'},
        {data: 'total_submit'},
        {data: 'ip'},
        {data: 'type'},
        {data: 'created_at'},
    ]
    });
});

</script>
<?php $__env->stopSection(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>