devpulse-radar / manual.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
7.92 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>Manual Add | 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 hover:bg-gray-700 rounded-lg transition">
<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 bg-gray-700 rounded-lg text-primary">
<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..." 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>
<!-- Manual Add Content -->
<main class="p-6">
<div class="mb-8">
<h2 class="text-2xl font-bold mb-2">Add Manual Task</h2>
<p class="text-gray-400">Track activities that aren't automatically captured by integrations</p>
</div>
<div class="max-w-2xl">
<form class="space-y-6">
<div>
<label for="title" class="block text-sm font-medium mb-1">Task Title</label>
<input type="text" id="title" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="What did you work on?">
</div>
<div>
<label for="description" class="block text-sm font-medium mb-1">Description</label>
<textarea id="description" rows="4" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="Add details about the task..."></textarea>
</div>
<div>
<label for="category" class="block text-sm font-medium mb-1">Category/Project</label>
<select id="category" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary focus:border-transparent">
<option value="">Select a category</option>
<option value="development">Development</option>
<option value="documentation">Documentation</option>
<option value="meeting">Meeting</option>
<option value="research">Research</option>
<option value="other">Other</option>
</select>
</div>
<div>
<label for="date" class="block text-sm font-medium mb-1">Date of Completion</label>
<input type="date" id="date" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label for="time" class="block text-sm font-medium mb-1">Time Spent (optional)</label>
<div class="flex space-x-4">
<input type="number" id="hours" placeholder="Hours" min="0" class="flex-1 bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary focus:border-transparent">
<input type="number" id="minutes" placeholder="Minutes" min="0" max="59" class="flex-1 bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
</div>
<div class="pt-4">
<button type="submit" class="bg-primary hover:bg-primary/90 px-6 py-3 rounded-lg font-medium transition flex items-center">
<i data-feather="plus" class="w-5 h-5 mr-2"></i>
Add to my activity
</button>
</div>
</form>
</div>
</main>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>