Download index.html from DRDDS/undefined: direct link, hf CLI and curl.
- Browser
- Download file 12.5 kB
-
https://huggingface.co/spaces/DRDDS/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/DRDDS/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/DRDDS/undefined/resolve/main/index.html
12.5 kB
| <html lang="en" class="h-full bg-gray-100"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>FileFrenzy – Recent Files Organizer</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> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#6366f1', | |
| secondary: '#8b5cf6', | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .file-item:hover { | |
| transform: translateX(4px); | |
| } | |
| .file-icon { | |
| filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); | |
| } | |
| </style> | |
| </head> | |
| <body class="h-full"> | |
| <div class="min-h-full"> | |
| <div class="bg-primary-600 pb-32"> | |
| <header class="py-10"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex justify-between items-center"> | |
| <h1 class="text-3xl font-bold text-white flex items-center"> | |
| <i data-feather="zap" class="mr-3"></i> | |
| FileFrenzy | |
| </h1> | |
| <nav class="flex space-x-6"> | |
| <a href="#" class="text-white hover:text-gray-200 transition-colors">Recent</a> | |
| <a href="#" class="text-white hover:text-gray-200 transition-colors">Favorites</a> | |
| <a href="#" class="text-white hover:text-gray-200 transition-colors">Trash</a> | |
| </nav> | |
| </div> | |
| </header> | |
| </div> | |
| <main class="-mt-32"> | |
| <div class="max-w-7xl mx-auto pb-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-lg shadow-xl overflow-hidden"> | |
| <div class="p-6 bg-gradient-to-r from-primary-500 to-secondary-500 flex justify-between items-center"> | |
| <div> | |
| <h2 class="text-2xl font-bold text-white">Recent Files</h2> | |
| <p class="mt-1 text-primary-100">Quick access to your recently used files</p> | |
| </div> | |
| <button class="flex items-center px-4 py-2 bg-white bg-opacity-20 hover:bg-opacity-30 rounded-md transition-all"> | |
| <i data-feather="plus" class="mr-2 w-4 h-4"></i> | |
| Add New | |
| </button> | |
| </div> | |
| <div class="px-6 py-5 space-y-4"> | |
| <!-- Search Box --> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i data-feather="search" class="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:ring-2 focus:ring-primary-500 focus:border-primary-500 sm:text-sm" placeholder="Filter files..."> | |
| </div> | |
| <!-- File List --> | |
| <div class="divide-y divide-gray-200"> | |
| <!-- File Item 1 --> | |
| <div class="py-4 flex items-center justify-between file-item transition-transform duration-150 ease-in-out"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex-shrink-0 file-icon"> | |
| <i data-feather="file-text" class="text-primary-500"></i> | |
| </div> | |
| <div class="min-w-0"> | |
| <p class="text-sm font-medium text-gray-900 truncate">Project_Proposal.docx</p> | |
| <p class="text-sm text-gray-500 truncate">~/Documents/Work</p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex space-x-2 items-center file-actions"> | |
| <p class="text-xs text-gray-500">Modified 2 hours ago</p> | |
| <button class="text-gray-400 hover:text-primary-600 transition-colors"> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- File Item 2 --> | |
| <div class="py-4 flex items-center justify-between file-item transition-transform duration-150 ease-in-out"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex-shrink-0 file-icon"> | |
| <i data-feather="image" class="text-secondary-500"></i> | |
| </div> | |
| <div class="min-w-0"> | |
| <p class="text-sm font-medium text-gray-900 truncate">Website_Mockup.png</p> | |
| <p class="text-sm text-gray-500 truncate">~/Pictures/Design</p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex space-x-2 items-center file-actions"> | |
| <p class="text-xs text-gray-500">Modified yesterday</p> | |
| <button class="text-gray-400 hover:text-primary-600 transition-colors"> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- File Item 3 --> | |
| <div class="py-4 flex items-center justify-between file-item transition-transform duration-150 ease-in-out"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex-shrink-0 file-icon"> | |
| <i data-feather="code" class="text-yellow-500"></i> | |
| </div> | |
| <div class="min-w-0"> | |
| <p class="text-sm font-medium text-gray-900 truncate">index.html</p> | |
| <p class="text-sm text-gray-500 truncate">~/Projects/Website</p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex space-x-2 items-center file-actions"> | |
| <p class="text-xs text-gray-500">Modified 3 days ago</p> | |
| <button class="text-gray-400 hover:text-primary-600 transition-colors"> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- File Item 4 --> | |
| <div class="py-4 flex items-center justify-between file-item transition-transform duration-150 ease-in-out"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex-shrink-0 file-icon"> | |
| <i data-feather="file" class="text-green-500"></i> | |
| </div> | |
| <div class="min-w-0"> | |
| <p class="text-sm font-medium text-gray-900 truncate">Budget_2023.xlsx</p> | |
| <p class="text-sm text-gray-500 truncate">~/Documents/Finance</p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex space-x-2 items-center file-actions"> | |
| <p class="text-xs text-gray-500">Modified 1 week ago</p> | |
| <button class="text-gray-400 hover:text-primary-600 transition-colors"> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- File Item 5 --> | |
| <div class="py-4 flex items-center justify-between file-item transition-transform duration-150 ease-in-out"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="flex-shrink-0 file-icon"> | |
| <i data-feather="book" class="text-red-500"></i> | |
| </div> | |
| <div class="min-w-0"> | |
| <p class="text-sm font-medium text-gray-900 truncate">Meeting_Notes.pdf</p> | |
| <p class="text-sm text-gray-500 truncate">~/Documents/Meetings</p> | |
| </div> | |
| </div> | |
| <div class="ml-2 flex-shrink-0 flex space-x-2 items-center file-actions"> | |
| <p class="text-xs text-gray-500">Modified 2 weeks ago</p> | |
| <button class="text-gray-400 hover:text-primary-600 transition-colors"> | |
| <i data-feather="star" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 bg-gray-50 border-t border-gray-200 flex justify-between items-center"> | |
| <div class="flex space-x-4"> | |
| <p class="text-sm text-gray-500">Showing <span class="font-medium">5</span> of <span class="font-medium">24</span> files</p> | |
| <select class="text-sm border-gray-300 rounded-md focus:ring-primary-500 focus:border-primary-500"> | |
| <option>All Files</option> | |
| <option>Documents</option> | |
| <option>Images</option> | |
| <option>Spreadsheets</option> | |
| </select> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="inline-flex items-center px-3 py-1.5 border border-gray-300 text-xs font-medium rounded shadow-sm text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| <i data-feather="grid" class="mr-1 w-3 h-3"></i> | |
| View | |
| </button> | |
| <button class="inline-flex items-center px-3 py-1.5 border border-transparent text-xs font-medium rounded shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"> | |
| <i data-feather="refresh-cw" class="mr-1 w-3 h-3"></i> | |
| Refresh | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Make file items clickable with context menu | |
| document.querySelectorAll('.file-item').forEach(item => { | |
| item.addEventListener('click', (e) => { | |
| if (!e.target.closest('.file-actions')) { | |
| const fileName = item.querySelector('p.text-gray-900').textContent; | |
| alert(`Opening: ${fileName}`); | |
| } | |
| }); | |
| // Add context menu functionality | |
| item.addEventListener('contextmenu', (e) => { | |
| e.preventDefault(); | |
| showContextMenu(e.clientX, e.clientY, item); | |
| }); | |
| }); | |
| function showContextMenu(x, y, item) { | |
| // In a real app, this would show a proper context menu | |
| console.log(`Context menu for item at ${x}, ${y}`); | |
| } | |
| // Add new file button | |
| document.querySelector('button:has(i[data-feather="plus"])')?.addEventListener('click', () => { | |
| alert('Add new file functionality would go here'); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |