

<?php $__env->startSection('content'); ?>
 <!-- content @s -->
                <div class="nk-content nk-content-fluid">
                    <div class="container-xl wide-lg">
                        <div class="nk-content-body">
                            <div class="nk-block-head nk-block-head-sm">
                                <div class="nk-block-between">
                                    <div class="nk-block-head-content">
                                        <h3 class="nk-block-title page-title">Coin/Wallet List</h3>
                                    </div><!-- .nk-block-head-content -->
                                    <div class="nk-block-head-content">
                                        <div class="toggle-wrap nk-block-tools-toggle">
                                            <a href="#" class="btn btn-icon btn-trigger toggle-expand me-n1" data-target="pageMenu"><em class="icon ni ni-more-v"></em></a>
                                            <div class="toggle-expand-content" data-content="pageMenu">
                                                <ul class="nk-block-tools g-3">
                                                     
                                                    <li class="nk-block-tools-opt">
                                                        <a href="#" data-target="addProduct" class="toggle btn btn-icon btn-primary d-md-none"><em class="icon ni ni-plus"></em></a>
                                                        <a href="#" data-target="addProduct" class="toggle btn btn-primary d-none d-md-inline-flex"><em class="icon ni ni-plus"></em><span>Add New Coin</span></a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div><!-- .nk-block-head-content -->
                                </div><!-- .nk-block-between -->
                            </div><!-- .nk-block-head -->
                            
                            
                            
                            <div class="nk-block">
    <div class="card card-bordered">
        <div class="card-inner-group">
            <div class="card-inner p-0">
                <div class="nk-tb-list">
                    <div class="nk-tb-item nk-tb-head">
                        <div class="nk-tb-col nk-tb-col-check">
                            ID
                        </div>
                        <div class="nk-tb-col tb-col-sm"><span>Name/Sname</span></div>
                        <div class="nk-tb-col"><span>Icon</span></div>
                        <div class="nk-tb-col"><span>Wallet Address</span></div>
                        <div class="nk-tb-col"><span>Symbol</span></div>
                        <div class="nk-tb-col tb-col-md"><span>Status</span></div>
                        <div class="nk-tb-col nk-tb-col-tools">
                            Action
                        </div>
                    </div><!-- .nk-tb-item -->

                    <?php $__currentLoopData = $coins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $coin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="nk-tb-item">
                        <div class="nk-tb-col nk-tb-col-check">
                            <?php echo e($coin->id); ?>

                        </div>
                        <div class="nk-tb-col tb-col-sm">
                            <span class="tb-product">
                                <span class="tb-sub"><?php echo e($coin->name); ?></span> / 
                                <span class="title"><?php echo e($coin->sname); ?></span>
                            </span>
                        </div>
                        <div class="nk-tb-col">
                            <span class="tb-product">
                                <img src="<?php echo e($coin->icon); ?>" alt="<?php echo e($coin->name); ?>" class="thumb">
                            </span>
                        </div>
                        <div class="nk-tb-col">
                            <span class="tb-lead"><?php echo e(abbreviateWalletAddress($coin->wallet_address)); ?></span>
                        </div>
                        <div class="nk-tb-col">
                            <span class="tb-sub"><?php echo e($coin->symbol); ?></span>
                        </div>
                        <div class="nk-tb-col tb-col-md">
                            <span class="tb-odr-status">
                                <?php if($coin->status == 'active'): ?>
                                <span class="badge badge-dot bg-success">Active</span>
                                <?php else: ?>
                                <span class="badge badge-dot bg-danger">Inactive</span>
                                <?php endif; ?>
                            </span>
                        </div>
                        <div class="nk-tb-col nk-tb-col-tools">
                            <ul class="nk-tb-actions gx-1 my-n1">
                                <li class="me-n1">
                                    <div class="dropdown">
                                        <a href="#" class="dropdown-toggle btn btn-icon btn-trigger" data-bs-toggle="dropdown"><em class="icon ni ni-more-h"></em></a>
                                        <div class="dropdown-menu dropdown-menu-end">
                                            <ul class="link-list-opt no-bdr">
                                                <li><a href="<?php echo e(route('admin.editCoin', $coin->id)); ?>"><em class="icon ni ni-edit"></em><span>Edit Coin</span></a></li>
                                                <form action="<?php echo e(route('admin.deleteCoin', $coin->id)); ?>" method="POST" style="display:inline-block;">
                                                    <?php echo csrf_field(); ?>
                                                    <?php echo method_field('DELETE'); ?>
                                                    <li><button type="submit"><em class="icon ni ni-trash"></em><span>Remove Coin</span></button></li>
                                                </form>
                                            </ul>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div><!-- .nk-tb-item -->
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div><!-- .nk-tb-list -->
            </div>
            <div class="card-inner">
                <div class="nk-block-between-md g-3">
                    <div class="g">
                        <!-- Pagination or other content -->
                    </div>
                </div><!-- .nk-block-between -->
            </div>
        </div>
    </div>
</div><!-- .nk-block -->

                            
                            
                            
                            <div class="nk-add-product toggle-slide toggle-slide-right" data-content="addProduct" data-toggle-screen="any" data-toggle-overlay="true" data-toggle-body="true" data-simplebar>
                                <div class="nk-block-head">
                                    <div class="nk-block-head-content">
                                        <h5 class="nk-block-title">New Coin</h5>
                                        <div class="nk-block-des">
                                            <p>Add Information.</p>
                                        </div>
                                    </div>
                                </div><!-- .nk-block-head -->
                                
                                <?php echo $__env->make('admin.createCoin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                
                            </div>
                        </div>
                    </div>
                </div>
                <!-- content @e -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/qfsworl3/public_html/resources/views/admin/coins.blade.php ENDPATH**/ ?>