File size: 14,618 Bytes
272d177 | 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 | <!DOCTYPE html>
<html lang="en" class="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DevOps TaskMaster Pro</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
secondary: {
50: '#f0fdfa',
100: '#ccfbf1',
200: '#99f6e4',
300: '#5eead4',
400: '#2dd4bf',
500: '#14b8a6',
600: '#0d9488',
700: '#0f766e',
800: '#115e59',
900: '#134e4a',
}
}
}
}
}
</script>
</head>
<body class="bg-gray-50 dark:bg-gray-900 min-h-screen transition-colors duration-200">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-gray-900 dark:text-white">DevOps Task Board</h1>
<button id="theme-toggle" class="p-2 rounded-full bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-200">
<i data-feather="moon" class="hidden dark:block"></i>
<i data-feather="sun" class="dark:hidden"></i>
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Backlog Column -->
<div class="bg-gray-100 dark:bg-gray-800 rounded-lg p-4 shadow">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Backlog</h2>
<span class="bg-primary-500 text-white text-sm font-medium px-2.5 py-0.5 rounded-full">3</span>
</div>
<div class="space-y-4">
<div class="task-card" data-status="backlog" data-id="1">
<div class="flex justify-between items-start">
<h3 class="font-medium text-gray-900 dark:text-white">Configure CI/CD Pipeline</h3>
<button class="task-action-btn" data-action="assign">
<i data-feather="user-plus" class="w-4 h-4"></i>
</button>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400 mt-2">Set up automated deployment for frontend</p>
<div class="mt-3 flex justify-between items-center">
<span class="text-xs px-2 py-1 bg-secondary-100 dark:bg-secondary-900 text-secondary-800 dark:text-secondary-200 rounded-full">Deployment</span>
<span class="text-xs text-gray-500">Created: 2 days ago</span>
</div>
</div>
<div class="task-card" data-status="backlog" data-id="2">
<div class="flex justify-between items-start">
<h3 class="font-medium text-gray-900 dark:text-white">Database Backup Strategy</h3>
<button class="task-action-btn" data-action="assign">
<i data-feather="user-plus" class="w-4 h-4"></i>
</button>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400 mt-2">Implement automated daily backups</p>
<div class="mt-3 flex justify-between items-center">
<span class="text-xs px-2 py-1 bg-secondary-100 dark:bg-secondary-900 text-secondary-800 dark:text-secondary-200 rounded-full">Database</span>
<span class="text-xs text-gray-500">Created: 1 day ago</span>
</div>
</div>
<div class="task-card" data-status="backlog" data-id="3">
<div class="flex justify-between items-start">
<h3 class="font-medium text-gray-900 dark:text-white">Monitoring Setup</h3>
<button class="task-action-btn" data-action="assign">
<i data-feather="user-plus" class="w-4 h-4"></i>
</button>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400 mt-2">Configure Prometheus and Grafana</p>
<div class="mt-3 flex justify-between items-center">
<span class="text-xs px-2 py-1 bg-secondary-100 dark:bg-secondary-900 text-secondary-800 dark:text-secondary-200 rounded-full">Monitoring</span>
<span class="text-xs text-gray-500">Created: 5 hours ago</span>
</div>
</div>
</div>
<button id="add-task-btn" class="mt-4 w-full py-2 px-4 bg-primary-600 hover:bg-primary-700 text-white rounded-lg flex items-center justify-center gap-2">
<i data-feather="plus" class="w-4 h-4"></i>
Add Task
</button>
</div>
<!-- In Progress Column -->
<div class="bg-gray-100 dark:bg-gray-800 rounded-lg p-4 shadow">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">In Progress</h2>
<span class="bg-primary-500 text-white text-sm font-medium px-2.5 py-0.5 rounded-full">1</span>
</div>
<div class="space-y-4">
<div class="task-card" data-status="in-progress" data-id="4">
<div class="flex justify-between items-start">
<h3 class="font-medium text-gray-900 dark:text-white">Kubernetes Cluster Setup</h3>
<div class="flex gap-2">
<button class="task-action-btn" data-action="complete">
<i data-feather="check" class="w-4 h-4"></i>
</button>
<button class="task-action-btn" data-action="unassign">
<i data-feather="user-minus" class="w-4 h-4"></i>
</button>
</div>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400 mt-2">Configure production cluster with 3 nodes</p>
<div class="mt-3 flex justify-between items-center">
<span class="text-xs px-2 py-1 bg-secondary-100 dark:bg-secondary-900 text-secondary-800 dark:text-secondary-200 rounded-full">Infrastructure</span>
<div class="flex items-center gap-1">
<img src="http://static.photos/technology/200x200/5" class="w-6 h-6 rounded-full" alt="Assignee">
<span class="text-xs text-gray-500">Assigned to Alex</span>
</div>
</div>
</div>
</div>
</div>
<!-- Done Column -->
<div class="bg-gray-100 dark:bg-gray-800 rounded-lg p-4 shadow">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Done</h2>
<span class="bg-primary-500 text-white text-sm font-medium px-2.5 py-0.5 rounded-full">2</span>
</div>
<div class="space-y-4">
<div class="task-card" data-status="done" data-id="5">
<div class="flex justify-between items-start">
<h3 class="font-medium text-gray-900 dark:text-white">Dockerize Application</h3>
<button class="task-action-btn" data-action="reopen">
<i data-feather="refresh-cw" class="w-4 h-4"></i>
</button>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400 mt-2">Create Dockerfiles for all services</p>
<div class="mt-3 flex justify-between items-center">
<span class="text-xs px-2 py-1 bg-secondary-100 dark:bg-secondary-900 text-secondary-800 dark:text-secondary-200 rounded-full">Containerization</span>
<div class="flex items-center gap-1">
<img src="http://static.photos/technology/200x200/7" class="w-6 h-6 rounded-full" alt="Assignee">
<span class="text-xs text-gray-500">Completed by Sam</span>
</div>
</div>
</div>
<div class="task-card" data-status="done" data-id="6">
<div class="flex justify-between items-start">
<h3 class="font-medium text-gray-900 dark:text-white">Security Hardening</h3>
<button class="task-action-btn" data-action="reopen">
<i data-feather="refresh-cw" class="w-4 h-4"></i>
</button>
</div>
<p class="text-sm text-gray-600 dark:text-gray-400 mt-2">Implement firewall rules and SSH security</p>
<div class="mt-3 flex justify-between items-center">
<span class="text-xs px-2 py-1 bg-secondary-100 dark:bg-secondary-900 text-secondary-800 dark:text-secondary-200 rounded-full">Security</span>
<div class="flex items-center gap-1">
<img src="http://static.photos/technology/200x200/8" class="w-6 h-6 rounded-full" alt="Assignee">
<span class="text-xs text-gray-500">Completed by Jordan</span>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Add Task Modal -->
<div id="add-task-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white dark:bg-gray-800 rounded-lg p-6 w-full max-w-md">
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-semibold text-gray-900 dark:text-white">Add New Task</h3>
<button id="close-modal-btn" class="text-gray-400 hover:text-gray-500 dark:hover:text-gray-300">
<i data-feather="x" class="w-6 h-6"></i>
</button>
</div>
<form id="task-form" class="space-y-4">
<div>
<label for="task-title" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Title</label>
<input type="text" id="task-title" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:text-white" required>
</div>
<div>
<label for="task-description" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Description</label>
<textarea id="task-description" rows="3" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:text-white"></textarea>
</div>
<div>
<label for="task-category" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Category</label>
<select id="task-category" class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:text-white">
<option value="Deployment">Deployment</option>
<option value="Database">Database</option>
<option value="Monitoring">Monitoring</option>
<option value="Infrastructure">Infrastructure</option>
<option value="Containerization">Containerization</option>
<option value="Security">Security</option>
</select>
</div>
<div class="flex justify-end gap-3">
<button type="button" id="cancel-task-btn" class="px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700">Cancel</button>
<button type="submit" class="px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">Add Task</button>
</div>
</form>
</div>
</div>
<script src="components/navbar.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |