Spaces:
Running
Running
Download admin.html from ShoaibAI/mediflow-360: direct link, hf CLI and curl.
- Browser
- Download file 3.79 kB
-
https://huggingface.co/spaces/ShoaibAI/mediflow-360/resolve/main/admin.html
- Command line
-
hf download hf://spaces/ShoaibAI/mediflow-360/admin.html
-
curl -L -o admin.html https://huggingface.co/spaces/ShoaibAI/mediflow-360/resolve/main/admin.html
3.79 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Admin 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/user-modal.js"></script> | |
| <script src="components/test-category-modal.js"></script> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-sidebar active="admin"></custom-sidebar> | |
| <div class="ml-64 p-8"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-2xl font-bold">Admin Dashboard</h1> | |
| <button id="logoutBtn" class="btn-danger">Logout</button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8"> | |
| <div class="dashboard-card"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-medium">Users</h3> | |
| <button id="addUserBtn" class="btn-primary">Add User</button> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full" id="usersTable"> | |
| <thead> | |
| <tr class="text-left border-b"> | |
| <th class="pb-2">Name</th> | |
| <th class="pb-2">Role</th> | |
| <th class="pb-2">Email</th> | |
| <th class="pb-2">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody></tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <div class="dashboard-card"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-lg font-medium">Test Categories</h3> | |
| <button id="addTestCategoryBtn" class="btn-primary">Add Category</button> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full" id="testCategoriesTable"> | |
| <thead> | |
| <tr class="text-left border-b"> | |
| <th class="pb-2">Name</th> | |
| <th class="pb-2">Price</th> | |
| <th class="pb-2">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody></tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="dashboard-card"> | |
| <h3 class="text-lg font-medium mb-4">Patient Records</h3> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full" id="patientRecordsTable"> | |
| <thead> | |
| <tr class="text-left border-b"> | |
| <th class="pb-2">Patient</th> | |
| <th class="pb-2">Age</th> | |
| <th class="pb-2">Gender</th> | |
| <th class="pb-2">Tests</th> | |
| <th class="pb-2">Status</th> | |
| <th class="pb-2">View</th> | |
| </tr> | |
| </thead> | |
| <tbody></tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| <user-modal></user-modal> | |
| <test-category-modal></test-category-modal> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| document.getElementById('logoutBtn').addEventListener('click', logout); | |
| </script> | |
| </body> | |
| </html> |