communitypulse-hub / admin-dashboard.html
vanrowin's picture
Change CommunityPulse into United Tagaligtas Eagles Club and currency to Philippine Peso (Php)
22e6c33 verified
Raw
History Blame Contribute Delete
12.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard | CommunityPulse Hub</title>
<link rel="stylesheet" href="style.css">
<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>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
500: '#6366f1',
600: '#4f46e5'
},
secondary: {
500: '#8b5cf6',
600: '#7c3aed'
}
}
}
}
}
</script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-grow container mx-auto px-4 py-8">
<div class="mb-8 flex justify-between items-center">
<h1 class="text-2xl font-bold text-gray-800">Admin Dashboard</h1>
<div class="flex gap-4">
<button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-md flex items-center gap-2 transition duration-300">
<i data-feather="plus"></i>
Add Record
</button>
<button class="bg-secondary-500 hover:bg-secondary-600 text-white px-4 py-2 rounded-md flex items-center gap-2 transition duration-300">
<i data-feather="download"></i>
Export
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Total Members</p>
<h3 class="text-3xl font-bold text-gray-800">124</h3>
</div>
<div class="p-3 rounded-full bg-primary-100 text-primary-500">
<i data-feather="users" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 flex items-center gap-1">
<i data-feather="arrow-up" class="w-4 h-4"></i>
12% from last month
</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Monthly Dues</p>
<h3 class="text-3xl font-bold text-gray-800">₱162,250</h3>
</div>
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="dollar-sign" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 flex items-center gap-1">
<i data-feather="arrow-up" class="w-4 h-4"></i>
8% from last month
</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Community Expenses</p>
<h3 class="text-3xl font-bold text-gray-800">₱94,500</h3>
</div>
<div class="p-3 rounded-full bg-yellow-100 text-yellow-500">
<i data-feather="credit-card" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-red-500 flex items-center gap-1">
<i data-feather="arrow-down" class="w-4 h-4"></i>
5% from last month
</span>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500">Total Balance</p>
<h3 class="text-3xl font-bold text-gray-800">₱786,600</h3>
</div>
<div class="p-3 rounded-full bg-blue-100 text-blue-500">
<i data-feather="pie-chart" class="w-6 h-6"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 flex items-center gap-1">
<i data-feather="trending-up" class="w-4 h-4"></i>
15% from last month
</span>
</div>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
<div class="p-6 border-b border-gray-200">
<h3 class="text-lg font-medium text-gray-900">Recent Transactions</h3>
</div>
<div class="divide-y divide-gray-200">
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="dollar-sign" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Monthly Dues</p>
<p class="text-sm text-gray-500">From John Doe</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+₱2,500</p>
<p class="text-sm text-gray-500">2 days ago</p>
</div>
</div>
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-red-100 text-red-500">
<i data-feather="shopping-cart" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Community Supplies</p>
<p class="text-sm text-gray-500">Office materials</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-red-500">-₱6,025</p>
<p class="text-sm text-gray-500">5 days ago</p>
</div>
</div>
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-blue-100 text-blue-500">
<i data-feather="gift" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Donation</p>
<p class="text-sm text-gray-500">From Jane Smith</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+₱10,000</p>
<p class="text-sm text-gray-500">1 week ago</p>
</div>
</div>
<div class="p-6 flex items-center justify-between hover:bg-gray-50 transition duration-150">
<div class="flex items-center gap-4">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="dollar-sign" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Monthly Dues</p>
<p class="text-sm text-gray-500">From Robert Johnson</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+$50.00</p>
<p class="text-sm text-gray-500">1 week ago</p>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-6 border-b border-gray-200">
<h3 class="text-lg font-medium text-gray-900">Quick Actions</h3>
</div>
<div class="p-6 space-y-4">
<a href="/admin-finances.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-primary-100 text-primary-500">
<i data-feather="dollar-sign" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Manage Finances</p>
<p class="text-sm text-gray-500">View and manage all financial records</p>
</div>
</a>
<a href="/admin-members.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-secondary-100 text-secondary-500">
<i data-feather="users" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Member Management</p>
<p class="text-sm text-gray-500">View and manage all community members</p>
</div>
</a>
<a href="/admin-reports.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-500">
<i data-feather="file-text" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Generate Reports</p>
<p class="text-sm text-gray-500">Create financial reports</p>
</div>
</a>
<a href="/admin-settings.html" class="block p-4 bg-gray-50 hover:bg-gray-100 rounded-lg transition duration-150 flex items-center gap-3">
<div class="p-3 rounded-full bg-green-100 text-green-500">
<i data-feather="settings" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">Community Settings</p>
<p class="text-sm text-gray-500">Configure community parameters</p>
</div>
</a>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>