undefined / index.html
markngr's picture
implement the above prompt to all the needed pages, some still have duplicate buttons and show only a single line of data instead of a 10 entry data that I had told you. Go through each page individually and fix all the issues stated above and any other issue you will find
3fa0c93 verified
Raw History Blame Contribute Delete
28.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EstateEase - Property Management Simplified</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#4C6B8A',
secondary: '#A3B8CC',
accent: '#E9C46A',
dark: '#2A3D4F',
light: '#F8F9FA'
}
}
}
}
</script>
<style>
.ad-banner {
height: 90px;
background: repeating-linear-gradient(
45deg,
#f8f9fa,
#f8f9fa 20px,
#e9ecef 20px,
#e9ecef 40px
);
}
.property-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.payment-status-paid {
border-left: 4px solid #38a169;
}
.payment-status-pending {
border-left: 4px solid #ecc94b;
}
.payment-status-overdue {
border-left: 4px solid #e53e3e;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Top Navigation with Ad Space -->
<header class="bg-white shadow-sm sticky top-0 z-50">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center py-3 relative">
<div class="flex items-center space-x-2">
<button class="md:hidden p-2 rounded-md hover:bg-gray-100" id="menuToggle">
<i data-feather="menu" class="w-5 h-5"></i>
</button>
<a href="index.html" class="flex items-center space-x-2">
<i data-feather="home" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold text-primary">EstateEase</span>
</a>
</div>
<a href="index.html" class="flex items-center space-x-2">
<i data-feather="home" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold text-primary">EstateEase</span>
</a>
<nav class="hidden md:flex space-x-8">
<a href="index.html" class="text-primary font-medium">Dashboard</a>
<a href="properties.html" class="text-dark hover:text-primary transition">Properties</a>
<a href="tenants.html" class="text-dark hover:text-primary transition">Tenants</a>
<a href="payments.html" class="text-dark hover:text-primary transition">Payments</a>
<a href="reports.html" class="text-dark hover:text-primary transition">Reports</a>
</nav>
<div class="flex items-center space-x-4 relative">
<div class="relative">
<i data-feather="bell" class="w-5 h-5 text-dark"></i>
<span class="absolute -top-1 -right-1 bg-accent text-xs text-white rounded-full w-4 h-4 flex items-center justify-center">3</span>
</div>
<div class="flex items-center space-x-4">
<a href="dashboard.html" class="hidden md:block bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition">
Dashboard
</a>
<account-dropdown>
<div slot="trigger" class="flex items-center space-x-2 cursor-pointer">
<img src="http://static.photos/people/200x200/42" alt="User" class="w-8 h-8 rounded-full object-cover">
<span class="hidden md:inline text-sm font-medium">John Doe</span>
<i data-feather="chevron-down" class="w-4 h-4 hidden md:block"></i>
</div>
</account-dropdown>
</div>
</div>
</div>
</div>
<!-- Small Ad Space -->
<div class="hidden md:block text-xs bg-gray-100 px-2 py-1 rounded absolute top-4 right-4">
<span class="text-gray-500">Sponsored:</span>
<a href="#" class="text-primary hover:underline">Property Tools</a>
</div>
</header>
<!-- Mobile Sidebar -->
<div class="fixed inset-0 bg-black bg-opacity-50 z-40 hidden" id="mobileSidebarBackdrop"></div>
<div class="fixed inset-y-0 left-0 transform -translate-x-full w-64 bg-white shadow-lg z-50 transition duration-300 ease-in-out" id="mobileSidebar">
<div class="flex flex-col h-full p-4">
<div class="flex justify-between items-center mb-8">
<div class="flex items-center space-x-2">
<i data-feather="home" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold text-primary">RoostRuler</span>
</div>
<button id="closeSidebar">
<i data-feather="x" class="w-5 h-5"></i>
</button>
</div>
<nav class="flex-1 space-y-2">
<a href="index.html" class="block px-4 py-2 rounded bg-primary bg-opacity-10 text-primary flex items-center">
<i data-feather="home" class="w-5 h-5 mr-2"></i> Home
</a>
<a href="dashboard.html" class="block px-4 py-2 rounded hover:bg-gray-100">Dashboard</a>
<a href="properties.html" class="block px-4 py-2 rounded hover:bg-gray-100">Properties</a>
<a href="tenants.html" class="block px-4 py-2 rounded hover:bg-gray-100">Tenants</a>
<a href="payments.html" class="block px-4 py-2 rounded hover:bg-gray-100">Payments</a>
<a href="reports.html" class="block px-4 py-2 rounded hover:bg-gray-100">Reports</a>
</nav>
<div class="mt-auto pt-4 border-t border-gray-200">
<div class="flex items-center space-x-2">
<img src="http://static.photos/people/200x200/42" alt="User" class="w-8 h-8 rounded-full object-cover">
<span class="text-sm font-medium">John Doe</span>
</div>
</div>
</div>
</div>
<main class="container mx-auto px-4 py-8">
<!-- Dashboard Overview -->
<div class="grid grid-cols-1 md: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 text-sm">Total Properties</p>
<h3 class="text-2xl font-bold text-dark">24</h3>
</div>
<div class="bg-primary bg-opacity-10 p-3 rounded-full">
<i data-feather="layers" class="text-primary w-5 h-5"></i>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Occupied</p>
<h3 class="text-2xl font-bold text-dark">18</h3>
</div>
<div class="bg-green-100 p-3 rounded-full">
<i data-feather="check-circle" class="text-green-600 w-5 h-5"></i>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Vacant</p>
<h3 class="text-2xl font-bold text-dark">6</h3>
</div>
<div class="bg-yellow-100 p-3 rounded-full">
<i data-feather="alert-circle" class="text-yellow-600 w-5 h-5"></i>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-sm">Monthly Revenue</p>
<h3 class="text-2xl font-bold text-dark">$24,500</h3>
</div>
<div class="bg-blue-100 p-3 rounded-full">
<i data-feather="dollar-sign" class="text-blue-600 w-5 h-5"></i>
</div>
</div>
</div>
</div>
<!-- Recent Properties & Payment Status -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Recent Properties -->
<div class="lg:col-span-2">
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
<h2 class="text-lg font-semibold text-dark">Property Portfolio</h2>
<div class="flex items-center space-x-4">
<select class="border border-gray-200 rounded-md px-3 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-primary">
<option>Showing: 3</option>
<option>Show All (24)</option>
<option>Show 10</option>
<option>Show 25</option>
</select>
<a href="properties.html" class="text-primary text-sm font-medium">View All</a>
</div>
</div>
<div class="p-6">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Property 1 -->
<a href="property-details.html" class="property-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="relative">
<img src="http://static.photos/real-estate/640x360/10" alt="Property" class="w-full h-48 object-cover">
<span class="absolute top-2 right-2 bg-white text-xs font-medium px-2 py-1 rounded shadow">#PR-001</span>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg text-dark">Downtown Loft</h3>
<div class="flex items-center text-gray-500 text-sm mt-1">
<i data-feather="map-pin" class="w-4 h-4 mr-1"></i>
<span>123 Main St</span>
</div>
<div class="grid grid-cols-2 gap-2 mt-3 text-sm">
<div>
<span class="text-gray-500">Beds:</span>
<span class="font-medium ml-1">2</span>
</div>
<div>
<span class="text-gray-500">Baths:</span>
<span class="font-medium ml-1">2</span>
</div>
<div>
<span class="text-gray-500">Sqft:</span>
<span class="font-medium ml-1">950</span>
</div>
<div>
<span class="text-gray-500">Type:</span>
<span class="font-medium ml-1">Apartment</span>
</div>
</div>
<div class="flex justify-between items-center mt-4">
<span class="text-primary font-medium">$2,500/mo</span>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Occupied</span>
</div>
</div>
</a>
<!-- Property 2 -->
<a href="property-details.html" class="property-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="relative">
<img src="http://static.photos/real-estate/640x360/20" alt="Property" class="w-full h-48 object-cover">
<span class="absolute top-2 right-2 bg-white text-xs font-medium px-2 py-1 rounded shadow">#PR-002</span>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg text-dark">Lakeside Villa</h3>
<div class="flex items-center text-gray-500 text-sm mt-1">
<i data-feather="map-pin" class="w-4 h-4 mr-1"></i>
<span>456 Lakeview Dr</span>
</div>
<div class="grid grid-cols-2 gap-2 mt-3 text-sm">
<div>
<span class="text-gray-500">Beds:</span>
<span class="font-medium ml-1">4</span>
</div>
<div>
<span class="text-gray-500">Baths:</span>
<span class="font-medium ml-1">3</span>
</div>
<div>
<span class="text-gray-500">Sqft:</span>
<span class="font-medium ml-1">2,400</span>
</div>
<div>
<span class="text-gray-500">Type:</span>
<span class="font-medium ml-1">House</span>
</div>
</div>
<div class="flex justify-between items-center mt-4">
<span class="text-primary font-medium">$4,200/mo</span>
<span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded">Vacant</span>
</div>
</div>
</a>
<!-- Property 3 -->
<a href="property-details.html" class="property-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300">
<div class="relative">
<img src="http://static.photos/real-estate/640x360/30" alt="Property" class="w-full h-48 object-cover">
<span class="absolute top-2 right-2 bg-white text-xs font-medium px-2 py-1 rounded shadow">#PR-003</span>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg text-dark">Urban Office</h3>
<div class="flex items-center text-gray-500 text-sm mt-1">
<i data-feather="map-pin" class="w-4 h-4 mr-1"></i>
<span>789 Business Ave</span>
</div>
<div class="grid grid-cols-2 gap-2 mt-3 text-sm">
<div>
<span class="text-gray-500">Size:</span>
<span class="font-medium ml-1">1,200 sqft</span>
</div>
<div>
<span class="text-gray-500">Units:</span>
<span class="font-medium ml-1">5</span>
</div>
<div>
<span class="text-gray-500">Floors:</span>
<span class="font-medium ml-1">2</span>
</div>
<div>
<span class="text-gray-500">Type:</span>
<span class="font-medium ml-1">Commercial</span>
</div>
</div>
<div class="flex justify-between items-center mt-4">
<span class="text-primary font-medium">$3,800/mo</span>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Leased</span>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<!-- Payment Status -->
<div>
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
<h2 class="text-lg font-semibold text-dark">Payment Status</h2>
<a href="#" class="text-primary text-sm font-medium">View All</a>
</div>
<div class="divide-y divide-gray-100">
<div class="p-4 payment-status-paid">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Downtown Loft</h3>
<p class="text-gray-500 text-sm">Tenant: Sarah Johnson</p>
</div>
<span class="text-green-600 text-sm font-medium">Paid</span>
</div>
<div class="flex justify-between items-center mt-2">
<span class="text-sm text-gray-500">Due: 5th of month</span>
<span class="text-sm font-medium">$2,500</span>
</div>
</div>
<div class="p-4 payment-status-pending">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Riverside Apartment</h3>
<p class="text-gray-500 text-sm">Tenant: Michael Brown</p>
</div>
<span class="text-yellow-600 text-sm font-medium">Pending</span>
</div>
<div class="flex justify-between items-center mt-2">
<span class="text-sm text-gray-500">Due: 5th of month</span>
<span class="text-sm font-medium">$1,800</span>
</div>
</div>
<div class="p-4 payment-status-overdue">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Garden View</h3>
<p class="text-gray-500 text-sm">Tenant: Emily Davis</p>
</div>
<span class="text-red-600 text-sm font-medium">Overdue</span>
</div>
<div class="flex justify-between items-center mt-2">
<span class="text-sm text-gray-500">Due: 5th of month</span>
<span class="text-sm font-medium">$2,100</span>
</div>
</div>
<div class="p-4">
<button class="w-full bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition">
Connect Bank Account
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Tenant Portal Info -->
<div class="mt-8 bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Tenant Portal</h2>
</div>
<div class="p-6">
<div class="bg-blue-50 rounded-lg p-6 flex flex-col md:flex-row items-center justify-between">
<div class="mb-4 md:mb-0">
<h3 class="text-lg font-medium text-dark">Empower Your Tenants</h3>
<p class="text-gray-600 mt-1">Allow tenants to view properties, pay rent, and submit maintenance requests through our secure portal.</p>
</div>
<button class="bg-primary hover:bg-opacity-90 text-white py-2 px-6 rounded-md transition whitespace-nowrap">
Invite Tenants
</button>
</div>
</div>
</div>
</main>
<footer class="bg-dark text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">EstateEase</h3>
<p class="text-secondary text-sm">Simplifying property management for landlords and tenants alike.</p>
</div>
<div>
<h4 class="font-medium mb-4">Quick Links</h4>
<ul class="space-y-2 text-sm text-secondary">
<li><a href="#" class="hover:text-white transition">Dashboard</a></li>
<li><a href="#" class="hover:text-white transition">Properties</a></li>
<li><a href="#" class="hover:text-white transition">Tenants</a></li>
<li><a href="#" class="hover:text-white transition">Payments</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Resources</h4>
<ul class="space-y-2 text-sm text-secondary">
<li><a href="#" class="hover:text-white transition">Documentation</a></li>
<li><a href="#" class="hover:text-white transition">Support</a></li>
<li><a href="#" class="hover:text-white transition">API</a></li>
<li><a href="#" class="hover:text-white transition">Community</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Get in Touch</h4>
<ul class="space-y-2 text-sm text-secondary">
<li class="flex items-center">
<i data-feather="mail" class="w-4 h-4 mr-2"></i>
<span>support@estateease.com</span>
</li>
<li class="flex items-center">
<i data-feather="phone" class="w-4 h-4 mr-2"></i>
<span>+1 (555) 123-4567</span>
</li>
<li class="flex items-center">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span>123 Estate St, Property City</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 flex flex-col md:flex-row justify-between items-center">
<p class="text-secondary text-sm mb-4 md:mb-0">© 2023 EstateEase. All rights reserved.</p>
<div class="flex space-x-4">
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="instagram" class="w-5 h-5"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
feather.replace();
// Mobile menu toggle
document.addEventListener('DOMContentLoaded', function() {
const menuToggle = document.getElementById('menuToggle');
const closeSidebar = document.getElementById('closeSidebar');
const mobileSidebar = document.getElementById('mobileSidebar');
const backdrop = document.getElementById('mobileSidebarBackdrop');
menuToggle.addEventListener('click', function() {
mobileSidebar.classList.remove('-translate-x-full');
backdrop.classList.remove('hidden');
document.body.classList.add('overflow-hidden');
});
closeSidebar.addEventListener('click', function() {
mobileSidebar.classList.add('-translate-x-full');
backdrop.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
});
backdrop.addEventListener('click', function() {
mobileSidebar.classList.add('-translate-x-full');
backdrop.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
});
// Simulate bank connection status
document.addEventListener('DOMContentLoaded', function() {
const connectBtn = document.querySelector('button:contains("Connect Bank Account")');
if (connectBtn) {
connectBtn.addEventListener('click', function() {
// This would normally connect to a banking API
alert('Redirecting to secure bank connection...');
});
}
// This would be replaced with actual API calls in production
console.log('Property management system initialized');
});
</script>
</body>
</html>