Files
CMS/resources/views/dashboard/index.php
2025-10-28 13:56:54 +01:00

40 lines
1.7 KiB
PHP

<?php $title = 'Dashboard'; ob_start(); ?>
<section class="grid grid-2">
<div class="card">
<h2 style="margin-top: 0;">Welcome back, <?= htmlspecialchars($user?->name ?? 'User') ?> 👋</h2>
<p style="color: rgba(148, 163, 184, 0.75);">
This is the foundation for the combined customer portal, bug tracker, and project management experience. Build out your
issue workflows, notifications, and reporting from here.
</p>
<ul style="margin: 1rem 0 0; padding-left: 1.2rem; color: rgba(148, 163, 184, 0.9);">
<li>Access your assigned issues from the navigation.</li>
<li>Switch between customers and projects seamlessly.</li>
<li>Upload assets and collaborate via the real-time activity feeds.</li>
</ul>
</div>
<div class="card">
<h3 style="margin-top:0;">System status</h3>
<table>
<tbody>
<tr>
<td>Environment</td>
<td><span class="badge"><?= htmlspecialchars(config('app.env')) ?></span></td>
</tr>
<tr>
<td>Uploads directory</td>
<td><?= htmlspecialchars(config('files.storage_path')) ?></td>
</tr>
<tr>
<td>Max upload size</td>
<td><?= (int) config('files.max_upload_mb') ?> MB</td>
</tr>
<tr>
<td>Allowed MIME types</td>
<td><?= htmlspecialchars(implode(', ', config('files.allowed_mime'))) ?></td>
</tr>
</tbody>
</table>
</div>
</section>
<?php $content = ob_get_clean(); include base_path('resources/views/layout/app.php'); ?>