👁 查看:bc2b95d728bb47ea77212406e8dae67d9ba16ec0.php
路径:/home/boguraj1/.trash/storage/framework/views/bc2b95d728bb47ea77212406e8dae67d9ba16ec0.php
大小:3.77 KB · 修改:2026-07-24 16:34:29 · 权限:0644 · 可写
<?php $__env->startSection('title', 'License Status'); ?>

<?php $__env->startSection('content'); ?>
<div class="row justify-content-center">
    <div class="col-lg-7">

        <?php if(session('success')): ?>
            <div class="alert alert-success d-flex align-items-center gap-2">
                <i class="bi bi-check-circle-fill"></i> <?php echo e(session('success')); ?>

            </div>
        <?php endif; ?>
        <?php if(session('error')): ?>
            <div class="alert alert-danger d-flex align-items-center gap-2">
                <i class="bi bi-x-circle-fill"></i> <?php echo e(session('error')); ?>

            </div>
        <?php endif; ?>

        <div class="card">
            <div class="card-header d-flex align-items-center gap-2">
                <i class="bi bi-shield-lock-fill" style="color:var(--primary)"></i>
                <strong>License Status</strong>
            </div>
            <div class="card-body p-4">

                
                <?php $valid = $status['cached_valid']; ?>
                <div class="text-center mb-4">
                    <?php if($valid === true): ?>
                        <div class="d-inline-flex flex-column align-items-center gap-2">
                            <div style="width:70px;height:70px;border-radius:50%;background:#d4edda;display:flex;align-items:center;justify-content:center">
                                <i class="bi bi-patch-check-fill text-success" style="font-size:2rem"></i>
                            </div>
                            <span class="badge bg-success fs-6 px-4 py-2">LICENSED</span>
                        </div>
                    <?php elseif($valid === false): ?>
                        <div class="d-inline-flex flex-column align-items-center gap-2">
                            <div style="width:70px;height:70px;border-radius:50%;background:#f8d7da;display:flex;align-items:center;justify-content:center">
                                <i class="bi bi-x-circle-fill text-danger" style="font-size:2rem"></i>
                            </div>
                            <span class="badge bg-danger fs-6 px-4 py-2">NOT LICENSED</span>
                        </div>
                    <?php else: ?>
                        <div class="d-inline-flex flex-column align-items-center gap-2">
                            <div style="width:70px;height:70px;border-radius:50%;background:#fff3cd;display:flex;align-items:center;justify-content:center">
                                <i class="bi bi-hourglass-split text-warning" style="font-size:2rem"></i>
                            </div>
                            <span class="badge bg-warning text-dark fs-6 px-4 py-2">NOT CHECKED YET</span>
                        </div>
                    <?php endif; ?>
                </div>

                
                <table class="table table-bordered mb-4">
                    <tr>
                        <th class="bg-light" style="width:40%">Active Domain</th>
                        <td><code><?php echo e($status['domain']); ?></code></td>
                    </tr>
                </table>

                
                <form action="<?php echo e(route('admin.license.refresh')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <button type="submit" class="btn btn-danger w-100 fw-semibold py-2">
                        <i class="bi bi-arrow-repeat me-2"></i>Re-check License Now
                    </button>
                </form>
            </div>
        </div>


    </div>
</div>
<?php $__env->stopSection(); ?>

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