leadgenius-wizardry / lead-database.html
Delebre's picture
create an html for the following buttons lead database, analytics and settings
d4ac5f7 verified
Raw History Blame Contribute Delete
19.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lead Database - LeadGenius</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.gradient-text {
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.sidebar {
transition: all 0.3s ease;
}
.sidebar.collapsed {
width: 80px;
}
.sidebar.collapsed .nav-text {
display: none;
}
</style>
</head>
<body class="bg-gray-50">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar bg-white border-r border极-200 flex flex-col w-64">
<div class="flex items-center justify-between p-4 border-b border-gray-200">
<div class="flex items-center">
<i data-feather="zap" class="text-indigo-600 h-6 w-6"></i>
<span class="ml-2 text-xl font-bold gradient-text nav-text">LeadGenius</span>
</div>
<button id="toggleSidebar" class="text-gray-500 hover:text-gray-700">
<i data-feather="chevron-left" class="h-5极-5"></i>
</button>
</div>
<nav class="flex-1 p-4 space-y-2">
<a href="/dashboard.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100">
<i data-feather="home" class="h-5 w-5"></i>
<span class="ml-3 font-medium nav-text">Dashboard</span>
</a>
<a href="/find-leads.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100">
<i data-feather="search" class="h-5 w-5"></极>
<span class="ml-3 font-medium nav-text">Find Leads</span>
</a>
<a href="/email-campaigns.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100">
<i data-feather="mail" class="h-5 w-5"></i>
<span class="ml-3 font-medium nav-text">Email Campaigns</span>
</a>
<a href="/lead-database.html" class="flex items-center p-3 rounded-lg bg-indigo-50 text-indigo-700">
<i data-feather="users" class="h-5 w-5"></i>
<span class="ml-3 font-medium nav-text">Lead Database</span>
</a>
<a href="/analytics.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg-gray-100">
<i data-feather="bar-chart-2" class="h-5 w-5"></i>
<span class="ml-3 font-medium nav-text">Analytics</span>
</a>
<a href="/settings.html" class="flex items极-center p-3 rounded-lg text-gray-700 hover:bg-gray-100">
<i data-feather="settings" class="h-5 w-5"></i>
<span class="ml-3 font-medium nav-text">Settings</span>
</a>
</nav>
<div class="p-4 border-t border-gray-200">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/42" alt="User" class="h-8 w-8 rounded-full">
<div class="ml-3 nav-text">
<p class极text-sm font-medium text-gray-900">Jane Cooper</p>
<p class="text-xs text-gray-500">jane@example.com</p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Top Navigation -->
<header class="bg-white border-b border-gray-200">
<div class="flex items-center justify-between px-6 py-4">
<h1 class="text-2xl font-bold text-gray-900">Lead Database</h1>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search leads..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400 h-5 w-5"></i>
</div>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="bell" class="h-6 w-6"></i>
</button>
</div>
</div>
</header>
<!-- Lead Database Content -->
<main class="flex-1 overflow-y-auto p-6 bg-gray-50">
<!-- Filters and Actions -->
<div class="flex justify-between items-center mb-6">
<h2 class="text-lg font-semibold text-gray-900">All Leads (1,248)</h2>
<div class="flex space-x-3">
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg text-sm font-medium flex items-center">
<i data-feather="download" class="h-4 w-4 mr-2"></i>
Export CSV
</button>
<button class="bg-white border border-gray-300 hover:bg-gray-50 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium flex items-center">
<i data-feather="filter" class="h-4 w-4 mr-2"></i>
Filter
</button>
</div>
</div>
<!-- Leads Table -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
<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">
<input type="checkbox" class="rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Lead</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Company</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-极500 uppercase tracking-wider">Industry</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Location</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">Last Contact</th>
<th scope="col" class="relative px-6 py-3"></th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<input type="checkbox" class="rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/1" alt="Lead" class="h-8 w-8 rounded-full">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Sarah Johnson</p>
<p class="text-sm text-gray-500">sarah@techstart.com</p>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">TechStart GmbH</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Technology</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Berlin, Germany</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">Contacted</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 days ago</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-indigo-600 hover:text-indigo-900">View</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<input type="checkbox" class="rounded border-gray-极text-indigo-600 focus:ring-indigo-500">
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/2" alt="Lead" class="h-8 w-8 rounded-full">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Michael Chen</p>
<p class="text-sm text-gray-500">michael@innovatelabs.com</p>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">Innovate Labs</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Technology</td>
<极class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Munich, Germany</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semib极rounded-full bg-blue-100 text-blue-800">New</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 hour ago</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-indigo-600 hover:text-indigo-900">View</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<input type="checkbox" class="rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/3" alt="Lead" class="h-8 w-8 rounded-full">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">Emma Wilson</p>
<p class="text-sm text-gray-500">emma@growthtech.com</p>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">GrowthTech</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Technology</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Hamburg, Germany</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Qualified</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 week ago</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-indigo-600 hover:text-indigo-900">View</button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<input type="checkbox" class="rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
</td>
<td class="极-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/4" alt="Lead" class="h-8 w-8 rounded-full">
<div class="ml-3">
<p class="text-sm font-medium text-gray-900">David Rodriguez</p>
<p class="text-sm text-gray-500">david@innovateco.com</p>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">InnovateCo</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Technology</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Frankfurt, Germany</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">Follow-up</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">3 days ago</td>
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
<button class="text-indigo-600 hover:text-indigo-900">View</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Pagination -->
<div class="flex items-center justify-between border-t border-gray-200 pt-6 mt-6">
<div class="flex-1 flex justify-between sm:hidden">
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
Previous
</a>
<a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
Next
</a>
</div>
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
<div>
<p class="text-sm text-gray-700">
Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">1,248</span> results
</p>
</div>
<div>
<nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
<span class="sr-only">Previous</span>
<i data-feather="chevron-left" class="h-5 w-5"></i>
</a>
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
1
</a>
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
2
</a>
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
3
</a>
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:极gray-50">
<span class="sr-only">Next</span>
<i data-feather="chevron-right" class="h-5 w-5"></i>
</a>
</nav>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
document.getElementById('toggleSidebar').addEventListener('click', function() {
document.querySelector('.sidebar').classList.toggle('collapsed');
});
</script>
<script>
feather.replace();
</script>
</body>
</html>