communitypulse-hub / admin-member-view.html
vanrowin's picture
complete all codes including user registration, manage finances, member management, generate reports and community settings
743a488 verified
Raw
History Blame Contribute Delete
17.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Member Details | 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>
</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">
<div>
<h1 class="text-2xl font-bold text-gray-800">Member Profile</h1>
<nav class="flex" aria-label="Breadcrumb">
<ol class="inline-flex items-center space-x-1 md:space-x-3">
<li class="inline-flex items-center">
<a href="/admin-members.html" class="inline-flex items-center text-sm font-medium text-primary-500 hover:text-primary-600">
<i data-feather="users" class="mr-2 w-4 h-4"></i>
Members
</a>
</li>
<li aria-current="page">
<div class="flex items-center">
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
<span class="ml-1 text-sm font-medium text-gray-500 md:ml-2">John Doe</span>
</div>
</li>
</ol>
</nav>
</div>
<div class="flex gap-4">
<button class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-md flex items-center gap-2 transition duration-300 hover:bg-gray-50">
<i data-feather="edit" class="w-4 h-4"></i>
Edit
</button>
<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="message-square" class="w-4 h-4"></i>
Message
</button>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-1">
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="p-6">
<div class="flex flex-col items-center">
<div class="h-24 w-24 rounded-full bg-gray-100 mb-4 overflow-hidden">
<img src="http://static.photos/people/200x200/1" alt="Member photo" class="h-full w-full object-cover">
</div>
<h3 class="text-xl font-bold text-gray-800">John Doe</h3>
<p class="text-gray-500 mb-2">Member since Jan 15, 2020</p>
<span class="px-3 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">Active</span>
</div>
<div class="mt-6 space-y-4">
<div class="flex items-center">
<div class="p-2 rounded-full bg-primary-100 text-primary-500 mr-3">
<i data-feather="mail" class="w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-500">Email</p>
<p class="text-sm font-medium text-gray-800">john@example.com</p>
</div>
</div>
<div class="flex items-center">
<div class="p-2 rounded-full bg-primary-100 text-primary-500 mr-3">
<i data-feather="phone" class="w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-500">Phone</p>
<p class="text-sm font-medium text-gray-800">+63 912 345 6789</p>
</div>
</div>
<div class="flex items-center">
<div class="p-2 rounded-full bg-primary-100 text-primary-500 mr-3">
<i data-feather="map-pin" class="w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-500">Address</p>
<p class="text-sm font-medium text-gray-800">123 Main St, Manila, Philippines</p>
</div>
</div>
<div class="flex items-center">
<div class="p-2 rounded-full bg-primary-100 text-primary-500 mr-3">
<i data-feather="user" class="w-4 h-4"></i>
</div>
<div>
<p class="text-sm text-gray-500">Role</p>
<p class="text-sm font-medium text-gray-800">Member</p>
</div>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow overflow-hidden mt-6">
<div class="p-6 border-b border-gray-200">
<h3 class="text-lg font-medium text-gray-900">Dues Status</h3>
</div>
<div class="p-6">
<div class="flex justify-between items-center mb-4">
<div>
<p class="text-sm text-gray-500">Current Status</p>
<p class="text-lg font-bold text-green-600">Paid</p>
</div>
<div class="text-right">
<p class="text-sm text-gray-500">Monthly Amount</p>
<p class="text-lg font-bold text-gray-800">₱2,500</p>
</div>
</div>
<div class="space-y-3">
<div class="flex justify-between">
<p class="text-sm text-gray-500">Last Payment</p>
<p class="text-sm font-medium text-gray-800">May 1, 2023</p>
</div>
<div class="flex justify-between">
<p class="text-sm text-gray-500">Next Payment Due</p>
<p class="text-sm font-medium text-gray-800">June 1, 2023</p>
</div>
<div class="flex justify-between">
<p class="text-sm text-gray-500">Payment Method</p>
<p class="text-sm font-medium text-gray-800">GCash</p>
</div>
<div class="flex justify-between">
<p class="text-sm text-gray-500">Total Paid</p>
<p class="text-sm font-medium text-gray-800">₱45,000</p>
</div>
</div>
<button class="w-full mt-6 bg-primary-500 hover:bg-primary-600 text-white py-2 px-4 rounded-md flex items-center justify-center gap-2 transition duration-300">
<i data-feather="credit-card" class="w-4 h-4"></i>
Record Payment
</button>
</div>
</div>
</div>
<div class="lg:col-span-2 space-y-6">
<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">Payment History</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="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">May 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on May 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+₱2,500</p>
<p class="text-sm text-gray-500">GCash • Receipt #45678</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="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">April 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on April 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+₱2,500</p>
<p class="text-sm text-gray-500">Bank Transfer • Receipt #44521</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="check" class="w-5 h-5"></i>
</div>
<div>
<p class="font-medium">March 2023 Dues</p>
<p class="text-sm text-gray-500">Processed on March 1, 2023</p>
</div>
</div>
<div class="text-right">
<p class="font-medium text-green-500">+₱2,500</p>
<p class="text-sm text-gray-500">GCash • Receipt #43210</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">Member Information</h3>
</div>
<div class="p-6">
<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">First Name</label>
<p class="text-sm text-gray-800">John</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Last Name</label>
<p class="text-sm text-gray-800">Doe</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Birth Date</label>
<p class="text-sm text-gray-800">June 15, 1985</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Gender</label>
<p class="text-sm text-gray-800">Male</p>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-1">Address</label>
<p class="text-sm text-gray-800">123 Main Street</p>
<p class="text-sm text-gray-800">Manila, Metro Manila 1000</p>
<p class="text-sm text-gray-800">Philippines</p>
</div>
<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">Emergency Contact</label>
<p class="text-sm text-gray-800">Jane Smith</p>
<p class="text-sm text-gray-500">+63 987 654 3210</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Relationship</label>
<p class="text-sm text-gray-800">Spouse</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">Activity Log</h3>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center">
<i data-feather="user" class="w-5 h-5 text-gray-500"></i>
</div>
</div>
<div>
<p class="text-sm font-medium text-gray-800">Profile updated</p>
<p class="text-sm text-gray-500">Updated phone number on April 28, 2023</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center">
<i data-feather="credit-card" class="w-5 h-5 text-gray-500"></i>
</div>
</div>
<div>
<p class="text-sm font-medium text-gray-800">Payment received</p>
<p class="text-sm text-gray-500">₱2,500 for March 2023 dues on March 1, 2023</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 mr-3">
<div class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center">
<i data-feather="calendar" class="w-5 h-5 text-gray-500"></i>
</div>
</div>
<div>
<p class="text-sm font-medium text-gray-800">Attended event</p>
<p class="text-sm text-gray-500">Annual General Meeting on February 15, 2023</p>
</div>
</div>
</div>
</div>
</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>