Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +470 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: task-ai-lol
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,470 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>TaskAI - AI-Powered Task Management</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
primary: '#6366f1',
|
| 15 |
+
secondary: '#8b5cf6',
|
| 16 |
+
accent: '#ec4899',
|
| 17 |
+
dark: '#0f172a',
|
| 18 |
+
light: '#f8fafc'
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
</script>
|
| 24 |
+
<style>
|
| 25 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 26 |
+
|
| 27 |
+
body {
|
| 28 |
+
font-family: 'Inter', sans-serif;
|
| 29 |
+
background-color: #f0f4f8;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.task-card {
|
| 33 |
+
transition: all 0.3s ease;
|
| 34 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.task-card:hover {
|
| 38 |
+
transform: translateY(-2px);
|
| 39 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.ai-suggestion {
|
| 43 |
+
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.priority-high {
|
| 47 |
+
border-left: 4px solid #ef4444;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.priority-medium {
|
| 51 |
+
border-left: 4px solid #f59e0b;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.priority-low {
|
| 55 |
+
border-left: 4px solid #10b981;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.completed-task {
|
| 59 |
+
opacity: 0.7;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.completed-task .task-title {
|
| 63 |
+
text-decoration: line-through;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.pulse {
|
| 67 |
+
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
@keyframes pulse {
|
| 71 |
+
0%, 100% {
|
| 72 |
+
opacity: 1;
|
| 73 |
+
}
|
| 74 |
+
50% {
|
| 75 |
+
opacity: 0.5;
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.floating {
|
| 80 |
+
animation: floating 3s ease-in-out infinite;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
@keyframes floating {
|
| 84 |
+
0% {
|
| 85 |
+
transform: translateY(0px);
|
| 86 |
+
}
|
| 87 |
+
50% {
|
| 88 |
+
transform: translateY(-10px);
|
| 89 |
+
}
|
| 90 |
+
100% {
|
| 91 |
+
transform: translateY(0px);
|
| 92 |
+
}
|
| 93 |
+
}
|
| 94 |
+
</style>
|
| 95 |
+
</head>
|
| 96 |
+
<body class="min-h-screen">
|
| 97 |
+
<div class="max-w-6xl mx-auto px-4 py-8">
|
| 98 |
+
<!-- Header -->
|
| 99 |
+
<header class="mb-12">
|
| 100 |
+
<div class="flex flex-col md:flex-row justify-between items-center mb-8">
|
| 101 |
+
<div class="text-center md:text-left mb-6 md:mb-0">
|
| 102 |
+
<h1 class="text-3xl md:text-4xl font-bold text-dark">TaskAI</h1>
|
| 103 |
+
<p class="text-gray-600 mt-2">AI-powered task management for smarter productivity</p>
|
| 104 |
+
</div>
|
| 105 |
+
<div class="flex items-center space-x-4">
|
| 106 |
+
<div class="bg-white rounded-full p-2 shadow">
|
| 107 |
+
<i class="fas fa-bell text-gray-500"></i>
|
| 108 |
+
</div>
|
| 109 |
+
<div class="flex items-center space-x-2 bg-white rounded-full p-2 shadow">
|
| 110 |
+
<div class="bg-gray-200 border-2 border-dashed rounded-xl w-10 h-10"></div>
|
| 111 |
+
<div>
|
| 112 |
+
<p class="font-medium">Alex Morgan</p>
|
| 113 |
+
<p class="text-sm text-gray-500">Premium User</p>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
|
| 119 |
+
<!-- Stats -->
|
| 120 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-8">
|
| 121 |
+
<div class="bg-white rounded-xl p-6 shadow">
|
| 122 |
+
<div class="flex items-center">
|
| 123 |
+
<div class="p-3 rounded-lg bg-blue-100 text-primary">
|
| 124 |
+
<i class="fas fa-tasks fa-lg"></i>
|
| 125 |
+
</div>
|
| 126 |
+
<div class="ml-4">
|
| 127 |
+
<p class="text-gray-500 text-sm">Total Tasks</p>
|
| 128 |
+
<p class="text-2xl font-bold">24</p>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
|
| 133 |
+
<div class="bg-white rounded-xl p-6 shadow">
|
| 134 |
+
<div class="flex items-center">
|
| 135 |
+
<div class="p-3 rounded-lg bg-green-100 text-green-500">
|
| 136 |
+
<i class="fas fa-check-circle fa-lg"></i>
|
| 137 |
+
</div>
|
| 138 |
+
<div class="ml-4">
|
| 139 |
+
<p class="text-gray-500 text-sm">Completed</p>
|
| 140 |
+
<p class="text-2xl font-bold">18</p>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<div class="bg-white rounded-xl p-6 shadow">
|
| 146 |
+
<div class="flex items-center">
|
| 147 |
+
<div class="p-3 rounded-lg bg-yellow-100 text-yellow-500">
|
| 148 |
+
<i class="fas fa-clock fa-lg"></i>
|
| 149 |
+
</div>
|
| 150 |
+
<div class="ml-4">
|
| 151 |
+
<p class="text-gray-500 text-sm">Pending</p>
|
| 152 |
+
<p class="text-2xl font-bold">6</p>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<div class="bg-white rounded-xl p-6 shadow">
|
| 158 |
+
<div class="flex items-center">
|
| 159 |
+
<div class="p-3 rounded-lg bg-purple-100 text-purple-500">
|
| 160 |
+
<i class="fas fa-brain fa-lg"></i>
|
| 161 |
+
</div>
|
| 162 |
+
<div class="ml-4">
|
| 163 |
+
<p class="text-gray-500 text-sm">AI Suggestions</p>
|
| 164 |
+
<p class="text-2xl font-bold">3</p>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
</div>
|
| 169 |
+
</header>
|
| 170 |
+
|
| 171 |
+
<!-- Main Content -->
|
| 172 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 173 |
+
<!-- Task Creation Panel -->
|
| 174 |
+
<div class="lg:col-span-1">
|
| 175 |
+
<div class="bg-white rounded-2xl shadow-lg p-6 mb-8">
|
| 176 |
+
<h2 class="text-xl font-bold text-dark mb-4">Create New Task</h2>
|
| 177 |
+
<form id="task-form" class="space-y-4">
|
| 178 |
+
<div>
|
| 179 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Task Title</label>
|
| 180 |
+
<input type="text" id="task-title" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="What needs to be done?">
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<div>
|
| 184 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Description</label>
|
| 185 |
+
<textarea id="task-description" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="Add details..." rows="3"></textarea>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<div class="grid grid-cols-2 gap-4">
|
| 189 |
+
<div>
|
| 190 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Priority</label>
|
| 191 |
+
<select id="task-priority" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 192 |
+
<option value="low">Low</option>
|
| 193 |
+
<option value="medium" selected>Medium</option>
|
| 194 |
+
<option value="high">High</option>
|
| 195 |
+
</select>
|
| 196 |
+
</div>
|
| 197 |
+
|
| 198 |
+
<div>
|
| 199 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Due Date</label>
|
| 200 |
+
<input type="date" id="task-due-date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<div>
|
| 205 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">Category</label>
|
| 206 |
+
<select id="task-category" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 207 |
+
<option value="work">Work</option>
|
| 208 |
+
<option value="personal">Personal</option>
|
| 209 |
+
<option value="shopping">Shopping</option>
|
| 210 |
+
<option value="health">Health</option>
|
| 211 |
+
<option value="learning">Learning</option>
|
| 212 |
+
</select>
|
| 213 |
+
</div>
|
| 214 |
+
|
| 215 |
+
<button type="submit" class="w-full bg-primary hover:bg-indigo-700 text-white font-medium py-3 px-4 rounded-lg transition duration-300">
|
| 216 |
+
Add Task
|
| 217 |
+
</button>
|
| 218 |
+
</form>
|
| 219 |
+
</div>
|
| 220 |
+
|
| 221 |
+
<!-- AI Suggestions -->
|
| 222 |
+
<div class="bg-white rounded-2xl shadow-lg p-6">
|
| 223 |
+
<div class="flex items-center mb-4">
|
| 224 |
+
<div class="p-2 rounded-lg bg-purple-100 text-purple-500 mr-3">
|
| 225 |
+
<i class="fas fa-lightbulb fa-lg"></i>
|
| 226 |
+
</div>
|
| 227 |
+
<h2 class="text-xl font-bold text-dark">AI Suggestions</h2>
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
<div class="space-y-4">
|
| 231 |
+
<div class="p-4 bg-purple-50 rounded-lg">
|
| 232 |
+
<p class="text-sm text-purple-800">Based on your schedule, you might want to prioritize "Complete project proposal" today.</p>
|
| 233 |
+
</div>
|
| 234 |
+
|
| 235 |
+
<div class="p-4 bg-purple-50 rounded-lg">
|
| 236 |
+
<p class="text-sm text-purple-800">"Buy groceries" is overdue. Would you like to reschedule it?</p>
|
| 237 |
+
</div>
|
| 238 |
+
|
| 239 |
+
<div class="p-4 bg-purple-50 rounded-lg">
|
| 240 |
+
<p class="text-sm text-purple-800">You've been productive this week! Consider adding a reward task for yourself.</p>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
|
| 244 |
+
<button class="mt-4 w-full text-center text-purple-600 font-medium flex items-center justify-center">
|
| 245 |
+
<i class="fas fa-sync mr-2"></i> Refresh Suggestions
|
| 246 |
+
</button>
|
| 247 |
+
</div>
|
| 248 |
+
</div>
|
| 249 |
+
|
| 250 |
+
<!-- Task List -->
|
| 251 |
+
<div class="lg:col-span-2">
|
| 252 |
+
<div class="bg-white rounded-2xl shadow-lg p-6">
|
| 253 |
+
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
|
| 254 |
+
<h2 class="text-xl font-bold text-dark mb-4 md:mb-0">Your Tasks</h2>
|
| 255 |
+
|
| 256 |
+
<div class="flex flex-wrap gap-2 w-full md:w-auto">
|
| 257 |
+
<div class="relative w-full md:w-64">
|
| 258 |
+
<input type="text" placeholder="Search tasks..." class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 259 |
+
<i class="fas fa-search absolute right-3 top-3 text-gray-400"></i>
|
| 260 |
+
</div>
|
| 261 |
+
|
| 262 |
+
<select class="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 263 |
+
<option>All Categories</option>
|
| 264 |
+
<option>Work</option>
|
| 265 |
+
<option>Personal</option>
|
| 266 |
+
<option>Shopping</option>
|
| 267 |
+
</select>
|
| 268 |
+
|
| 269 |
+
<select class="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 270 |
+
<option>All Priorities</option>
|
| 271 |
+
<option>High</option>
|
| 272 |
+
<option>Medium</option>
|
| 273 |
+
<option>Low</option>
|
| 274 |
+
</select>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
|
| 278 |
+
<!-- Task List -->
|
| 279 |
+
<div class="space-y-4">
|
| 280 |
+
<!-- Task 1 -->
|
| 281 |
+
<div class="task-card bg-white border rounded-xl p-5 priority-high">
|
| 282 |
+
<div class="flex items-start">
|
| 283 |
+
<div class="flex items-center h-5 mr-3">
|
| 284 |
+
<input type="checkbox" class="task-checkbox h-5 w-5 text-primary rounded focus:ring-primary">
|
| 285 |
+
</div>
|
| 286 |
+
<div class="flex-1">
|
| 287 |
+
<div class="flex items-center">
|
| 288 |
+
<h3 class="task-title font-semibold text-lg">Complete project proposal</h3>
|
| 289 |
+
<span class="ml-2 px-2 py-1 text-xs font-semibold bg-red-100 text-red-800 rounded-full">High Priority</span>
|
| 290 |
+
</div>
|
| 291 |
+
<p class="text-gray-600 text-sm mt-1">Finish the client proposal document and send for review</p>
|
| 292 |
+
<div class="flex flex-wrap gap-2 mt-3">
|
| 293 |
+
<span class="text-xs px-2 py-1 bg-blue-100 text-blue-800 rounded">Work</span>
|
| 294 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Due: Today</span>
|
| 295 |
+
<span class="text-xs px-2 py-1 bg-purple-100 text-purple-800 rounded">AI Suggestion</span>
|
| 296 |
+
</div>
|
| 297 |
+
</div>
|
| 298 |
+
<div class="flex space-x-2">
|
| 299 |
+
<button class="text-gray-500 hover:text-primary">
|
| 300 |
+
<i class="fas fa-edit"></i>
|
| 301 |
+
</button>
|
| 302 |
+
<button class="text-gray-500 hover:text-red-500">
|
| 303 |
+
<i class="fas fa-trash"></i>
|
| 304 |
+
</button>
|
| 305 |
+
</div>
|
| 306 |
+
</div>
|
| 307 |
+
</div>
|
| 308 |
+
|
| 309 |
+
<!-- Task 2 -->
|
| 310 |
+
<div class="task-card bg-white border rounded-xl p-5 priority-medium">
|
| 311 |
+
<div class="flex items-start">
|
| 312 |
+
<div class="flex items-center h-5 mr-3">
|
| 313 |
+
<input type="checkbox" class="task-checkbox h-5 w-5 text-primary rounded focus:ring-primary">
|
| 314 |
+
</div>
|
| 315 |
+
<div class="flex-1">
|
| 316 |
+
<div class="flex items-center">
|
| 317 |
+
<h3 class="task-title font-semibold text-lg">Buy groceries</h3>
|
| 318 |
+
<span class="ml-2 px-2 py-1 text-xs font-semibold bg-yellow-100 text-yellow-800 rounded-full">Medium Priority</span>
|
| 319 |
+
</div>
|
| 320 |
+
<p class="text-gray-600 text-sm mt-1">Milk, eggs, bread, fruits, vegetables</p>
|
| 321 |
+
<div class="flex flex-wrap gap-2 mt-3">
|
| 322 |
+
<span class="text-xs px-2 py-1 bg-green-100 text-green-800 rounded">Personal</span>
|
| 323 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Due: Tomorrow</span>
|
| 324 |
+
</div>
|
| 325 |
+
</div>
|
| 326 |
+
<div class="flex space-x-2">
|
| 327 |
+
<button class="text-gray-500 hover:text-primary">
|
| 328 |
+
<i class="fas fa-edit"></i>
|
| 329 |
+
</button>
|
| 330 |
+
<button class="text-gray-500 hover:text-red-500">
|
| 331 |
+
<i class="fas fa-trash"></i>
|
| 332 |
+
</button>
|
| 333 |
+
</div>
|
| 334 |
+
</div>
|
| 335 |
+
</div>
|
| 336 |
+
|
| 337 |
+
<!-- Task 3 -->
|
| 338 |
+
<div class="task-card bg-white border rounded-xl p-5 priority-low completed-task">
|
| 339 |
+
<div class="flex items-start">
|
| 340 |
+
<div class="flex items-center h-5 mr-3">
|
| 341 |
+
<input type="checkbox" class="task-checkbox h-5 w-5 text-primary rounded focus:ring-primary" checked>
|
| 342 |
+
</div>
|
| 343 |
+
<div class="flex-1">
|
| 344 |
+
<div class="flex items-center">
|
| 345 |
+
<h3 class="task-title font-semibold text-lg">Schedule dentist appointment</h3>
|
| 346 |
+
<span class="ml-2 px-2 py-1 text-xs font-semibold bg-green-100 text-green-800 rounded-full">Completed</span>
|
| 347 |
+
</div>
|
| 348 |
+
<p class="text-gray-600 text-sm mt-1">Call to schedule annual checkup</p>
|
| 349 |
+
<div class="flex flex-wrap gap-2 mt-3">
|
| 350 |
+
<span class="text-xs px-2 py-1 bg-pink-100 text-pink-800 rounded">Health</span>
|
| 351 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Due: Yesterday</span>
|
| 352 |
+
</div>
|
| 353 |
+
</div>
|
| 354 |
+
<div class="flex space-x-2">
|
| 355 |
+
<button class="text-gray-500 hover:text-primary">
|
| 356 |
+
<i class="fas fa-edit"></i>
|
| 357 |
+
</button>
|
| 358 |
+
<button class="text-gray-500 hover:text-red-500">
|
| 359 |
+
<i class="fas fa-trash"></i>
|
| 360 |
+
</button>
|
| 361 |
+
</div>
|
| 362 |
+
</div>
|
| 363 |
+
</div>
|
| 364 |
+
|
| 365 |
+
<!-- Task 4 -->
|
| 366 |
+
<div class="task-card bg-white border rounded-xl p-5 priority-medium">
|
| 367 |
+
<div class="flex items-start">
|
| 368 |
+
<div class="flex items-center h-5 mr-3">
|
| 369 |
+
<input type="checkbox" class="task-checkbox h-5 w-5 text-primary rounded focus:ring-primary">
|
| 370 |
+
</div>
|
| 371 |
+
<div class="flex-1">
|
| 372 |
+
<div class="flex items-center">
|
| 373 |
+
<h3 class="task-title font-semibold text-lg">Read 30 pages of book</h3>
|
| 374 |
+
<span class="ml-2 px-2 py-1 text-xs font-semibold bg-yellow-100 text-yellow-800 rounded-full">Medium Priority</span>
|
| 375 |
+
</div>
|
| 376 |
+
<p class="text-gray-600 text-sm mt-1">Finish chapter 5 of "Productivity Mastery"</p>
|
| 377 |
+
<div class="flex flex-wrap gap-2 mt-3">
|
| 378 |
+
<span class="text-xs px-2 py-1 bg-purple-100 text-purple-800 rounded">Learning</span>
|
| 379 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Due: This week</span>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
<div class="flex space-x-2">
|
| 383 |
+
<button class="text-gray-500 hover:text-primary">
|
| 384 |
+
<i class="fas fa-edit"></i>
|
| 385 |
+
</button>
|
| 386 |
+
<button class="text-gray-500 hover:text-red-500">
|
| 387 |
+
<i class="fas fa-trash"></i>
|
| 388 |
+
</button>
|
| 389 |
+
</div>
|
| 390 |
+
</div>
|
| 391 |
+
</div>
|
| 392 |
+
|
| 393 |
+
<!-- Task 5 -->
|
| 394 |
+
<div class="task-card bg-white border rounded-xl p-5 priority-high">
|
| 395 |
+
<div class="flex items-start">
|
| 396 |
+
<div class="flex items-center h-5 mr-3">
|
| 397 |
+
<input type="checkbox" class="task-checkbox h-5 w-5 text-primary rounded focus:ring-primary">
|
| 398 |
+
</div>
|
| 399 |
+
<div class="flex-1">
|
| 400 |
+
<div class="flex items-center">
|
| 401 |
+
<h3 class="task-title font-semibold text-lg">Prepare presentation for team meeting</h3>
|
| 402 |
+
<span class="ml-2 px-2 py-1 text-xs font-semibold bg-red-100 text-red-800 rounded-full">High Priority</span>
|
| 403 |
+
</div>
|
| 404 |
+
<p class="text-gray-600 text-sm mt-1">Create slides for quarterly review meeting</p>
|
| 405 |
+
<div class="flex flex-wrap gap-2 mt-3">
|
| 406 |
+
<span class="text-xs px-2 py-1 bg-blue-100 text-blue-800 rounded">Work</span>
|
| 407 |
+
<span class="text-xs px-2 py-1 bg-gray-100 text-gray-800 rounded">Due: Tomorrow</span>
|
| 408 |
+
</div>
|
| 409 |
+
</div>
|
| 410 |
+
<div class="flex space-x-2">
|
| 411 |
+
<button class="text-gray-500 hover:text-primary">
|
| 412 |
+
<i class="fas fa-edit"></i>
|
| 413 |
+
</button>
|
| 414 |
+
<button class="text-gray-500 hover:text-red-500">
|
| 415 |
+
<i class="fas fa-trash"></i>
|
| 416 |
+
</button>
|
| 417 |
+
</div>
|
| 418 |
+
</div>
|
| 419 |
+
</div>
|
| 420 |
+
</div>
|
| 421 |
+
|
| 422 |
+
<!-- Load More Button -->
|
| 423 |
+
<div class="mt-8 text-center">
|
| 424 |
+
<button class="px-6 py-3 bg-gray-100 hover:bg-gray-200 text-gray-800 font-medium rounded-lg transition duration-300">
|
| 425 |
+
Load More Tasks
|
| 426 |
+
</button>
|
| 427 |
+
</div>
|
| 428 |
+
</div>
|
| 429 |
+
</div>
|
| 430 |
+
</div>
|
| 431 |
+
</div>
|
| 432 |
+
|
| 433 |
+
<script>
|
| 434 |
+
// Task completion toggle
|
| 435 |
+
document.querySelectorAll('.task-checkbox').forEach(checkbox => {
|
| 436 |
+
checkbox.addEventListener('change', function() {
|
| 437 |
+
const taskCard = this.closest('.task-card');
|
| 438 |
+
if (this.checked) {
|
| 439 |
+
taskCard.classList.add('completed-task');
|
| 440 |
+
} else {
|
| 441 |
+
taskCard.classList.remove('completed-task');
|
| 442 |
+
}
|
| 443 |
+
});
|
| 444 |
+
});
|
| 445 |
+
|
| 446 |
+
// Form submission
|
| 447 |
+
document.getElementById('task-form').addEventListener('submit', function(e) {
|
| 448 |
+
e.preventDefault();
|
| 449 |
+
|
| 450 |
+
const title = document.getElementById('task-title').value;
|
| 451 |
+
if (title.trim() === '') {
|
| 452 |
+
alert('Please enter a task title');
|
| 453 |
+
return;
|
| 454 |
+
}
|
| 455 |
+
|
| 456 |
+
// In a real app, you would add the task to the list
|
| 457 |
+
alert('Task added successfully!');
|
| 458 |
+
this.reset();
|
| 459 |
+
});
|
| 460 |
+
|
| 461 |
+
// Simulate AI suggestions refresh
|
| 462 |
+
document.querySelector('.fa-sync').parentElement.addEventListener('click', function() {
|
| 463 |
+
this.innerHTML = '<i class="fas fa-sync fa-spin mr-2"></i> Refreshing...';
|
| 464 |
+
setTimeout(() => {
|
| 465 |
+
this.innerHTML = '<i class="fas fa-sync mr-2"></i> Refresh Suggestions';
|
| 466 |
+
}, 1000);
|
| 467 |
+
});
|
| 468 |
+
</script>
|
| 469 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=hieudhgdfgdfg/task-ai-lol" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 470 |
+
</html>
|