mediflow-360 / pathologist.html
ShoaibAI's picture
add these roles:1.Admin role(Can add/delete new user,tests catogories,see all patients record completed or in processing)
9c5ada7 verified
Raw History Blame Contribute Delete
2.49 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pathologist Dashboard | MediFlow 360°</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="components/sidebar.js"></script>
<script src="components/result-modal.js"></script>
</head>
<body class="bg-gray-50">
<custom-sidebar active="pathologist"></custom-sidebar>
<div class="ml-64 p-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-2xl font-bold">Pathologist Dashboard</h1>
<button id="logoutBtn" class="btn-danger">Logout</button>
</div>
<div class="dashboard-card">
<h3 class="text-lg font-medium mb-4">Pending Tests</h3>
<div class="overflow-x-auto">
<table class="w-full" id="pendingTestsTable">
<thead>
<tr class="text-left border-b">
<th class="pb-2">Patient</th>
<th class="pb-2">Test</th>
<th class="pb-2">Doctor Notes</th>
<th class="pb-2">Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="dashboard-card mt-8">
<h3 class="text-lg font-medium mb-4">Completed Tests</h3>
<div class="overflow-x-auto">
<table class="w-full" id="completedTestsTable">
<thead>
<tr class="text-left border-b">
<th class="pb-2">Patient</th>
<th class="pb-2">Test</th>
<th class="pb-2">Result</th>
<th class="pb-2">Status</th>
<th class="pb-2">Date</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
<result-modal></result-modal>
<script src="script.js"></script>
<script>
feather.replace();
document.getElementById('logoutBtn').addEventListener('click', logout);
</script>
</body>
</html>