finflux-microfinance-pro / settings.html
CyberMuse's picture
make dashboard ,clients,loans, reports ,setting section fully functional and change currnecy to inr rupee and delete saving section
c74e1bf verified
Raw History Blame Contribute Delete
21.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Settings - FinFlux MicroFinance Pro</title>
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💰</text></svg>">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<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: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
300: '#c4b5fd',
400: '#a78bfa',
500: '#8b5cf6',
600: '#7c3aed',
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
}
}
}
}
}
</script>
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
}
.sidebar-item:hover {
background-color: rgba(14, 165, 233, 0.1);
}
.active-sidebar {
background-color: rgba(14, 165, 233, 0.2);
border-left: 4px solid #0ea5e9;
}
.setting-card {
transition: all 0.3s ease;
}
.setting-card:hover {
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="bg-gray-50">
<!-- Main Container -->
<div class="flex h-screen">
<!-- Sidebar -->
<div class="w-64 bg-white shadow-lg flex flex-col">
<div class="p-6 border-b">
<div class="flex items-center space-x-3">
<div class="bg-primary-500 text-white p-2 rounded-lg">
<i data-feather="dollar-sign" class="w-6 h-6"></i>
</div>
<h1 class="text-xl font-bold text-gray-800">FinFlux Pro</h1>
</div>
</div>
<nav class="flex-1 px-4 py-6">
<ul class="space-y-2">
<li>
<a href="index.html" class="flex items-center space-x-3 p-3 rounded-lg sidebar-item">
<i data-feather="home" class="w-5 h-5 text-gray-500"></i>
<span class="font-medium text-gray-700">Dashboard</span>
</a>
</li>
<li>
<a href="clients.html" class="flex items-center space-x-3 p-3 rounded-lg sidebar-item">
<i data-feather="users" class="w-5 h-5 text-gray-500"></i>
<span class="font-medium text-gray-700">Clients</span>
</a>
</li>
<li>
<a href="loans.html" class="flex items-center space-x-3 p-3 rounded-lg sidebar-item">
<i data-feather="credit-card" class="w-5 h-5 text-gray-500"></i>
<span class="font-medium text-gray-700">Loans</span>
</a>
</li>
<li>
<a href="reports.html" class="flex items-center space-x-3 p-3 rounded-lg sidebar-item">
<i data-feather="bar-chart-2" class="w-5 h-5 text-gray-500"></i>
<span class="font-medium text-gray-700">Reports</span>
</a>
</li>
<li>
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg active-sidebar">
<i data-feather="settings" class="w-5 h-5 text-primary-500"></i>
<span class="font-medium text-gray-700">Settings</span>
</a>
</li>
</ul>
</nav>
<div class="p-4 border-t">
<div class="flex items-center space-x-3">
<div class="bg-gray-200 border-2 border-dashed rounded-xl w-10 h-10" />
<div>
<p class="font-medium text-gray-700">Admin User</p>
<p class="text-sm text-gray-500">admin@finflux.com</p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Top Bar -->
<header class="bg-white shadow-sm">
<div class="flex items-center justify-between p-4">
<div class="flex items-center space-x-4">
<h2 class="text-2xl font-bold text-gray-800">Settings</h2>
</div>
<div class="flex items-center space-x-6">
<div class="relative">
<input type="text" placeholder="Search settings..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-primary-300 focus:border-transparent">
<i data-feather="search" class="absolute left-3 top-2.5 w-5 h-5 text-gray-400"></i>
</div>
<button class="relative p-2 text-gray-500 hover:text-gray-700">
<i data-feather="bell" class="w-6 h-6"></i>
<span class="absolute top-0 right-0 w-3 h-3 bg-red-500 rounded-full"></span>
</button>
<button class="flex items-center space-x-2">
<div class="bg-gray-200 border-2 border-dashed rounded-xl w-10 h-10" />
<span class="font-medium text-gray-700">Admin</span>
<i data-feather="chevron-down" class="w-4 h-4 text-gray-500"></i>
</button>
</div>
</div>
</header>
<!-- Settings Content -->
<main class="flex-1 overflow-y-auto p-6 bg-gray-50">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Profile Settings -->
<div class="lg:col-span-1">
<div class="setting-card bg-white rounded-xl shadow-sm p-6 mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Profile Settings</h3>
<div class="flex flex-col items-center mb-6">
<div class="bg-gray-200 border-2 border-dashed rounded-xl w-20 h-20 mb-4" />
<button class="text-sm text-primary-500 font-medium">Change Profile Picture</button>
</div>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
<input type="text" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="Admin User">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Email Address</label>
<input type="email" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="admin@finflux.com">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label>
<input type="tel" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="+91 98765 43210">
</div>
</div>
<div class="mt-6">
<button class="w-full bg-primary-500 hover:bg-primary-600 text-white py-2 rounded-lg text-sm font-medium">
Save Changes
</button>
</div>
</div>
<div class="setting-card bg-white rounded-xl shadow-sm p-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Security</h3>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Current Password</label>
<input type="password" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">New Password</label>
<input type="password" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Confirm New Password</label>
<input type="password" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300">
</div>
</div>
<div class="mt-6">
<button class="w-full bg-primary-500 hover:bg-primary-600 text-white py-2 rounded-lg text-sm font-medium">
Update Password
</button>
</div>
</div>
</div>
<!-- System Settings -->
<div class="lg:col-span-2">
<div class="setting-card bg-white rounded-xl shadow-sm p-6 mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">System Settings</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Organization Name</label>
<input type="text" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="FinFlux MicroFinance Pro">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Currency</label>
<select class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300">
<option>₹ INR (Indian Rupee)</option>
<option>$ USD (US Dollar)</option>
<option>€ EUR (Euro)</option>
<option>£ GBP (British Pound)</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Timezone</label>
<select class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300">
<option>(UTC+05:30) India Standard Time</option>
<option>(UTC-05:00) Eastern Time</option>
<option>(UTC+00:00) Greenwich Mean Time</option>
<option>(UTC+01:00) Central European Time</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Date Format</label>
<select class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300">
<option>DD/MM/YYYY</option>
<option>MM/DD/YYYY</option>
<option>YYYY-MM-DD</option>
</select>
</div>
</div>
<div class="mt-6">
<button class="w-full bg-primary-500 hover:bg-primary-600 text-white py-2 rounded-lg text-sm font-medium">
Save System Settings
</button>
</div>
</div>
<div class="setting-card bg-white rounded-xl shadow-sm p-6 mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Loan Settings</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Default Interest Rate (%)</label>
<input type="number" step="0.1" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="12">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Minimum Loan Amount (₹)</label>
<input type="number" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="5000">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Maximum Loan Amount (₹)</label>
<input type="number" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="500000">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Default Loan Term (months)</label>
<input type="number" class="w-full rounded-lg border border-gray-300 px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary-300" value="12">
</div>
</div>
<div class="mt-6">
<button class="w-full bg-primary-500 hover:bg-primary-600 text-white py-2 rounded-lg text-sm font-medium">
Save Loan Settings
</button>
</div>
</div>
<div class="setting-card bg-white rounded-xl shadow-sm p-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Notifications</h3>
<div class="space-y-4">
<div class="flex items-center justify-between">
<div>
<p class="font-medium text-gray-800">Email Notifications</p>
<p class="text-sm text-gray-500">Receive important updates via email</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 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-primary-500"></div>
</label>
</div>
<div class="flex items-center justify-between">
<div>
<p class="font-medium text-gray-800">SMS Notifications</p>
<p class="text-sm text-gray-500">Receive alerts via SMS</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 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-primary-500"></div>
</label>
</div>
<div class="flex items-center justify-between">
<div>
<p class="font-medium text-gray-800">Loan Due Reminders</p>
<p class="text-sm text-gray-500">Send reminders before payment due dates</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 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-primary-500"></div>
</label>
</div>
</div>
<div class="mt-6">
<button class="w-full bg-primary-500 hover:bg-primary-600 text-white py-2 rounded-lg text-sm font-medium">
Save Notification Settings
</button>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>