- Reorganized Architecture: Moved Master data management (Controls, Departments, Tests) to a dedicated Master namespace/directory for better modularity.
- Unified Data Entry: Consolidated daily and monthly QC entry views and logic into a single streamlined system.
- UI/UX Modernization:
- Integrated DaisyUI and Alpine.js for a responsive, themeable, and interactive experience.
- Replaced legacy layouts with a new DaisyUI-based template.
- Updated branding with new logo and favicon assets.
- Cleaned up deprecated JavaScript assets (app.js, charts.js, tables.js).
- Backend Enhancements:
- Added `ControlEntryModel` and `ResultCommentsController` for improved data handling and auditing.
- Updated routing to support the new controller structure and consolidated API endpoints.
- Documentation & Assets:
- Added [docs/PRD.md](cci:7://file:///c:/www/tinyqc/docs/PRD.md:0:0-0:0) and [docs/llms.txt](cci:7://file:///c:/www/tinyqc/docs/llms.txt:0:0-0:0) for project context and requirements.
- Included database schema scripts and backups in the `backup/` directory.
- Cleanup: Removed legacy TUI progress files and unused commands.
41 lines
2.1 KiB
PHP
41 lines
2.1 KiB
PHP
<?= $this->extend("layout/main_layout"); ?>
|
|
|
|
<?= $this->section("content"); ?>
|
|
<main class="flex-1 p-6 overflow-auto">
|
|
<div class="flex justify-between items-center mb-6">
|
|
<div>
|
|
<h1 class="text-2xl font-bold text-base-content tracking-tight">QC Entry</h1>
|
|
<p class="text-sm mt-1 opacity-70">Record quality control results</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bg-base-100 rounded-xl border border-base-300 shadow-sm p-6">
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
<a href="<?= base_url('/entry/daily') ?>" class="block p-6 rounded-xl border-2 border-dashed border-base-300 hover:border-blue-500 hover:bg-blue-50 transition-all group">
|
|
<div class="flex items-center gap-4">
|
|
<div class="w-14 h-14 rounded-xl bg-blue-100 flex items-center justify-center group-hover:bg-blue-200 transition-colors">
|
|
<i class="fa-solid fa-calendar-day text-2xl text-blue-600"></i>
|
|
</div>
|
|
<div>
|
|
<h3 class="font-semibold text-base-content">Daily Entry</h3>
|
|
<p class="text-sm text-base-content/60 mt-1">Record daily QC test results</p>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
<div class="block p-6 rounded-xl border-2 border-dashed border-base-300 hover:border-green-500 hover:bg-green-50 transition-all group cursor-not-allowed opacity-60">
|
|
<div class="flex items-center gap-4">
|
|
<div class="w-14 h-14 rounded-xl bg-green-100 flex items-center justify-center group-hover:bg-green-200 transition-colors">
|
|
<i class="fa-solid fa-chart-column text-2xl text-green-600"></i>
|
|
</div>
|
|
<div>
|
|
<h3 class="font-semibold text-base-content">Monthly Review</h3>
|
|
<p class="text-sm text-base-content/60 mt-1">Monthly QC analysis & comments</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<?= $this->endSection(); ?>
|