Download hr.html from Mkourhany/undefined: direct link, hf CLI and curl.
- Browser
- Download file 11.1 kB
-
https://huggingface.co/spaces/Mkourhany/undefined/resolve/main/hr.html
- Command line
-
hf download hf://spaces/Mkourhany/undefined/hr.html
-
curl -L -o hr.html https://huggingface.co/spaces/Mkourhany/undefined/resolve/main/hr.html
11.1 kB
| <html lang="en" class="h-full bg-gray-50"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>HR | SkyERP</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| </head> | |
| <body class="h-full"> | |
| <!-- Same sidebar and header structure as index.html --> | |
| <div class="min-h-full flex"> | |
| <!-- Sidebar --> | |
| <!-- ... same sidebar code from index.html ... --> | |
| <!-- Main content --> | |
| <div class="flex-1 flex flex-col overflow-hidden"> | |
| <!-- Header --> | |
| <!-- ... same header code from index.html with "HR" as title ... --> | |
| <!-- Content area --> | |
| <div class="flex-1 overflow-auto focus:outline-none bg-gray-50"> | |
| <div class="px-4 py-6 sm:px-6 lg:px-8"> | |
| <!-- HR dashboard --> | |
| <div class="mb-6 grid grid-cols-1 gap-5 sm:grid-cols-3"> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-blue-500 rounded-md p-3"> | |
| <i data-feather="users" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Total Employees</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">42</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-green-500 rounded-md p-3"> | |
| <i data-feather="calendar" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">On Leave</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">3</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-orange-500 rounded-md p-3"> | |
| <i data-feather="clock" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <div class="ml-5 w-0 flex-1"> | |
| <dl> | |
| <dt class="text-sm font-medium text-gray-500 truncate">Pending Approvals</dt> | |
| <dd class="flex items-baseline"> | |
| <div class="text-2xl font-semibold text-gray-900">7</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Employee directory --> | |
| <div class="bg-white shadow rounded-lg overflow-hidden mb-6"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200 flex justify-between items-center"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Employee Directory</h3> | |
| <div class="flex space-x-3"> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i data-feather="search" class="h-5 w-5 text-gray-400"></i> | |
| </div> | |
| <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-primary-500 focus:border-primary-500 sm:text-sm" placeholder="Search employees..."> | |
| </div> | |
| <button class="inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary-600 hover:bg-primary-700"> | |
| <i data-feather="plus" class="mr-2"></i> Add Employee | |
| </button> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Employee</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Position</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Department</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| <!-- Sample employee rows --> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/6" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">John Doe</div> | |
| <div class="text-sm text-gray-500">john@example.com</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sales Manager</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sales</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm font-medium"> | |
| <a href="#" class="text-primary-600 hover:text-primary-900 mr-3">Edit</a> | |
| <a href="#" class="text-gray-600 hover:text-gray-900">Profile</a> | |
| </td> | |
| </tr> | |
| <!-- More rows... --> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| <!-- HR quick actions --> | |
| <div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4"> | |
| <a href="#" class="group flex flex-col items-center p-6 bg-white shadow rounded-lg hover:shadow-md"> | |
| <div class="p-4 bg-blue-100 rounded-full text-blue-600 group-hover:bg-blue-200"> | |
| <i data-feather="file-plus"></i> | |
| </div> | |
| <h3 class="mt-2 text-sm font-medium text-gray-900">Onboarding</h3> | |
| <p class="text-xs text-gray-500">Add new employees</p> | |
| </a> | |
| <a href="#" class="group flex flex-col items-center p-6 bg-white shadow rounded-lg hover:shadow-md"> | |
| <div class="p-4 bg-green-100 rounded-full text-green-600 group-hover:bg-green-200"> | |
| <i data-feather="dollar-sign"></i> | |
| </div> | |
| <h3 class="mt-2 text-sm font-medium text-gray-900">Payroll</h3> | |
| <p class="text-xs text-gray-500">Process payments</p> | |
| </a> | |
| <a href="#" class="group flex flex-col items-center p-6 bg-white shadow rounded-lg hover:shadow-md"> | |
| <div class="p-4 bg-purple-100 rounded-full text-purple-600 group-hover:bg-purple-200"> | |
| <i data-feather="calendar"></i> | |
| </div> | |
| <h3 class="mt-2 text-sm font-medium text-gray-900">Time Off</h3> | |
| <p class="text-xs text-gray-500">Manage requests</p> | |
| </a> | |
| <a href="#" class="group flex flex-col items-center p-6 bg-white shadow rounded-lg hover:shadow-md"> | |
| <div class="p-4 bg-yellow-100 rounded-full text-yellow-600 group-hover:bg-yellow-200"> | |
| <i data-feather="bar-chart-2"></i> | |
| </div> | |
| <h3 class="mt-2 text-sm font-medium text-gray-900">Reports</h3> | |
| <p class="text-xs text-gray-500">Generate HR reports</p> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |