File size: 27,037 Bytes
a8fe1b1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 | <!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modern UI Dashboard - Portfolio Demo</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom CSS for animations and effects */
.card-hover {
transition: all 0.3s ease;
}
.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);
}
.sidebar-item:hover .sidebar-icon {
transform: scale(1.1);
}
.progress-bar {
transition: width 0.6s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 bg-indigo-700 text-white">
<div class="flex items-center justify-center h-16 px-4 border-b border-indigo-600">
<div class="flex items-center">
<i class="fas fa-cube text-2xl mr-2"></i>
<span class="text-xl font-semibold">DevDash</span>
</div>
</div>
<div class="flex flex-col flex-grow px-4 py-4 overflow-y-auto">
<nav class="flex-1 space-y-2">
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md bg-indigo-800 text-white group">
<i class="sidebar-icon fas fa-home mr-3 text-indigo-300 group-hover:text-white transition-transform"></i>
Dashboard
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-indigo-200 hover:bg-indigo-800 hover:text-white group">
<i class="sidebar-icon fas fa-chart-line mr-3 text-indigo-300 group-hover:text-white transition-transform"></i>
Analytics
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-indigo-200 hover:bg-indigo-800 hover:text-white group">
<i class="sidebar-icon fas fa-project-diagram mr-3 text-indigo-300 group-hover:text-white transition-transform"></i>
Projects
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-indigo-200 hover:bg-indigo-800 hover:text-white group">
<i class="sidebar-icon fas fa-tasks mr-3 text-indigo-300 group-hover:text-white transition-transform"></i>
Tasks
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-indigo-200 hover:bg-indigo-800 hover:text-white group">
<i class="sidebar-icon fas fa-users mr-3 text-indigo-300 group-hover:text-white transition-transform"></i>
Team
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-indigo-200 hover:bg-indigo-800 hover:text-white group">
<i class="sidebar-icon fas fa-cog mr-3 text-indigo-300 group-hover:text-white transition-transform"></i>
Settings
</a>
</nav>
<div class="mt-auto mb-4 px-4">
<div class="bg-indigo-800 rounded-lg p-4">
<div class="flex items-center">
<div class="flex-shrink-0">
<i class="fas fa-lightbulb text-yellow-300 text-xl"></i>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-white">Upgrade to Pro</p>
<p class="text-xs text-indigo-200">Get access to all features</p>
</div>
</div>
<button class="mt-2 w-full bg-yellow-400 hover:bg-yellow-500 text-yellow-900 font-medium py-1 px-3 rounded-md text-sm transition-colors">
Upgrade Now
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex flex-col flex-1 overflow-hidden">
<!-- Top Navigation -->
<header class="bg-white shadow-sm z-10">
<div class="flex items-center justify-between px-6 py-3">
<div class="flex items-center">
<button class="md:hidden mr-4 text-gray-500 focus:outline-none">
<i class="fas fa-bars text-xl"></i>
</button>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i class="fas fa-search 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-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="Search...">
</div>
</div>
<div class="flex items-center space-x-4">
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<i class="fas fa-bell text-xl"></i>
</button>
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<i class="fas fa-envelope text-xl"></i>
</button>
<div class="relative">
<button id="user-menu" class="flex items-center space-x-2 focus:outline-none">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User profile">
<span class="hidden md:block text-sm font-medium text-gray-700">John Doe</span>
<i class="fas fa-chevron-down text-gray-400 text-xs"></i>
</button>
<div id="user-dropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content Area -->
<main class="flex-1 overflow-y-auto p-6 bg-gray-50">
<div class="max-w-7xl mx-auto">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold text-gray-900">Dashboard</h1>
<button class="bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded-md text-sm transition-colors flex items-center">
<i class="fas fa-plus mr-2"></i> New Project
</button>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
<div class="bg-white rounded-lg shadow-sm p-6 card-hover animate-fade-in" style="animation-delay: 0.1s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 truncate">Total Projects</p>
<p class="mt-1 text-3xl font-semibold text-gray-900">24</p>
</div>
<div class="bg-indigo-100 p-3 rounded-full">
<i class="fas fa-folder-open text-indigo-600 text-xl"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-600 text-sm font-medium">
<i class="fas fa-arrow-up mr-1"></i> 12%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-6 card-hover animate-fade-in" style="animation-delay: 0.2s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 truncate">Completed Tasks</p>
<p class="mt-1 text-3xl font-semibold text-gray-900">142</p>
</div>
<div class="bg-green-100 p-3 rounded-full">
<i class="fas fa-check-circle text-green-600 text-xl"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-600 text-sm font-medium">
<i class="fas fa-arrow-up mr-1"></i> 19%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-6 card-hover animate-fade-in" style="animation-delay: 0.3s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 truncate">Team Members</p>
<p class="mt-1 text-3xl font-semibold text-gray-900">8</p>
</div>
<div class="bg-blue-100 p-3 rounded-full">
<i class="fas fa-users text-blue-600 text-xl"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-600 text-sm font-medium">
<i class="fas fa-arrow-up mr-1"></i> 3%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
<div class="bg-white rounded-lg shadow-sm p-6 card-hover animate-fade-in" style="animation-delay: 0.4s;">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-500 truncate">Productivity</p>
<p class="mt-1 text-3xl font-semibold text-gray-900">87%</p>
</div>
<div class="bg-purple-100 p-3 rounded-full">
<i class="fas fa-chart-pie text-purple-600 text-xl"></i>
</div>
</div>
<div class="mt-4">
<span class="text-red-600 text-sm font-medium">
<i class="fas fa-arrow-down mr-1"></i> 2%
</span>
<span class="text-gray-500 text-sm ml-2">vs last month</span>
</div>
</div>
</div>
<!-- Charts and Main Content -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
<!-- Project Progress -->
<div class="lg:col-span-2 bg-white rounded-lg shadow-sm p-6 card-hover">
<div class="flex items-center justify-between mb-6">
<h2 class="text-lg font-medium text-gray-900">Project Progress</h2>
<div class="relative">
<select class="appearance-none bg-gray-100 border border-gray-300 text-gray-700 py-1 px-3 pr-8 rounded-md leading-tight focus:outline-none focus:bg-white focus:border-indigo-500 text-sm">
<option>This Week</option>
<option>This Month</option>
<option>This Year</option>
</select>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
<i class="fas fa-chevron-down text-xs"></i>
</div>
</div>
</div>
<div class="h-64">
<canvas id="progressChart"></canvas>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-lg shadow-sm p-6 card-hover">
<h2 class="text-lg font-medium text-gray-900 mb-6">Recent Activity</h2>
<div class="space-y-4">
<div class="flex">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User avatar">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Jane Cooper</p>
<p class="text-sm text-gray-500">Completed "Design System" task</p>
<p class="text-xs text-gray-400 mt-1">2 hours ago</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User avatar">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Alex Morgan</p>
<p class="text-sm text-gray-500">Commented on "Dashboard UI"</p>
<p class="text-xs text-gray-400 mt-1">4 hours ago</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User avatar">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Michael Jordan</p>
<p class="text-sm text-gray-500">Created new project "Marketing Site"</p>
<p class="text-xs text-gray-400 mt-1">6 hours ago</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="User avatar">
</div>
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Emma Watson</p>
<p class="text-sm text-gray-500">Assigned you to "Bug Fixes" task</p>
<p class="text-xs text-gray-400 mt-1">1 day ago</p>
</div>
</div>
</div>
<button class="mt-4 text-sm font-medium text-indigo-600 hover:text-indigo-500">
View all activity <i class="fas fa-arrow-right ml-1"></i>
</button>
</div>
</div>
<!-- Projects Table -->
<div class="bg-white rounded-lg shadow-sm overflow-hidden card-hover">
<div class="px-6 py-4 border-b border-gray-200">
<div class="flex items-center justify-between">
<h2 class="text-lg font-medium text-gray-900">Current Projects</h2>
<button class="text-sm font-medium text-indigo-600 hover:text-indigo-500">
View all projects
</button>
</div>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Team</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Progress</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Due Date</th>
<th scope="col" class="relative px-6 py-3"><span class="sr-only">Actions</span></th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-indigo-100 rounded-md flex items-center justify-center">
<i class="fas fa-box-open text-indigo-600"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Dashboard UI</div>
<div class="text-sm text-gray-500">Web Application</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex -space-x-2">
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Team member">
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Team member">
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Team member">
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<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="text-xs text-gray-500 mt-1">75% complete</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jun 15, 2023</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-indigo-600 hover:text-indigo-900 mr-3"><i class="fas fa-edit"></i></button>
<button class="text-red-600 hover:text-red-900"><i class="fas fa-trash-alt"></i></button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-md flex items-center justify-center">
<i class="fas fa-mobile-alt text-blue-600"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">Mobile App</div>
<div class="text-sm text-gray-500">iOS & Android</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex -space-x-2">
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Team member">
<img class="h-8 w-8 rounded-full border-2 border-white" src="https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Team member">
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full progress-bar" style="width: 40%"></div>
</div>
<div class="text-xs text-gray-500 mt-1">40% complete</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Jul 1, 2023</td>
<td class="px-
</html> |