Spaces:
Running
Running
File size: 12,297 Bytes
f5c42d2 22e6c33 f5c42d2 22e6c33 f5c42d2 22e6c33 f5c42d2 22e6c33 f5c42d2 22e6c33 f5c42d2 22e6c33 f5c42d2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | <!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> |