<?php $__env->startSection('content'); ?>
    <div class="col-sm-12 text-left">
        <h1>Comment Listing</h1>

        <div class="row">
            <div class="col-md-12">&nbsp;</div>
        </div>
        <div class="row">
            <div class="col-md-12">
            <table id="comment-listing" class="table table-striped table-hover table-bordered">
                <thead>
                <tr>
                    <th>Comment</th>
                    <th>Employee Name</th>
                    <th>Blog Title</th>
                    <th>Created At</th>
                    <?php /*<th>Actions</th>*/ ?>
                </tr>
                </thead>
            </table>
            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <script>
        $(function() {
            $('#comment-listing').DataTable({
                processing: true,
                serverSide: true,
                ajax: '<?php echo route('comment-listings'); ?>',
                columns: [
                    { data: 'comment', name: 'comment' },
                    { data: 'employee', name: 'employee',orderable: false, searchable: false  },
                    { data: 'blog_title', name: 'blog_title',orderable: false, searchable: false  },
                    { data: 'created_at', name: 'created_at' },
//                    { data: 'actions', name: 'actions', orderable: false, searchable: false }
                ]
            });
        });

    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.default-admin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>