Spaces:
Running
Running
Download dashboard.html from Thando27/deepsite-project: direct link, hf CLI and curl.
- Browser
- Download file 11.6 kB
-
https://huggingface.co/spaces/Thando27/deepsite-project/resolve/main/dashboard.html
- Command line
-
hf download hf://spaces/Thando27/deepsite-project/dashboard.html
-
curl -L -o dashboard.html https://huggingface.co/spaces/Thando27/deepsite-project/resolve/main/dashboard.html
11.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Group Dashboard</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <style> | |
| .bg-purple-light { | |
| background-color: #F3E8FF; | |
| } | |
| .sidebar-purple { | |
| background-color: #8B5CF6; | |
| } | |
| .btn-purple { | |
| background-color: #8B5CF6; | |
| } | |
| .btn-purple:hover { | |
| background-color: #7C3AED; | |
| } | |
| .selected-nav { | |
| background-color: #8A2BE2; | |
| } | |
| .progress-bar { | |
| transition: width 0.5s ease-in-out; | |
| } | |
| .task-card:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen"> | |
| <!-- Sidebar --> | |
| <div class="w-64 sidebar-purple text-white p-4"> | |
| <div class="flex items-center mb-8"> | |
| <i class="fas fa-users text-2xl mr-2"></i> | |
| <h1 class="text-xl font-bold">GroupSync</h1> | |
| </div> | |
| <nav> | |
| <a href="dashboard.html" class="flex items-center px-4 py-3 selected-nav rounded-lg mb-2"> | |
| <i class="fas fa-tachometer-alt mr-3"></i> | |
| Dashboard | |
| </a> | |
| <a href="task-details.html" class="flex items-center px-4 py-3 hover:bg-violet-600 rounded-lg mb-2"> | |
| <i class="fas fa-tasks mr-3"></i> | |
| Tasks | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 hover:bg-violet-600 rounded-lg mb-2"> | |
| <i class="fas fa-calendar-alt mr-3"></i> | |
| Schedule | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 hover:bg-violet-600 rounded-lg mb-2"> | |
| <i class="fas fa-users-cog mr-3"></i> | |
| Members | |
| </a> | |
| <a href="#" class="flex items-center px-4 py-3 hover:bg-violet-600 rounded-lg mb-2"> | |
| <i class="fas fa-comments mr-3"></i> | |
| Discussions | |
| </a> | |
| </nav> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex-1 overflow-auto p-8"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-2xl font-bold">Group Dashboard</h1> | |
| <div class="flex items-center"> | |
| <div class="relative mr-4"> | |
| <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <i class="fas fa-bell text-xl text-gray-600"></i> | |
| <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span> | |
| </div> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/1" class="w-8 h-8 rounded-full mr-2"> | |
| <span>Nothando Sithole</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Total Tasks</p> | |
| <h3 class="text-2xl font-bold">24</h3> | |
| </div> | |
| <div class="bg-indigo-100 p-3 rounded-full"> | |
| <i class="fas fa-tasks text-indigo-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Completed</p> | |
| <h3 class="text-2xl font-bold">8</h3> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i class="fas fa-check-circle text-green-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex justify-between"> | |
| <div> | |
| <p class="text-gray-500">Due Soon</p> | |
| <h3 class="text-2xl font-bold">5</h3> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-full"> | |
| <i class="fas fa-exclamation-triangle text-yellow-600"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Progress Section --> | |
| <div class="bg-white rounded-lg shadow p-6 mb-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-bold">Project Progress</h2> | |
| <span class="text-indigo-600 font-medium">60% completed</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-3"> | |
| <div class="progress-bar bg-pink-500 h-3 rounded-full" style="width: 60%"></div> | |
| </div> | |
| </div> | |
| <!-- Tasks Section --> | |
| <div class="bg-white rounded-lg shadow p-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-bold">Recent Tasks</h2> | |
| <button class="btn-purple text-white px-4 py-2 rounded-lg hover:shadow-lg transition-all"> | |
| <i class="fas fa-plus mr-2"></i> Add Task | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <!-- Task Card 1 --> | |
| <a href="task-details.html" class="task-card border rounded-lg p-4 hover:shadow-md transition-all block"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="font-medium">Research Paper</span> | |
| <span class="text-sm text-gray-500">Due: Oct 15</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-3">Complete literature review section</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/2" class="w-6 h-6 rounded-full border-2 border-white -mr-2" title="Ashley Mufundisi"> | |
| <img src="http://static.photos/people/200x200/3" class="w-6 h-6 rounded-full border-2 border-white" title="Simba B"> | |
| <span class="text-xs text-gray-500 ml-2">2 members</span> | |
| </div> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded">In Progress</span> | |
| </div> | |
| </a> | |
| <!-- Task Card 2 --> | |
| <div class="task-card border rounded-lg p-4 hover:shadow-md transition-all"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="font-medium">Presentation Slides</span> | |
| <span class="text-sm text-gray-500">Due: Oct 20</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-3">Prepare slides for project presentation</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/4" class="w-6 h-6 rounded-full border-2 border-white" title="Thatandeka M"> | |
| <span class="text-xs text-gray-500 ml-2">1 member</span> | |
| </div> | |
| <span class="px-2 py-1 bg-violet-100 text-violet-800 text-xs rounded">Not Started</span> | |
| </div> | |
| </div> | |
| <!-- Task Card 3 --> | |
| <div class="task-card border rounded-lg p-4 hover:shadow-md transition-all"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="font-medium">Code Implementation</span> | |
| <span class="text-sm text-red-500">Due: Oct 10</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-3">Implement login functionality</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/5" class="w-6 h-6 rounded-full border-2 border-white -mr-2"> | |
| <img src="http://static.photos/people/200x200/6" class="w-6 h-6 rounded-full border-2 border-white"> | |
| <span class="text-xs text-gray-500 ml-2">2 members</span> | |
| </div> | |
| <span class="px-2 py-1 bg-red-100 text-red-800 text-xs rounded">Overdue</span> | |
| </div> | |
| </div> | |
| <!-- Task Card 4 --> | |
| <div class="task-card border rounded-lg p-4 hover:shadow-md transition-all"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="font-medium">Data Analysis</span> | |
| <span class="text-sm text-gray-500">Due: Oct 25</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-3">Analyze survey results</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/7" class="w-6 h-6 rounded-full border-2 border-white -mr-2"> | |
| <img src="http://static.photos/people/200x200/8" class="w-6 h-6 rounded-full border-2 border-white -mr-2"> | |
| <img src="http://static.photos/people/200x200/9" class="w-6 h-6 rounded-full border-2 border-white"> | |
| <span class="text-xs text-gray-500 ml-2">3 members</span> | |
| </div> | |
| <span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded">Completed</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Simple animation for progress bars | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const progressBars = document.querySelectorAll('.progress-bar'); | |
| progressBars.forEach(bar => { | |
| const targetWidth = bar.style.width; | |
| bar.style.width = '0'; | |
| setTimeout(() => { | |
| bar.style.width = targetWidth; | |
| }, 100); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |