deepsite-project / task-details.html
Thando27's picture
turn it back to purple
82c47b0 verified
Raw History Blame Contribute Delete
8.28 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task Details</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>
.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;
}
</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 hover:bg-violet-600 rounded-lg mb-2">
<i class="fas fa-tachometer-alt mr-3"></i>
Dashboard
</a>
<a href="#" class="flex items-center px-4 py-3 selected-nav 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-indigo-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">Task Details</h1>
<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 class="bg-white rounded-lg shadow p-6 mb-8">
<div class="flex justify-between items-start mb-6">
<div>
<h2 class="text-xl font-bold mb-2">Research Paper</h2>
<div class="flex items-center text-gray-500 mb-4">
<i class="fas fa-calendar-alt mr-2"></i>
<span>Due: Oct 15, 2023</span>
</div>
<span class="px-3 py-1 bg-violet-100 text-violet-800 text-sm rounded-full">In Progress</span>
</div>
<div class="flex space-x-2">
<button class="px-4 py-2 border rounded-lg hover:bg-gray-100">
<i class="fas fa-edit mr-2"></i>Edit
</button>
<button class="btn-purple text-white rounded-lg hover:shadow-lg px-4 py-2">
<i class="fas fa-check mr-2"></i>Mark Complete
</button>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-2">Description</h3>
<p class="text-gray-600">Complete literature review section for the group research project. Include at least 10 academic sources and summarize key findings.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<h3 class="font-medium mb-2">Assigned Members</h3>
<div class="space-y-2">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/2" class="w-8 h-8 rounded-full mr-2">
<span>Ashley Mufundisi</span>
</div>
<div class="flex items-center">
<img src="http://static.photos/people/200x200/3" class="w-8 h-8 rounded-full mr-2">
<span>Simba B</span>
</div>
</div>
</div>
<div>
<h3 class="font-medium mb-2">Progress</h3>
<div class="w-full bg-gray-200 rounded-full h-2.5 mb-2">
<div class="progress-bar bg-pink-500 h-2.5 rounded-full" style="width: 60%"></div>
</div>
<span class="text-sm text-gray-500">60% completed</span>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-2">Comments</h3>
<div class="space-y-4">
<div class="flex">
<img src="http://static.photos/people/200x200/2" class="w-8 h-8 rounded-full mr-3 mt-1">
<div>
<div class="bg-gray-100 p-3 rounded-lg">
<div class="flex justify-between items-center mb-1">
<span class="font-medium">Ashley Mufundisi</span>
<span class="text-xs text-gray-500">2 hours ago</span>
</div>
<p>I've completed the first draft of the literature review. Please review when you get a chance.</p>
</div>
</div>
</div>
<div class="flex">
<img src="http://static.photos/people/200x200/1" class="w-8 h-8 rounded-full mr-3 mt-1">
<div>
<div class="bg-gray-100 p-3 rounded-lg">
<div class="flex justify-between items-center mb-1">
<span class="font-medium">Nothando Sithole</span>
<span class="text-xs text-gray-500">1 hour ago</span>
</div>
<p>Looks good! I'll add my section by tomorrow.</p>
</div>
</div>
</div>
</div>
</div>
<div>
<h3 class="font-medium mb-2">Add Comment</h3>
<div class="flex">
<img src="http://static.photos/people/200x200/1" class="w-8 h-8 rounded-full mr-3 mt-1">
<div class="flex-1">
<textarea class="w-full border rounded-lg p-3 mb-2" placeholder="Write a comment..."></textarea>
<button class="px-4 py-2 bg-violet-600 text-white rounded-lg hover:bg-violet-700 float-right">
Post Comment
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const progressBar = document.querySelector('.progress-bar');
const targetWidth = progressBar.style.width;
progressBar.style.width = '0';
setTimeout(() => {
progressBar.style.width = targetWidth;
}, 100);
});
</script>
</body>
</html>