lodgemaster-pro-suite / index.html
keronblackdev's picture
make all the buttons and links fully functional not just models
fc1f67d verified
Raw History Blame Contribute Delete
13.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LodgeMaster Pro | Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
</head>
<body class="bg-gray-100">
<custom-navbar></custom-navbar>
<div class="container mx-auto px-4 py-8">
<!-- Dashboard Header -->
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
<div>
<h1 class="text-3xl font-bold text-gray-800">Dashboard Overview</h1>
<p class="text-gray-600">Welcome back! Here's what's happening today.</p>
</div>
<div class="mt-4 md:mt-0">
<div class="flex space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
<button class="flex items-center bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-lg transition-colors"
data-action="new-booking">
<i data-feather="plus" class="mr-2"></i>
New Booking
</button>
</div>
</div>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-500">Total Rooms</p>
<h3 class="text-2xl font-bold mt-1">24</h3>
</div>
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
<i data-feather="home"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 text-sm font-medium">+2.5% from last month</span>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-500">Occupied Now</p>
<h3 class="text-2xl font-bold mt-1">18</h3>
</div>
<div class="p-3 rounded-full bg-green-100 text-green-600">
<i data-feather="users"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 text-sm font-medium">75% occupancy</span>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-500">Today's Revenue</p>
<h3 class="text-2xl font-bold mt-1">1,240,000 UGX</h3>
</div>
<div class="p-3 rounded-full bg-purple-100 text-purple-600">
<i data-feather="dollar-sign"></i>
</div>
</div>
<div class="mt-4">
<span class="text-green-500 text-sm font-medium">+15% from yesterday</span>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-500">Pending Bookings</p>
<h3 class="text-2xl font-bold mt-1">3</h3>
</div>
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
<i data-feather="clock"></i>
</div>
</div>
<div class="mt-4">
<span class="text-red-500 text-sm font-medium">Require attention</span>
</div>
</div>
</div>
<!-- Recent Bookings & Rooms Status -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2 bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-semibold text-gray-800">Recent Bookings</h2>
<a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">View All</a>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Room</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Guest</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Check-In</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Room 101</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">John Mwesige</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Short (30,000 UGX)</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Today, 10:30 AM</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Occupied</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Room 205</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sarah Nakato</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Bathing (20,000 UGX)</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Today, 11:45 AM</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Room 303</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">David Kato</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Short (30,000 UGX)</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Yesterday, 4:20 PM</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Checked Out</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-semibold text-gray-800">Rooms Status</h2>
<a href="#" class="text-blue-600 hover:text-blue-800 text-sm font-medium">Manage Rooms</a>
</div>
<div class="space-y-4">
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
<span class="text-sm font-medium">Available</span>
</div>
<span class="text-sm font-semibold">6 Rooms</span>
</div>
<div class="flex items-center justify-between p-3 bg-blue-50 rounded-lg">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div>
<span class="text-sm font-medium">Occupied</span>
</div>
<span class="text-sm font-semibold">18 Rooms</span>
</div>
<div class="flex items-center justify-between p-3 bg-yellow-50 rounded-lg">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
<span class="text-sm font-medium">Maintenance</span>
</div>
<span class="text-sm font-semibold">2 Rooms</span>
</div>
<div class="flex items-center justify-between p-3 bg-red-50 rounded-lg">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
<span class="text-sm font-medium">Out of Service</span>
</div>
<span class="text-sm font-semibold">1 Room</span>
</div>
</div>
<div class="mt-8">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Quick Actions</h3>
<div class="grid grid-cols-2 gap-3">
<button class="flex items-center justify-center p-3 bg-blue-100 text-blue-700 rounded-lg hover:bg-blue-200 transition-colors"
data-action="new-booking">
<i data-feather="plus-circle" class="mr-2"></i>
New Booking
</button>
<button class="flex items-center justify-center p-3 bg-green-100 text-green-700 rounded-lg hover:bg-green-200 transition-colors"
data-action="check-out">
<i data-feather="check-circle" class="mr-2"></i>
Check Out
</button>
<button class="flex items-center justify-center p-3 bg-purple-100 text-purple-700 rounded-lg hover:bg-purple-200 transition-colors"
data-action="record-payment">
<i data-feather="dollar-sign" class="mr-2"></i>
Record Payment
</button>
<button class="flex items-center justify-center p-3 bg-yellow-100 text-yellow-700 rounded-lg hover:bg-yellow-200 transition-colors"
data-action="print-report">
<i data-feather="printer" class="mr-2"></i>
Print Report
</button>
</div>
</div>
</div>
</div>
</div>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="components/sidebar.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
VANTA.NET({
el: "body",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
backgroundColor: 0xf8fafc,
points: 12.00,
maxDistance: 24.00,
spacing: 18.00
})
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>