

<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- ========== title-wrapper start ========== -->
        <div class="title-wrapper pt-30">
            <div class="row align-items-center">
                <div class="col-md-6">
                    <div class="title">
                        <h2>Detail</h2>
                    </div>
                </div>
                <!-- end col -->
                <div class="col-md-6">
                    <div class="breadcrumb-wrapper">
                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item">
                                    <a href="<?php echo e(URL::to('/admin-hasil')); ?>">Hasil</a>
                                </li>
                                <li class="breadcrumb-item" aria-current="page">
                                    <a href="<?php echo e(URL::to('/admin-hasil')); ?>">Dashboard</a>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    Detail
                                </li>
                            </ol>
                        </nav>
                    </div>
                </div>
                <!-- end col -->
            </div>
            <!-- end row -->
        </div>
        <!-- ========== title-wrapper end ========== -->
        <div class="tables-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <div class="card-style mb-30">
                        <div>
                            <div class="mb-3">
                                <label class="form-label">Nama</label>
                                <input type="text" class="form-control" value="<?php echo e($user->name); ?>" readonly>
                            </div>
                            <div class="mb-3">
                                <label class="form-label">Email</label>
                                <input type="text" class="form-control" value="<?php echo e($user->email); ?>" readonly>
                            </div>
                        </div>
                        <hr>
                        <div class="table-wrapper table-responsive">
                            <table class="table" id="myTable">
                                <thead>
                                    <tr>
                                        <th>
                                            <h6>Case</h6>
                                        </th>
                                        <th>
                                            <h6>Sesi</h6>
                                        </th>
                                        <th>
                                            <h6>Skor</h6>
                                        </th>
                                        <th>
                                            <h6>Aksi</h6>
                                        </th>
                                    </tr>
                                    <!-- end table row-->
                                </thead>
                                <tbody>
                                    <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr>
                                            <td>
                                                <?php echo e($item->caseStudy->title); ?>

                                            </td>
                                            <td>
                                                <?php echo e($item->sesi); ?>

                                            </td>
                                            <td>
                                                <?php echo e($item->skor); ?>

                                            </td>
                                            <td>
                                                <a href="<?php echo e(URL::to('/admin-hasil/jawaban/detail/' . Crypt::encrypt($item->id))); ?>"
                                                    class="btn btn-sm btn-primary">Detail</a>
                                            </td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>
                            <!-- end table -->
                        </div>
                    </div>
                    <!-- end card -->
                </div>
                <!-- end col -->
            </div>
            <!-- end row -->
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>
    <script>
        let table = new DataTable('#myTable');
    </script>
<?php $__env->stopSection(); ?>

<!-- ========== section end ========== -->

<!-- ========== footer start =========== -->
<?php echo $__env->make('layouts.v_template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Yudi\WEB\project\a\project_learning\resources\views/admin/hasil/detail_kategori.blade.php ENDPATH**/ ?>