| Current Path : /var/www/html/reddsis_bak_20260729/storage/framework/views/ |
| Current File : /var/www/html/reddsis_bak_20260729/storage/framework/views/8a203e6662ea7debfe6c137656977117.php |
<?php $__env->startSection('title', 'Dashboard'); ?>
<?php $__env->startPush('styles'); ?>
<style>
.dashboard-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.25rem;
}
.dashboard-grid > .widget-card { grid-column: span 1; }
.dashboard-grid > .widget-card.col-span-2 { grid-column: span 2; }
.dashboard-grid > .widget-card.col-span-3 { grid-column: span 3; }
.dashboard-grid > .widget-card.col-span-4 { grid-column: span 4; }
@media (max-width: 1024px) {
.dashboard-grid { grid-template-columns: repeat(2, 1fr); }
.dashboard-grid > .widget-card.col-span-3,
.dashboard-grid > .widget-card.col-span-4 { grid-column: span 2; }
}
.widget-card { overflow-x: auto; }
@media (max-width: 768px) {
.dashboard-grid { grid-template-columns: 1fr; }
.dashboard-grid > .widget-card { grid-column: span 1 !important; }
}
</style>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="col-span-12">
<?php if($dashboardItems->isNotEmpty()): ?>
<div class="dashboard-grid mt-6">
<?php $__currentLoopData = $dashboardItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="widget-card col-span-<?php echo e($item->col_span ?? 1); ?> rounded-2xl border border-gray-200 bg-white p-5 dark:border-gray-800 dark:bg-white/[0.03]">
<!-- <?php if($item->title): ?>
<h3 class="mb-4 text-lg font-semibold text-gray-800 dark:text-white/90"><?php echo e($item->title); ?></h3>
<?php endif; ?> -->
<div class="dashboard-content">
<?php echo \App\Helpers\DashboardHelper::render($item->content); ?>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php else: ?>
<!-- <div class="mt-6 rounded-2xl border border-gray-200 bg-white p-12 text-center dark:border-gray-800 dark:bg-white/[0.03]">
<h4 class="text-base font-medium text-gray-700 dark:text-gray-300">No dashboard widgets yet</h4>
<p class="mt-1 text-sm text-gray-500 dark:text-gray-400">
<a href="<?php echo e(route('data-dashboard.create')); ?>" class="text-brand-500 hover:underline">Create your first widget</a>
</p>
</div> -->
<?php endif; ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/reddsis/resources/views/backend/module/home.blade.php ENDPATH**/ ?>