<?php $__env->startPush('css'); ?>
    <link rel="stylesheet" href="/site/assets/vendors/simple-datatables/style.css">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
    <div class="table-responsive" style="background: #fff">
        <table id="dataTable" class="table data-table table-striped mb-0">
            <thead>
            <tr>
                <th>Kullanıcı</th>
                <th>Kullanıcı ID</th>
                <th>Durum</th>
                <th>Roller</th>
                <th>Derece</th>
                <th>Düzenle</th>
            </tr>
            </thead>
            <tbody>
            <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td><?php echo e($user->name); ?></td>
                    <td>#<?php echo e($user->id); ?></td>
                    <td><?php echo e($user->status == 1 ? 'Aktif' : 'Pasif'); ?></td>
                    <td>
                        <?php if($user->has_home_management): ?>
                            Evimi Açabilirim <br>
                        <?php endif; ?>
                        <?php if($user->need_home_management): ?>
                            Depremzede <br>
                        <?php endif; ?>
                        <?php if($user->user_management): ?>
                            Yönetim Araçları
                        <?php endif; ?>
                    </td>
                    <td>0</td>
                    <td>
                        <a class="btn btn-success">Düzenle</a>
                        <a class="btn btn-danger">Sil</a>
                    </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?>
    <script src="/site/assets/vendors/simple-datatables/simple-datatables.js"></script>
    <script src="/site/assets/js/bootstrap.min.js"></script>
    <script>
        let dataTable = new simpleDatatables.DataTable("#dataTable");
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.pages.build', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\kardesyuvan\resources\views/admin/pages/users_index.blade.php ENDPATH**/ ?>