Spaces:
Running
Running
Download documents.html from kudalkarpratham/undefined: direct link, hf CLI and curl.
- Browser
- Download file 7.26 kB
-
https://huggingface.co/spaces/kudalkarpratham/undefined/resolve/main/documents.html
- Command line
-
hf download hf://spaces/kudalkarpratham/undefined/documents.html
-
curl -L -o documents.html https://huggingface.co/spaces/kudalkarpratham/undefined/resolve/main/documents.html
7.26 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Documents - AccountantPro</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| </head> | |
| <body class="font-roboto bg-gray-50 min-h-screen"> | |
| <div class="flex flex-col md:flex-row min-h-screen"> | |
| <!-- Sidebar Navigation --> | |
| <div class="bg-white shadow-md md:w-64 md:min-h-screen p-6"> | |
| <div class="flex items-center space-x-2 mb-8"> | |
| <i data-feather="columns" class="text-blue-600 w-6 h-6"></i> | |
| <span class="text-xl font-bold text-gray-800">AccountantPro</span> | |
| </div> | |
| <nav class="space-y-4"> | |
| <a href="dashboard.html" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition"> | |
| <i data-feather="home" class="w-5 h-5"></i> | |
| <span>Dashboard</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition"> | |
| <i data-feather="users" class="w-5 h-5"></i> | |
| <span>Clients</span> | |
| </a> | |
| <a href="appointment.html" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition"> | |
| <i data-feather="calendar" class="w-5 h-5"></i> | |
| <span>Appointments</span> | |
| </a> | |
| <a href="documents.html" class="flex items-center space-x-3 text-blue-600 transition"> | |
| <i data-feather="file" class="w-5 h-5"></i> | |
| <span>Documents</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-3 text-gray-600 hover:text-blue-600 transition"> | |
| <i data-feather="credit-card" class="w-5 h-5"></i> | |
| <span>Billing</span> | |
| </a> | |
| </nav> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 p-6"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-3xl font-bold text-gray-800">Documents</h1> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg transition flex items-center space-x-2"> | |
| <i data-feather="upload" class="w-4 h-4"></i> | |
| <span>Upload Document</span> | |
| </button> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="grid grid-cols-4 p-4 bg-gray-50 border-b"> | |
| <div class="font-medium text-gray-700">Name</div> | |
| <div class="font-medium text-gray-700">Type</div> | |
| <div class="font-medium text-gray-700">Uploaded</div> | |
| <div class="font-medium text-gray-700">Actions</div> | |
| </div> | |
| <!-- Document List --> | |
| <div class="divide-y"> | |
| <!-- Document 1 --> | |
| <div class="grid grid-cols-4 p-4 hover:bg-gray-50 transition"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="file-text" class="text-blue-600 w-5 h-5"></i> | |
| <span>Tax Return 2023.pdf</span> | |
| </div> | |
| <div>Tax Return</div> | |
| <div>Jun 15, 2024</div> | |
| <div class="flex space-x-3"> | |
| <button class="text-blue-600 hover:text-blue-800 transition"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-red-600 hover:text-red-800 transition"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Document 2 --> | |
| <div class="grid grid-cols-4 p-4 hover:bg-gray-50 transition"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="file-text" class="text-blue-600 w-5 h-5"></i> | |
| <span>Business License.pdf</span> | |
| </div> | |
| <div>License</div> | |
| <div>May 28, 2024</div> | |
| <div class="flex space-x-3"> | |
| <button class="text-blue-600 hover:text-blue-800 transition"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-red-600 hover:text-red-800 transition"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Document 3 --> | |
| <div class="grid grid-cols-4 p-4 hover:bg-gray-50 transition"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="file-text" class="text-blue-600 w-5 h-5"></i> | |
| <span>Invoice #1042.pdf</span> | |
| </div> | |
| <div>Invoice</div> | |
| <div>May 15, 2024</div> | |
| <div class="flex space-x-3"> | |
| <button class="text-blue-600 hover:text-blue-800 transition"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-red-600 hover:text-red-800 transition"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Add document upload functionality | |
| document.querySelector('button[class*="bg-blue-600"]').addEventListener('click', function() { | |
| // In a real app, this would open a file dialog | |
| alert('File upload dialog would open here'); | |
| }); | |
| // Add document actions | |
| document.querySelectorAll('button[class*="text-red-600"]').forEach(btn => { | |
| btn.addEventListener('click', function(e) { | |
| if (confirm('Are you sure you want to delete this document?')) { | |
| const row = this.closest('.grid'); | |
| row.style.opacity = '0'; | |
| setTimeout(() => row.remove(), 300); | |
| } | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |