taskflow-dashboard / projects.html
mvbhr's picture
criar a página de Calendar
0410d4d verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Projects - TaskFlow</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #f9fafb;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.progress-bar {
transition: width 0.5s ease-in-out;
}
.status-active {
background-color: #dcfce7;
color: #166534;
}
.status-paused {
background-color: #fef3c7;
color: #d97706;
}
.status-completed {
background-color: #dbeafe;
color: #1e40af;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<div class="h-8 w-8 rounded-full bg-indigo-600 flex items-center justify-center">
<i data-feather="layers" class="text-white"></i>
</div>
<span class="ml-2 text-xl font-bold text-gray-900">TaskFlow</span>
</div>
<div class="hidden md:ml-6 md:flex md:space-x-8">
<a href="index.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a>
<a href="projects.html" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Projects</a>
<a href="tasks.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Tasks</a>
<a href="calendar.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Calendar</a>
</div>
</div>
<div class="flex items-center">
<button class="bg-white p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none">
<i data-feather="bell"></i>
</button>
<div class="ml-3 relative">
<div class="flex items-center space-x-3 cursor-pointer">
<div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center">
<span class="text-indigo-800 font-medium">U</span>
</div>
<span class="text-sm font-medium text-gray-700">User</span>
</div>
</div>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<!-- Header -->
<div class="mb-8">
<div class="flex justify-between items-center">
<div>
<h1 class="text-3xl font-bold text-gray-900">Projects</h1>
<p class="mt-2 text-gray-600">Manage and track all your projects</p>
</div>
<button class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none">
<i data-feather="plus" class="mr-2 h-4 w-4"></i>
New Project
</button>
</div>
</div>
<!-- Filters and Search -->
<div class="mb-6 flex flex-col sm:flex-row gap-4">
<div class="flex-1">
<input type="text" placeholder="Search projects..." class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent">
</div>
<div class="flex gap-2">
<select class="px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent">
<option>All Status</option>
<option>Active</option>
<option>Paused</option>
<option>Completed</option>
</select>
<select class="px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent">
<option>All Teams</option>
<option>Design</option>
<option>Development</option>
<option>Marketing</option>
</select>
</div>
</div>
<!-- Projects Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Project 1 -->
<div class="bg-white rounded-lg shadow card-hover transition-all duration-300">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-indigo-100 flex items-center justify-center">
<i data-feather="globe" class="h-5 w-5 text-indigo-600"></i>
</div>
<div class="ml-3">
<h3 class="text-lg font-medium text-gray-900">Website Redesign</h3>
</div>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium status-active">
Active
</span>
</div>
<p class="text-gray-500 text-sm mb-4">Complete redesign of company website with modern UI/UX</p>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600">Progress</span>
<span class="font-medium text-gray-900">75%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-indigo-600 h-2 rounded-full progress-bar" style="width: 75%"></div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500">
<span>12 tasks</span>
<span>Jun 30</span>
</div>
<div class="mt-4 flex items-center">
<div class="flex -space-x-2">
<div class="h-6 w-6 rounded-full bg-blue-500 border-2 border-white"></div>
<div class="h-6 w-6 rounded-full bg-green-500 border-2 border-white"></div>
<div class="h-6 w-6 rounded-full bg-yellow-500 border-2 border-white"></div>
<div class="h-6 w-6 rounded-full bg-gray-300 border-2 border-white flex items-center justify-center">
<span class="text-xs text-gray-600">+2</span>
</div>
</div>
</div>
</div>
<!-- Project 2 -->
<div class="bg-white rounded-lg shadow card-hover transition-all duration-300">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-green-100 flex items-center justify-center">
<i data-feather="smartphone" class="h-5 w-5 text-green-600"></i>
</div>
<div class="ml-3">
<h3 class="text-lg font-medium text-gray-900">Mobile App Development</h3>
</div>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium status-active">
Active
</span>
</div>
<p class="text-gray-500 text-sm mb-4">Native mobile application for iOS and Android platforms</p>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600">Progress</span>
<span class="font-medium text-gray-900">45%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-green-600 h-2 rounded-full progress-bar" style="width: 45%"></div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500">
<span>18 tasks</span>
<span>Aug 15</span>
</div>
<div class="mt-4 flex items-center">
<div class="flex -space-x-2">
<div class="h-6 w-6 rounded-full bg-purple-500 border-2 border-white"></div>
<div class="h-6 w-6 rounded-full bg-red-500 border-2 border-white"></div>
</div>
</div>
</div>
</div>
<!-- Project 3 -->
<div class="bg-white rounded-lg shadow card-hover transition-all duration-300">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-yellow-100 flex items-center justify-center">
<i data-feather="trending-up" class="h-5 w-5 text-yellow-600"></i>
</div>
<div class="ml-3">
<h3 class="text-lg font-medium text-gray-900">Marketing Campaign</h3>
</div>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium status-completed">
Completed
</span>
</div>
<p class="text-gray-500 text-sm mb-4">Q2 marketing campaign for product launch</p>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600">Progress</span>
<span class="font-medium text-gray-900">100%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-yellow-500 h-2 rounded-full progress-bar" style="width: 100%"></div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500">
<span>8 tasks</span>
<span>May 30</span>
</div>
<div class="mt-4 flex items-center">
<div class="flex -space-x-2">
<div class="h-6 w-6 rounded-full bg-pink-500 border-2 border-white"></div>
</div>
</div>
</div>
</div>
<!-- Project 4 -->
<div class="bg-white rounded-lg shadow card-hover transition-all duration-300">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="users" class="h-5 w-5 text-blue-600"></i>
</div>
<div class="ml-3">
<h3 class="text-lg font-medium text-gray-900">Client Onboarding</h3>
</div>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium status-paused">
Paused
</span>
</div>
<p class="text-gray-500 text-sm mb-4">New client onboarding process and documentation</p>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600">Progress</span>
<span class="font-medium text-gray-900">30%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-600 h-2 rounded-full progress-bar" style="width: 30%"></div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500">
<span>6 tasks</span>
<span>Jul 20</span>
</div>
<div class="mt-4 flex items-center">
<div class="flex -space-x-2">
<div class="h-6 w-6 rounded-full bg-gray-400 border-2 border-white"></div>
</div>
</div>
</div>
</div>
<!-- Project 5 -->
<div class="bg-white rounded-lg shadow card-hover transition-all duration-300">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center">
<i data-feather="shopping-cart" class="h-5 w-5 text-purple-600"></i>
</div>
<div class="ml-3">
<h3 class="text-lg font-medium text-gray-900">E-commerce Platform</h3>
</div>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium status-active">
Active
</span>
</div>
<p class="text-gray-500 text-sm mb-4">New e-commerce platform with advanced features</p>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600">Progress</span>
<span class="font-medium text-gray-900">60%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-purple-600 h-2 rounded-full progress-bar" style="width: 60%"></div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500">
<span>15 tasks</span>
<span>Sep 10</span>
</div>
<div class="mt-4 flex items-center">
<div class="flex -space-x-2">
<div class="h-6 w-6 rounded-full bg-indigo-500 border-2 border-white"></div>
<div class="h-6 w-6 rounded-full bg-teal-500 border-2 border-white"></div>
<div class="h-6 w-6 rounded-full bg-orange-500 border-2 border-white"></div>
</div>
</div>
</div>
</div>
<!-- Project 6 -->
<div class="bg-white rounded-lg shadow card-hover transition-all duration-300">
<div class="p-6">
<div class="flex items-center justify-between mb-4">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-red-100 flex items-center justify-center">
<i data-feather="bar-chart" class="h-5 w-5 text-red-600"></i>
</div>
<div class="ml-3">
<h3 class="text-lg font-medium text-gray-900">Analytics Dashboard</h3>
</div>
</div>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium status-active">
Active
</span>
</div>
<p class="text-gray-500 text-sm mb-4">Real-time analytics dashboard for business metrics</p>
<div class="mb-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600">Progress</span>
<span class="font-medium text-gray-900">25%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-red-600 h-2 rounded-full progress-bar" style="width: 25%"></div>
</div>
<div class="flex items-center justify-between text-sm text-gray-500">
<span>10 tasks</span>
<span>Oct 05</span>
</div>
<div class="mt-4 flex items-center">
<div class="flex -space-x-2">
<div class="h-6 w-6 rounded-full bg-gray-500 border-2 border-white"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Project Stats -->
<div class="mt-8 grid grid-cols-1 md:grid-cols-4 gap-6">
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-100 rounded-md p-3">
<i data-feather="folder" class="h-6 w-6 text-indigo-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Total Projects</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">12</div>
</dd>
</dl>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-100 rounded-md p-3">
<i data-feather="play" class="h-6 w-6 text-green-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Active</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">8</div>
</dd>
</dl>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-100 rounded-md p-3">
<i data-feather="pause" class="h-6 w-6 text-yellow-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Paused</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">2</div>
</dd>
</dl>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-100 rounded-md p-3">
<i data-feather="check-circle" class="h-6 w-6 text-blue-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dl>
<dt class="text-sm font-medium text-gray-500 truncate">Completed</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">2</div>
</dd>
</dl>
</div>
</div>
</div>
</div>
</main>
<script>
feather.replace();
// Animate progress bars on load
document.addEventListener('DOMContentLoaded', function() {
const progressBars = document.querySelectorAll('.progress-bar');
progressBars.forEach(bar => {
const width = bar.style.width;
bar.style.width = '0';
setTimeout(() => {
bar.style.width = width;
}, 300);
});
});
</script>
</body>
</html>