- Moved all V2 controllers (Lab, Requests, Samples, Users) to App\Controllers - Removed deprecated role controllers (Admin, Doctor, Analyst, CustomerService) - Simplified routes by removing /v2 prefix - Added AGENTS.md with project conventions and TODO.md with task tracking - Updated README.md with RBAC documentation - Fixed hardcoded dates, status color mappings, and duplicate database calls
49 lines
2.1 KiB
PHP
49 lines
2.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en" data-theme="corporate">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Login - CMOD</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
|
|
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
|
<link href="https://cdn.jsdelivr.net/npm/daisyui@5/themes.css" rel="stylesheet" type="text/css" />
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/js/all.min.js"></script>
|
|
</head>
|
|
<body class="min-h-screen flex items-center justify-center bg-base-200">
|
|
<div class="w-full max-w-sm mx-auto">
|
|
<div class="card bg-base-100 shadow-xl">
|
|
<div class="card-body items-center text-center">
|
|
<div class="mb-4">
|
|
<div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto text-primary">
|
|
<i class="fa fa-user-shield text-3xl"></i>
|
|
</div>
|
|
</div>
|
|
<h2 class="card-title text-2xl font-semibold text-base-content mb-1">CMOD</h2>
|
|
<p class="mb-6 text-sm text-base-content/70">Sign in to continue</p>
|
|
<form method="post" action="<?=base_url('login')?>" class="w-full flex flex-col gap-4">
|
|
<div class="form-control">
|
|
<label class="input input-bordered flex items-center gap-2 w-full">
|
|
<i class="fa fa-user text-base-content/50"></i>
|
|
<input type="text" name="userid" placeholder="User ID" class="grow" required />
|
|
</label>
|
|
</div>
|
|
<div class="form-control">
|
|
<label class="input input-bordered flex items-center gap-2 w-full">
|
|
<i class="fa fa-lock text-base-content/50"></i>
|
|
<input type="password" name="password" placeholder="Password" class="grow" required />
|
|
</label>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-block mt-2 w-full font-medium">
|
|
Login
|
|
</button>
|
|
</form>
|
|
<div class="mt-6 text-center">
|
|
<a href="#" class="link link-hover text-sm text-base-content/60">Forgot password?</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="text-center mt-6 text-xs text-base-content/40">© 2025 - 5Panda. All rights reserved.</div>
|
|
</div>
|
|
</body>
|
|
</html>
|