diff --git a/assets/pasted-20251217-024301-02a51816.png b/assets/pasted-20251217-024301-02a51816.png new file mode 100644 index 0000000..f01eaf2 Binary files /dev/null and b/assets/pasted-20251217-024301-02a51816.png differ diff --git a/assets/pasted-20251217-024928-403eba79.png b/assets/pasted-20251217-024928-403eba79.png new file mode 100644 index 0000000..90e0e88 Binary files /dev/null and b/assets/pasted-20251217-024928-403eba79.png differ diff --git a/candidates.php b/candidates.php index f6b0630..5f6f55a 100644 --- a/candidates.php +++ b/candidates.php @@ -21,7 +21,104 @@ require_once 'db/config.php';
-

Candidates

+

Candidates

+
+ + + +
+ +
+

Candidate Profile

+

Detailed view of candidate information and progress

+
+ + +
+ +
+
+
+ SK +
+
+

Sarah Kim

+

Senior Full Stack Engineer

+
+ + + San Francisco, CA + +
+
+
+

+ This section is based on an incomplete code snippet. More details would appear here if the full code was available. +

+
+
+
+
diff --git a/hr_cases.php b/hr_cases.php index 62fb968..d13335c 100644 --- a/hr_cases.php +++ b/hr_cases.php @@ -5,6 +5,83 @@ if (!isset($_SESSION['user_id'])) { exit; } require_once 'db/config.php'; + +$cases = [ + [ + 'id' => 'HR-2024-1847', + 'title' => 'Manager Conflict Resolution', + 'status' => 'in-review', + 'severity' => 'high', + 'department' => 'Engineering', + 'assignedTo' => 'Jennifer Smith', + 'lastUpdate' => '2 hours ago', + 'comments' => 8 + ], + [ + 'id' => 'HR-2024-1852', + 'title' => 'Benefits Inquiry - Health Insurance', + 'status' => 'open', + 'severity' => 'low', + 'department' => 'Sales', + 'assignedTo' => 'Michael Torres', + 'lastUpdate' => '4 hours ago', + 'comments' => 3 + ], + [ + 'id' => 'HR-2024-1855', + 'title' => 'Remote Work Policy Question', + 'status' => 'open', + 'severity' => 'medium', + 'department' => 'Product', + 'assignedTo' => 'Sarah Anderson', + 'lastUpdate' => '1 day ago', + 'comments' => 5 + ], + [ + 'id' => 'HR-2024-1860', + 'title' => 'Performance Review Discussion', + 'status' => 'in-review', + 'severity' => 'medium', + 'department' => 'Marketing', + 'assignedTo' => 'Jennifer Smith', + 'lastUpdate' => '1 day ago', + 'comments' => 12 + ], + [ + 'id' => 'HR-2024-1863', + 'title' => 'Workplace Accommodation Request', + 'status' => 'open', + 'severity' => 'high', + 'department' => 'Engineering', + 'assignedTo' => 'Michael Torres', + 'lastUpdate' => '2 days ago', + 'comments' => 6 + ] +]; + +function get_severity_badge($severity) { + switch (strtolower($severity)) { + case 'high': + return 'bg-red-100 text-red-800'; + case 'medium': + return 'bg-yellow-100 text-yellow-800'; + case 'low': + return 'bg-green-100 text-green-800'; + default: + return 'bg-gray-100 text-gray-800'; + } +} + +function get_status_badge($status) { + switch (strtolower($status)) { + case 'in-review': + return 'bg-blue-100 text-blue-800'; + case 'open': + return 'bg-gray-200 text-gray-800'; + default: + return 'bg-gray-100 text-gray-800'; + } +} ?> @@ -18,12 +95,125 @@ require_once 'db/config.php';
- -
-
-

HR Cases

-
-
+
+
+
+
+ + +
+
+
+
+

Case Details

+

+
+
+
+ +
+
+
+

Case Header

+
+
+
+

Timeline Section

+
+
+

Comments Section

+
+
+
+
+
+
+
+ + +
+
+
+

+ + HR Cases This Week +

+ + active + +
+ +
+
+ +
+
+
+
+