
<?php $__env->startSection('section'); ?>
    <!-- Page sidebar end-->

    <div class="page-body">
        <div class="container-fluid">
            <div class="row page-title">
                <div class="col-sm-6">
                    <h3>User List</h3>
                </div>
                <div class="col-sm-6">
                    <nav>
                        <ol class="breadcrumb justify-content-sm-end align-items-center">
                            <li class="breadcrumb-item"> <a href="index.html">
                                    <svg class="svg-color">
                                        <use href="<?php echo e(asset('assets/svg/iconly-sprite.svg#Home')); ?>"></use>
                                    </svg></a></li>
                            <li class="breadcrumb-item">User</li>
                            <li class="breadcrumb-item active">User List</li>
                        </ol>
                    </nav>
                </div>
            </div>
        </div>

        <!-- Container-fluid starts-->
        <div class="container-fluid list-products">
            <div class="row">
                <div class="col-md-12 project-list">
                    <div class="card">
                        <div class="row">
                            <div class="col-md-6">
                                <ul class="nav nav-tabs border-tab" id="top-tab" role="tablist">
                                    <li class="nav-item"><a class="nav-link active" id="top-home-tab" data-bs-toggle="tab"
                                            href="#top-home" role="tab" aria-controls="top-home" aria-selected="true">
                                            <svg class="feather">
                                                <use
                                                    href="<?php echo e(asset('assets/svg/feather-icons/dist/feather-sprite.svg#target')); ?>">
                                                </use>
                                            </svg>All</a></li>
                                    <li class="nav-item"><a class="nav-link" id="profile-top-tab" data-bs-toggle="tab"
                                            href="#top-profile" role="tab" aria-controls="top-profile"
                                            aria-selected="false">
                                            <svg class="feather">
                                                <use
                                                    href="<?php echo e(asset('assets/svg/feather-icons/dist/feather-sprite.svg#info')); ?>">
                                                </use>
                                            </svg>Doing</a></li>
                                    <li class="nav-item"><a class="nav-link" id="contact-top-tab" data-bs-toggle="tab"
                                            href="#top-contact" role="tab" aria-controls="top-contact"
                                            aria-selected="false">
                                            <svg class="feather">
                                                <use
                                                    href="<?php echo e(asset('assets/svg/feather-icons/dist/feather-sprite.svg#check-circle')); ?>">
                                                </use>
                                            </svg>Done</a></li>
                                </ul>
                            </div>
                            <div class="col-md-6 d-md-block d-none">
                                <div class="form-group mb-0 me-0"> </div><a
                                    class="btn btn-primary d-flex align-items-center" href="<?php echo e(route('user.add')); ?>">
                                    <svg class="feather">
                                        <use
                                            href="<?php echo e(asset('assets/svg/feather-icons/dist/feather-sprite.svg#plus-square')); ?>">
                                        </use>
                                    </svg>Add New User </a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12">
                    <!-- Invoice menu-->
                    <div class="card">

                        <div class="card-body">
                            <div class="table-responsive theme-scrollbar product-table">
                                <table class="display" id="basic-3">
                                    <thead>
                                        <tr>
                                            <th>S.no</th>
                                            <th>Image</th>
                                            <th>Details</th>
                                            <th>Status</th>
                                            <th>Start date</th>
                                            <th>Action</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td><?php echo e($loop->iteration); ?></td>
                                                <td><a href="<?php echo e(route('userprofile')); ?>"><img
                                                            src="<?php echo e(asset( $user->user_profile ?? 'assets/images/ecommerce/product-table-1.png')); ?>"
                                                            alt=""></a></td>
                                                <td>
                                                    <a href="product-page.html">
                                                        <h6><?php echo e($user->name ?? 'Black Shirt'); ?></h6>
                                                    </a>
                                                    <span><?php echo e($user->email ?? 'Vida'); ?></span>
                                                </td>
                                                <td>
                                                    <a href="<?php echo e(route('user.status', $user->id)); ?>">
                                                        <?php echo $user->status == 1
                                                            ? '<span class="badge rounded-pill badge-success">Show</span>'
                                                            : '<span class="badge rounded-pill badge-danger">Hide</span>'; ?>

                                                    </a>
                                                </td>
                                                <td>
                                                    <?php echo e($user->created_at ? $user->created_at->format('Y/m/d') : 'N/A'); ?>

                                                </td>
                                                <td>
                                                    <a href="<?php echo e(route('delete.user', $user->id)); ?>"
                                                        class="btn btn-danger btn-xs" title="Delete">Delete</a>
                                                    <a href="<?php echo e(route('edit.user', $user->id)); ?>"
                                                        class="btn btn-primary btn-xs" title="Edit">Edit</a>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Container-fluid ends-->
    <script src="<?php echo e(asset('assets/js/vendors/simple-datatables/dist/umd/simple-datatables.js')); ?>"></script>

    <script src="<?php echo e(asset('assets/js/product/product-list-custom.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.main', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\NEWXAMP\htdocs\androidwale.com\resources\views/admin/Users/list.blade.php ENDPATH**/ ?>