Dashboard
+ + +Total Units
+1,258
+Donors
+4,312
+Requests
+75
+Low Stock
+3 Groups
+Low Stock Alerts
+| Blood Group | +Current Units | +Threshold | +Status | +
|---|---|---|---|
| O- | +8 | +10 | +Critical | +
| B- | +12 | +15 | +Low | +
| AB+ | +18 | +20 | +Low | +
diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..2da31d3 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,123 @@ +/* General Body Styles */ +body { + font-family: 'Roboto', sans-serif; + background-color: #F5F5F5; + color: #212121; +} + +/* --- Login Page (index.php) --- */ +.login-container { + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; + background: linear-gradient(135deg, #D32F2F, #B71C1C); +} + +.login-card { + width: 100%; + max-width: 400px; + padding: 2rem; + border-radius: 0.5rem; + box-shadow: 0 10px 25px rgba(0,0,0,0.1); +} + +.login-card .form-control:focus { + border-color: #D32F2F; + box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25); +} + +/* --- Dashboard Page (dashboard.php) --- */ +.sidebar { + position: fixed; + top: 0; + left: 0; + bottom: 0; + width: 250px; + padding: 1rem; + background-color: #212121; + color: #fff; +} + +.sidebar .nav-link { + color: #eee; + padding: 0.75rem 1rem; + margin-bottom: 0.5rem; + border-radius: 0.5rem; + display: flex; + align-items: center; +} + +.sidebar .nav-link .material-icons { + margin-right: 1rem; +} + +.sidebar .nav-link:hover, .sidebar .nav-link.active { + background-color: #D32F2F; + color: #fff; +} + +.sidebar h4 { + color: #FF5252; +} + +.main-content { + margin-left: 250px; + padding: 2rem; +} + +.metric-card { + border: none; + border-radius: 0.5rem; + box-shadow: 0 4px 12px rgba(0,0,0,0.08); + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; +} + +.metric-card:hover { + transform: translateY(-5px); + box-shadow: 0 8px 20px rgba(0,0,0,0.12); +} + +.metric-card .card-body { + display: flex; + align-items: center; + justify-content: space-between; +} + +.metric-card .icon-circle { + width: 60px; + height: 60px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + color: #fff; +} + +.bg-primary-light { + background-color: rgba(211, 47, 47, 0.2); + color: #D32F2F; +} +.bg-secondary-light { + background-color: rgba(25, 118, 210, 0.2); + color: #1976D2; +} +.bg-success-light { + background-color: rgba(46, 125, 50, 0.2); + color: #2E7D32; +} +.bg-warning-light { + background-color: rgba(245, 124, 0, 0.2); + color: #F57C00; +} + +.metric-card .icon-circle .material-icons { + font-size: 2rem; +} + +.table-wrapper { + background: #fff; + padding: 1.5rem; + border-radius: 0.5rem; + box-shadow: 0 4px 12px rgba(0,0,0,0.08); +} \ No newline at end of file diff --git a/dashboard.php b/dashboard.php new file mode 100644 index 0000000..2fba33f --- /dev/null +++ b/dashboard.php @@ -0,0 +1,142 @@ + + +
+ + +1,258
+4,312
+75
+3 Groups
+| Blood Group | +Current Units | +Threshold | +Status | +
|---|---|---|---|
| O- | +8 | +10 | +Critical | +
| B- | +12 | +15 | +Low | +
| AB+ | +18 | +20 | +Low | +
= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-This page will update automatically as the plan is implemented.
-Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>