Download projects.html from ricardo-everysys/proflow-manager-modernization-bug-fixes: direct link, hf CLI and curl.
- Browser
- Download file 16.2 kB
-
https://huggingface.co/spaces/ricardo-everysys/proflow-manager-modernization-bug-fixes/resolve/main/projects.html
- Command line
-
hf download hf://spaces/ricardo-everysys/proflow-manager-modernization-bug-fixes/projects.html
-
curl -L -o projects.html https://huggingface.co/spaces/ricardo-everysys/proflow-manager-modernization-bug-fixes/resolve/main/projects.html
16.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ProFlow Manager | Projects</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#f0f9ff', | |
| 100: '#e0f2fe', | |
| 200: '#bae6fd', | |
| 300: '#7dd3fc', | |
| 400: '#38bdf8', | |
| 500: '#0ea5e9', | |
| 600: '#0284c7', | |
| 700: '#0369a1', | |
| 800: '#075985', | |
| 900: '#0c4a6e', | |
| }, | |
| secondary: { | |
| 50: '#fdf4ff', | |
| 100: '#fae8ff', | |
| 200: '#f5d0fe', | |
| 300: '#f0abfc', | |
| 400: '#e879f9', | |
| 500: '#d946ef', | |
| 600: '#c026d3', | |
| 700: '#a21caf', | |
| 800: '#86198f', | |
| 900: '#701a75', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body class="bg-gray-50 text-gray-800"> | |
| <custom-navbar></custom-navbar> | |
| <custom-sidebar></custom-sidebar> | |
| <main class="md:ml-64 p-4 pt-20"> | |
| <div class="max-w-7xl mx-auto"> | |
| <!-- Header with Stats --> | |
| <div class="mb-8"> | |
| <div class="flex flex-col md:flex-row md:items-center justify-between mb-6"> | |
| <div> | |
| <h1 class="text-3xl font-bold text-gray-800">Projects</h1> | |
| <p class="text-gray-600">Manage and track all your projects</p> | |
| </div> | |
| <button onclick="ModalManager.open('addProjectModal')" | |
| class="mt-4 md:mt-0 btn btn-primary flex items-center"> | |
| <i data-feather="folder-plus" class="mr-2 w-4 h-4"></i> | |
| New Project | |
| </button> | |
| </div> | |
| <!-- Project Stats --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-4"> | |
| <div class="bg-white rounded-lg p-4 shadow-sm border"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Active</p> | |
| <h3 class="text-xl font-bold text-gray-800">12</h3> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i data-feather="play" class="w-6 h-6 text-green-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg p-4 shadow-sm border"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">On Hold</p> | |
| <h3 class="text-xl font-bold text-gray-800">3</h3> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center"> | |
| <i data-feather="pause" class="w-6 h-6 text-yellow-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg p-4 shadow-sm border"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Completed</p> | |
| <h3 class="text-xl font-bold text-gray-800">24</h3> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i data-feather="check-circle" class="w-6 h-6 text-blue-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg p-4 shadow-sm border"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-500">Total Value</p> | |
| <h3 class="text-xl font-bold text-gray-800">$356K</h3> | |
| </div> | |
| <div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center"> | |
| <i data-feather="dollar-sign" class="w-6 h-6 text-purple-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Projects Grid --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Project Card --> | |
| <div class="card"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div> | |
| <h3 class="font-bold text-lg text-gray-800">Website Redesign</h3> | |
| <p class="text-sm text-gray-600">TechCorp Inc.</p> | |
| </div> | |
| <span class="status-badge status-active">Active</span> | |
| </div> | |
| <p class="text-gray-700 mb-6">Complete redesign of corporate website with modern UI/UX and improved performance.</p> | |
| <div class="space-y-4 mb-6"> | |
| <div> | |
| <p class="text-sm text-gray-500 mb-1">Progress</p> | |
| <div class="w-full bg-gray-200 rounded-full h-2"> | |
| <div class="bg-primary-600 h-2 rounded-full" style="width: 75%"></div> | |
| </div> | |
| <div class="flex justify-between text-xs text-gray-500 mt-1"> | |
| <span>75% Complete</span> | |
| <span>120/160 hrs</span> | |
| </div> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-500 mb-2">Team Members</p> | |
| <div class="flex -space-x-2"> | |
| <img src="http://static.photos/people/200x200/1" | |
| alt="Team" | |
| class="w-8 h-8 rounded-full border-2 border-white"> | |
| <img src="http://static.photos/people/200x200/2" | |
| alt="Team" | |
| class="w-8 h-8 rounded-full border-2 border-white"> | |
| <img src="http://static.photos/people/200x200/3" | |
| alt="Team" | |
| class="w-8 h-8 rounded-full border-2 border-white"> | |
| <div class="w-8 h-8 rounded-full bg-gray-100 border-2 border-white flex items-center justify-center text-xs text-gray-600"> | |
| +2 | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex justify-between text-sm text-gray-600 border-t pt-4"> | |
| <div class="flex items-center"> | |
| <i data-feather="user" class="w-4 h-4 mr-2"></i> | |
| <span>Jane Smith</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i data-feather="dollar-sign" class="w-4 h-4 mr-2"></i> | |
| <span>$45,000</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 bg-gray-50 border-t flex justify-end space-x-2"> | |
| <button class="text-primary-600 hover:text-primary-700 p-2"> | |
| <i data-feather="eye" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-primary-600 hover:text-primary-700 p-2"> | |
| <i data-feather="edit" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-primary-600 hover:text-primary-700 p-2"> | |
| <i data-feather="calendar" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Add more project cards... --> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Add Project Modal --> | |
| <div id="addProjectModal" class="modal-overlay hidden"> | |
| <div class="modal-content"> | |
| <div class="card"> | |
| <div class="card-header flex justify-between items-center"> | |
| <h2 class="card-title">Create New Project</h2> | |
| <button data-modal-close="addProjectModal" class="text-gray-400 hover:text-gray-600"> | |
| <i data-feather="x" class="w-6 h-6"></i> | |
| </button> | |
| </div> | |
| <div class="card-body"> | |
| <form id="addProjectForm" class="space-y-6"> | |
| <div class="form-group"> | |
| <label class="form-label">Project Name</label> | |
| <input type="text" class="form-input" placeholder="Enter project name" required> | |
| </div> | |
| <div class="form-group"> | |
| <label class="form-label">Client</label> | |
| <select class="form-select" required> | |
| <option value="">Select Client</option> | |
| <option value="1">TechCorp Inc.</option> | |
| <option value="2">StartupXYZ</option> | |
| <option value="3">Global Solutions</option> | |
| </select> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div class="form-group"> | |
| <label class="form-label">Project Manager</label> | |
| <select class="form-select" required> | |
| <option value="">Select Manager</option> | |
| <option value="1">Jane Smith (Manager)</option> | |
| <option value="2">John Doe (Admin)</option> | |
| </select> | |
| </div> | |
| <div class="form-group"> | |
| <label class="form-label">Budget Type</label> | |
| <select class="form-select" required> | |
| <option value="">Select Type</option> | |
| <option value="hours">Hourly Rate</option> | |
| <option value="fixed">Fixed Price</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div class="form-group"> | |
| <label class="form-label">Start Date</label> | |
| <input type="date" class="form-input" required> | |
| </div> | |
| <div class="form-group"> | |
| <label class="form-label">End Date</label> | |
| <input type="date" class="form-input"> | |
| </div> | |
| </div> | |
| <div class="form-group"> | |
| <label class="form-label">Estimated Hours/Value</label> | |
| <input type="text" class="form-input" placeholder="e.g., 160 hours or $45,000" required> | |
| </div> | |
| <div class="form-group"> | |
| <label class="form-label">Team Members</label> | |
| <div class="space-y-2"> | |
| <div class="flex items-center p-3 border rounded-lg"> | |
| <input type="checkbox" id="user1" class="rounded text-primary-600"> | |
| <label for="user1" class="ml-3 flex-1"> | |
| <span class="font-medium text-gray-800">Mike Johnson</span> | |
| <span class="text-sm text-gray-600 ml-2">(Analyst)</span> | |
| </label> | |
| </div> | |
| <div class="flex items-center p-3 border rounded-lg"> | |
| <input type="checkbox" id="user2" class="rounded text-primary-600"> | |
| <label for="user2" class="ml-3 flex-1"> | |
| <span class="font-medium text-gray-800">Sarah Williams</span> | |
| <span class="text-sm text-gray-600 ml-2">(Designer)</span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="form-group"> | |
| <label class="form-label">Project Description</label> | |
| <textarea class="form-input h-32" placeholder="Describe the project scope, goals, and requirements..."></textarea> | |
| </div> | |
| <div class="flex justify-end space-x-3 pt-6 border-t"> | |
| <button type="button" data-modal-close="addProjectModal" class="btn btn-outline"> | |
| Cancel | |
| </button> | |
| <button type="submit" class="btn btn-primary"> | |
| <i data-feather="save" class="mr-2 w-4 h-4"></i> | |
| Create Project | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/sidebar.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| document.getElementById('addProjectForm')?.addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| NotificationManager.showSuccess('Project created successfully!'); | |
| ModalManager.close('addProjectModal'); | |
| this.reset(); | |
| }); | |
| </script> | |
| </body> | |
| </html> |