Spaces:
Running
Running
Download index.html from PCpete/techtriage-911: direct link, hf CLI and curl.
- Browser
- Download file 19.6 kB
-
https://huggingface.co/spaces/PCpete/techtriage-911/resolve/main/index.html
- Command line
-
hf download hf://spaces/PCpete/techtriage-911/index.html
-
curl -L -o index.html https://huggingface.co/spaces/PCpete/techtriage-911/resolve/main/index.html
19.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>TechTriage.911 - IT Helpdesk System</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| <style> | |
| .ticket-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .priority-high { | |
| border-left: 4px solid #ef4444; | |
| } | |
| .priority-medium { | |
| border-left: 4px solid #f59e0b; | |
| } | |
| .priority-low { | |
| border-left: 4px solid #10b981; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen" id="vanta-bg"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i data-feather="life-buoy" class="h-8 w-8 text-indigo-600"></i> | |
| <span class="ml-2 text-xl font-bold text-gray-900">TechTriage.911</span> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:space-x-8"> | |
| <a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Dashboard | |
| </a> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Tickets | |
| </a> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"> | |
| Knowledge Base | |
| </a> | |
| </div> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:items-center"> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i data-feather="plus" class="mr-2"></i> New Ticket | |
| </button> | |
| <div class="ml-3 relative"> | |
| <div> | |
| <button type="button" class="bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu" aria-expanded="false" aria-haspopup="true"> | |
| <span class="sr-only">Open user menu</span> | |
| <img class="h-8 w-8 rounded-full" src="http://static.photos/technology/200x200/42" alt="User profile"> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Main Content --> | |
| <main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | |
| <!-- Stats --> | |
| <div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-8"> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-indigo-500 rounded-md p-3"> | |
| <i data-feather="alert-circle" 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">Open Tickets</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">24</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-green-500 rounded-md p-3"> | |
| <i data-feather="check-circle" 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">Resolved Today</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">8</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-yellow-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 Response</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">5</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white overflow-hidden shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-red-500 rounded-md p-3"> | |
| <i data-feather="alert-triangle" 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">High Priority</dt> | |
| <dd> | |
| <div class="text-lg font-medium text-gray-900">3</div> | |
| </dd> | |
| </dl> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Tickets --> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900">Recent Tickets</h3> | |
| <div class="flex space-x-3"> | |
| <div class="relative"> | |
| <select class="appearance-none bg-gray-100 border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"> | |
| <option>All Status</option> | |
| <option>Open</option> | |
| <option>Pending</option> | |
| <option>Resolved</option> | |
| </select> | |
| <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"> | |
| <i data-feather="chevron-down" class="h-4 w-4"></i> | |
| </div> | |
| </div> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center"> | |
| <i data-feather="filter" class="mr-2"></i> Filter | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200"> | |
| <!-- Ticket Item --> | |
| <div class="px-4 py-4 sm:px-6 hover:bg-gray-50 transition duration-150 ease-in-out ticket-card priority-high"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="text-sm font-medium text-indigo-600">#TICKET-2023-0042</div> | |
| <div class="ml-2 flex-shrink-0 flex"> | |
| <p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"> | |
| High Priority | |
| </p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex"> | |
| <p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800"> | |
| In Progress | |
| </p> | |
| </div> | |
| </div> | |
| <div class="mt-2 sm:flex sm:justify-between"> | |
| <div class="sm:flex"> | |
| <p class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="user" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| Sarah Johnson - Marketing Dept | |
| </p> | |
| <p class="mt-2 flex items-center text-sm text-gray-500 sm:mt-0 sm:ml-6"> | |
| <i data-feather="hard-drive" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| Laptop not booting - Urgent | |
| </p> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500 sm:mt-0"> | |
| <i data-feather="calendar" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| <p> | |
| Created <time datetime="2023-05-17">May 17, 2023</time> | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Ticket Item --> | |
| <div class="px-4 py-4 sm:px-6 hover:bg-gray-50 transition duration-150 ease-in-out ticket-card priority-medium"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="text-sm font-medium text-indigo-600">#TICKET-2023-0041</div> | |
| <div class="ml-2 flex-shrink-0 flex"> | |
| <p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800"> | |
| Medium Priority | |
| </p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex"> | |
| <p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800"> | |
| Waiting for User | |
| </p> | |
| </div> | |
| </div> | |
| <div class="mt-2 sm:flex sm:justify-between"> | |
| <div class="sm:flex"> | |
| <p class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="user" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| Michael Chen - Finance Dept | |
| </p> | |
| <p class="mt-2 flex items-center text-sm text-gray-500 sm:mt-0 sm:ml-6"> | |
| <i data-feather="mail" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| Outlook calendar sync issues | |
| </p> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500 sm:mt-0"> | |
| <i data-feather="calendar" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| <p> | |
| Created <time datetime="2023-05-16">May 16, 2023</time> | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Ticket Item --> | |
| <div class="px-4 py-4 sm:px-6 hover:bg-gray-50 transition duration-150 ease-in-out ticket-card priority-low"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <div class="text-sm font-medium text-indigo-600">#TICKET-2023-0040</div> | |
| <div class="ml-2 flex-shrink-0 flex"> | |
| <p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"> | |
| Low Priority | |
| </p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex"> | |
| <p class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"> | |
| Resolved | |
| </p> | |
| </div> | |
| </div> | |
| <div class="mt-2 sm:flex sm:justify-between"> | |
| <div class="sm:flex"> | |
| <p class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="user" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| David Wilson - HR Dept | |
| </p> | |
| <p class="mt-2 flex items-center text-sm text-gray-500 sm:mt-0 sm:ml-6"> | |
| <i data-feather="key" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| Password reset request | |
| </p> | |
| </div> | |
| <div class="mt-2 flex items-center text-sm text-gray-500 sm:mt-0"> | |
| <i data-feather="calendar" class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400"></i> | |
| <p> | |
| Created <time datetime="2023-05-15">May 15, 2023</time> | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-3 sm:px-6"> | |
| <div class="flex-1 flex justify-between sm:hidden"> | |
| <a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </a> | |
| <a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </a> | |
| </div> | |
| <div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-700"> | |
| Showing | |
| <span class="font-medium">1</span> | |
| to | |
| <span class="font-medium">3</span> | |
| of | |
| <span class="font-medium">24</span> | |
| results | |
| </p> | |
| </div> | |
| <div> | |
| <nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination"> | |
| <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
| <span class="sr-only">Previous</span> | |
| <i data-feather="chevron-left" class="h-5 w-5"></i> | |
| </a> | |
| <a href="#" aria-current="page" class="z-10 bg-indigo-50 border-indigo-500 text-indigo-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 1 | |
| </a> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 2 | |
| </a> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 3 | |
| </a> | |
| <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700"> | |
| ... | |
| </span> | |
| <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> | |
| 8 | |
| </a> | |
| <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
| <span class="sr-only">Next</span> | |
| <i data-feather="chevron-right" class="h-5 w-5"></i> | |
| </a> | |
| </nav> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Floating Action Button --> | |
| <div class="fixed bottom-6 right-6"> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white p-4 rounded-full shadow-lg flex items-center justify-center focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> | |
| <i data-feather="plus" class="h-6 w-6"></i> | |
| </button> | |
| </div> | |
| <script> | |
| // Initialize Vanta.js background | |
| VANTA.NET({ | |
| el: "#vanta-bg", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x6366f1, | |
| backgroundColor: 0xf9fafb, | |
| points: 8.00, | |
| maxDistance: 22.00, | |
| spacing: 18.00 | |
| }); | |
| // Initialize feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |