leadgenius-wizardry / settings.html
Delebre's picture
create an html for the following buttons lead database, analytics and settings
d4ac5f7 verified
Raw History Blame Contribute Delete
18.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Settings - 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-gray-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 w-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="/极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"></i>
<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 Campaign极</span>
</a>
<a href="/lead-database.html" class="flex items-center p-3 rounded-lg text-gray-700 hover:bg极-100">
<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 bg-indigo-50 text-indigo-700">
<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极-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">Settings</h1>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." 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>
</极>
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="bell" class="h-6 w-6"></i>
</button>
</div>
</div>
</header>
<!-- Settings Content -->
<main class="flex-1 overflow-y-auto p-6 bg-gray-50">
<!-- Account Settings -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 mb-6">
<h2 class="text-lg font-semibold text-gray-900 mb-6">Account Settings</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
<input type="text" value="Jane Cooper" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Email Address</label>
<input type="email" value="jane@example.com" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Company</label>
<input type="text" value="TechGrowth Inc." class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label>
<input type="tel" value="+1 (555) 123-4567" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
</div>
<div class="flex justify-end">
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-2 rounded-lg text-sm font-medium">
Save Changes
</button>
</div>
</div>
<!-- Email Integration -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 mb-6">
<h2 class="text-lg font-semibold text-gray-900 mb-6">Email Integration</h2>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">SMTP Server</label>
<input type="text" placeholder="smtp.yourdomain.com" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">SMTP Username</label>
<input type="text" placeholder="your@email.com" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:极2 focus:ring-indigo-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">SMTP Password</label>
<input type="password" placeholder="••••••••" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">SMTP Port</label>
<input type="number" value="587" class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Encryption</label>
<select class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>TLS</option>
<option>SSL</option>
<option>None</option>
</select>
</div>
</div>
<div class="flex justify-end">
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-2 rounded-lg text-sm font-medium">
Test Connection
</button>
</div>
</div>
<!-- AI Settings -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 mb-6">
<h2 class="text-lg font-semibold text-gray-900 mb-6">AI Settings</h2>
<div class="space-y-4">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-900">AI-Powered Lead Search</p>
<p class="text-sm text-gray-500">Enable AI to find leads based on natural language descriptions</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-indigo-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
</label>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-900">AI Email Personalization</p>
<p class="text-sm text-gray-500">Automatically personalize emails based on lead profiles</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer极focus:ring-indigo-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
</label>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-900">AI Response Analysis</p>
<p class="text-sm text-gray-500">Analyze email responses and suggest follow-up actions</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-indigo-300 rounded-full peer peer-check极after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
</label>
</div>
</div>
</div>
<!-- Notification Settings -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 mb-6">
<h2 class="text-lg font-semibold text-gray-900 mb-6">Notification Settings</h2>
<div class="space-y-4">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-900">Email Notifications</p>
<p class="text-sm text-gray-500">Receive email alerts for new leads and campaign updates</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-indigo-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:极white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
</label>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-900">Browser Notifications</p>
<p class="text-sm text-gray-500">Show desktop notifications for important events</p>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-indigo-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
</label>
</div>
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-900">Weekly Reports</p>
<p class="text-sm text-gray-500">Send weekly performance reports via email</p>
</div>
<label class="relative inline-flex items极cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-indigo-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-极after:transition-all peer极checked:bg-indigo-600"></div>
</label>
</div>
</div>
</div>
<!-- Danger Zone -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-red-200">
<h2 class="text-lg font-semibold text-red-900 mb-6">Danger Zone</h2>
<div class="space-y-4">
<div>
<p class="text-sm font-medium text-gray-900 mb-2">Export All Data</p>
<p class="text-sm text-gray-500 mb-4">Download a complete backup of all your leads, campaigns, and settings</p>
<button class="bg-gray-200 hover:bg-gray-300 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium">
Export Data
</button>
</div>
<div class="border-t border-gray-200 pt-4">
<p class="text-sm font-medium text-red-900 mb-2">Delete Account</p>
<p class="text-sm text-gray-500 mb-4">Permanently delete your account and all associated data. This action cannot be undone.</p>
<button class="bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded-lg text-sm font-medium">
Delete Account
</button>
</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>