devpulse-radar / approval.html
WinLanEm's picture
нарисуй страницу Π²Ρ€ΠΎΠ΄Π΅ index Π³Π΄Π΅ Π±ΡƒΠ΄ΡƒΡ‚ ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ°Ρ‚ΡŒΡΡ всС активности, Π½Π° Π½Π΅Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΠΏΠ°ΡΡ‚ΡŒ Π»ΠΈΠ±ΠΎ Ρ‡Π΅Ρ€Π΅Π· sidebar Π½Π° страницС dashboard, Π»ΠΈΠ±ΠΎ Ρ‡Π΅Ρ€Π΅Π· ΠΊΠ½ΠΎΠΏΠΊΡƒ view all, Π½Π° Π½Π΅ΠΌ Π±ΡƒΠ΄ΡƒΡ‚ ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ°Ρ‚ΡŒΡΡ всС Π²ΠΈΠ΄Ρ‹ активностСй, Π΅ΡΡ‚ΡŒ ΠΎΠΏΡ†ΠΈΠΈ Ρ„ΠΈΠ»ΡŒΡ‚Ρ€Π° Π²Ρ‹Π±ΠΎΡ€ 3 Π²ΠΈΠ΄ΠΎΠ² активностСй commit pull request task, ΠΊΠ°ΠΆΠ΄ΡƒΡŽ ΠΈΠ· ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ°Π΅ΠΌΡ‹Ρ… активностСй ΠΌΠΎΠΆΠ½ΠΎ ΠΏΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ ΠΏΠΎΠ΄Ρ€ΠΎΠ±Π½Π΅Π΅, поэтому Π½Π° странС индСкс сдСлай эту ΠΊΠ½ΠΎΠΏΠΊΡƒ, Π° ΠΈΠ·Π½Π°Ρ‡Π°Π»ΡŒΠ½ΠΎ Π½Π° index страницС Ρƒ активности ΠΎΡ‚ΠΎΠ±Ρ€Π°ΠΆΠ°ΡŽΡ‚ΡΡ title, Π΄Π°Ρ‚Π° ΠΈ From (Ρ‚ΠΎ Π΅ΡΡ‚ΡŒ ΠΎΡ‚ΠΊΡƒΠ΄Π° с Π³ΠΈΡ‚ ΠΈΠ»ΠΈ jira asana), ΠΊΠ°ΠΊ-Ρ‚ΠΎ Ρ‚Π°ΠΊ
fd1b73f verified
Raw History Blame Contribute Delete
16.5 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task Approval | DevPulse Radar</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<div class="flex h-screen">
<!-- Sidebar -->
<nav class="w-64 bg-gray-800 border-r border-gray-700 hidden md:block">
<div class="p-4 border-b border-gray-700">
<div class="flex items-center space-x-2">
<i data-feather="activity" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold">DevPulse Radar</span>
</div>
</div>
<div class="p-4">
<ul class="space-y-2">
<li>
<a href="dashboard.html" class="flex items-center space-x-3 px-3 py-2 hover:bg-gray-700 rounded-lg transition">
<i data-feather="home" class="w-5 h-5"></i>
<span>Dashboard</span>
</a>
</li>
<li>
<a href="approval.html" class="flex items-center space-x-3 px-3 py-2 bg-gray-700 rounded-lg text-primary">
<i data-feather="check-circle" class="w-5 h-5"></i>
<span>Task Approval</span>
</a>
</li>
<li>
<a href="manual.html" class="flex items-center space-x-3 px-3 py-2 hover:bg-gray-700 rounded-lg transition">
<i data-feather="plus-circle" class="w-5 h-5"></i>
<span>Manual Add</span>
</a>
</li>
<li>
<a href="#" class="flex items-center space-x-3 px-3 py-2 hover:bg-gray-700 rounded-lg transition">
<i data-feather="settings" class="w-5 h-5"></i>
<span>Settings</span>
</a>
</li>
</ul>
</div>
</nav>
<!-- Main Content -->
<div class="flex-1 overflow-auto">
<!-- Top Navigation -->
<header class="sticky top-0 z-10 bg-gray-800 border-b border-gray-700 p-4">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<button class="md:hidden">
<i data-feather="menu" class="w-5 h-5"></i>
</button>
<div class="relative w-full max-w-md">
<i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-500 w-5 h-5"></i>
<input type="text" placeholder="Search tasks..." class="w-full bg-gray-700 border-none pl-10 pr-4 py-2 rounded-lg focus:ring-2 focus:ring-primary">
</div>
</div>
<div class="flex items-center space-x-4">
<button class="relative">
<i data-feather="bell" class="w-5 h-5"></i>
<span class="absolute top-0 right-0 w-2 h-2 bg-primary rounded-full"></span>
</button>
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-full bg-primary flex items-center justify-center">
<span class="text-sm font-medium">JD</span>
</div>
<span class="hidden md:inline">John Developer</span>
<i data-feather="chevron-down" class="w-4 h-4 hidden md:inline"></i>
</div>
</div>
</div>
</header>
<!-- Approval Content -->
<main class="p-6">
<div class="mb-8">
<h2 class="text-2xl font-bold mb-2">Task Approval</h2>
<p class="text-gray-400">Review and approve tasks fetched from your integrations</p>
</div>
<div class="flex flex-col lg:flex-row gap-6">
<!-- Task List -->
<div class="lg:w-1/3">
<div class="bg-gray-800 rounded-xl border border-gray-700 overflow-hidden">
<div class="p-4 border-b border-gray-700">
<div class="flex justify-between items-center">
<h3 class="font-medium">Pending Approval (5)</h3>
<button class="text-sm text-primary hover:underline">Refresh</button>
</div>
</div>
<div class="divide-y divide-gray-700 max-h-[calc(100vh-220px)] overflow-y-auto">
<!-- Task Card -->
<div class="p-4 hover:bg-gray-700 cursor-pointer transition">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded bg-gray-600 flex items-center justify-center">
<i data-feather="check-circle" class="w-4 h-4"></i>
</div>
</div>
<div>
<h4 class="font-medium">PROJ-123: Implement auth middleware</h4>
<p class="text-sm text-gray-400 mt-1">From Jira</p>
</div>
</div>
</div>
<!-- Task Card -->
<div class="p-4 hover:bg-gray-700 cursor-pointer transition">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded bg-gray-600 flex items-center justify-center">
<i data-feather="git-pull-request" class="w-4 h-4"></i>
</div>
</div>
<div>
<h4 class="font-medium">PR #42: Refactor API endpoints</h4>
<p class="text-sm text-gray-400 mt-1">From GitHub</p>
</div>
</div>
</div>
<!-- Task Card -->
<div class="p-4 hover:bg-gray-700 cursor-pointer transition">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded bg-gray-600 flex items-center justify-center">
<i data-feather="check-circle" class="w-4 h-4"></i>
</div>
</div>
<div>
<h4 class="font-medium">TASK-15: Update documentation</h4>
<p class="text-sm text-gray-400 mt-1">From Asana</p>
</div>
</div>
</div>
<!-- Task Card -->
<div class="p-4 hover:bg-gray-700 cursor-pointer transition">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded bg-gray-600 flex items-center justify-center">
<i data-feather="check-circle" class="w-4 h-4"></i>
</div>
</div>
<div>
<h4 class="font-medium">BUG-77: Fix login redirect</h4>
<p class="text-sm text-gray-400 mt-1">From Jira</p>
</div>
</div>
</div>
<!-- Task Card -->
<div class="p-4 hover:bg-gray-700 cursor-pointer transition bg-gray-700">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded bg-gray-600 flex items-center justify-center">
<i data-feather="git-pull-request" class="w-4 h-4"></i>
</div>
</div>
<div>
<h4 class="font-medium">PR #38: Update dependencies</h4>
<p class="text-sm text-gray-400 mt-1">From GitLab</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Task Details -->
<div class="lg:w-2/3">
<div class="bg-gray-800 rounded-xl border border-gray-700 p-6">
<div class="flex justify-between items-start">
<div>
<h3 class="text-xl font-bold">PR #38: Update dependencies</h3>
<div class="flex items-center space-x-2 mt-2">
<div class="px-2 py-1 bg-gray-700 rounded text-xs flex items-center">
<i data-feather="git-pull-request" class="w-3 h-3 mr-1"></i>
<span>From GitLab</span>
</div>
<span class="text-sm text-gray-400">Opened 2 days ago</span>
</div>
</div>
<div class="flex space-x-2">
<button class="px-4 py-2 bg-red-600 hover:bg-red-700 rounded-lg transition">
Reject
</button>
<button class="px-4 py-2 bg-primary hover:bg-primary/90 rounded-lg transition">
Approve
</button>
</div>
</div>
<div class="mt-8">
<h4 class="font-medium mb-2">Description</h4>
<div class="bg-gray-700 rounded-lg p-4 text-sm">
<p>Updated all outdated dependencies to their latest stable versions:</p>
<ul class="list-disc pl-5 mt-2 space-y-1">
<li>React 17 β†’ 18.2.0</li>
<li>Tailwind CSS 2 β†’ 3.3.0</li>
<li>Node.js 14 β†’ 18.12.1</li>
<li>Various security updates</li>
</ul>
<p class="mt-2">All tests pass and the application runs without issues.</p>
</div>
</div>
<div class="mt-8">
<h4 class="font-medium mb-2">Details</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<p class="text-sm text-gray-400">Repository</p>
<p class="mt-1">project-x/frontend</p>
</div>
<div>
<p class="text-sm text-gray-400">Branch</p>
<p class="mt-1">dependabot-updates</p>
</div>
<div>
<p class="text-sm text-gray-400">Commit</p>
<p class="mt-1 truncate">a1b2c3d4... Update package.json</p>
</div>
<div>
<p class="text-sm text-gray-400">Time Spent</p>
<p class="mt-1">Approx. 1.5 hours</p>
</div>
</div>
</div>
<div class="mt-8">
<h4 class="font-medium mb-2">Comments (3)</h4>
<div class="space-y-4">
<div class="flex space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded-full bg-gray-600"></div>
</div>
<div>
<p class="font-medium">Team Member</p>
<p class="text-sm text-gray-400">Looks good to me, but did you test the new React version with our custom hooks?</p>
</div>
</div>
<div class="flex space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded-full bg-gray-600"></div>
</div>
<div>
<p class="font-medium">Another Reviewer</p>
<p class="text-sm text-gray-400">The security updates are much needed. Thanks for taking care of this!</p>
</div>
</div>
<div class="flex space-x-3">
<div class="flex-shrink-0">
<div class="w-8 h-8 rounded-full bg-gray-600"></div>
</div>
<div>
<p class="font-medium">You</p>
<p class="text-sm text-gray-400">Yes, tested all custom hooks and they work as expected with React 18.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>