File size: 13,728 Bytes
f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 ff9f230 f8e2fe7 | 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 253 254 | ```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Property Dashboard - EstateEase</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>
<style>
.stat-card:hover {
transform: translateY(-3px);
}
.property-status-rented {
border-left: 4px solid #38a169;
}
.property-status-vacant {
border-left: 4px solid #ecc94b;
}
.property-status-maintenance {
border-left: 4px solid #ed8936;
}
.property-status-sold {
border-left: 4px solid #e53e3e;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<custom-navbar></custom-navbar>
<main 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 class="flex items-center">
<a href="index.html" class="mr-4 p-2 rounded-md hover:bg-gray-100">
<i data-feather="home" class="text-primary w-5 h-5"></i>
</a>
<div>
<h1 class="text-2xl font-bold text-dark">Property Dashboard</h1>
<p class="text-gray-600 mt-1">Overview of your property portfolio</p>
</div>
</div>
<div class="mt-4 md:mt-0 flex space-x-3">
<button class="bg-white border border-gray-200 hover:bg-gray-50 text-dark py-2 px-4 rounded-md transition flex items-center">
<i data-feather="download" class="w-4 h-4 mr-2"></i>
Export
</button>
<button class="bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition flex items-center">
<i data-feather="refresh-cw" class="w-4 h-4 mr-2"></i>
Refresh
</button>
</div>
</div>
<!-- Stats Overview -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
<a href="properties.html" class="stat-card bg-white rounded-lg shadow p-4 transition hover:shadow-md">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-xs md:text-sm">Total Properties</p>
<h3 class="text-lg md:text-xl font-bold text-dark">24</h3>
</div>
<div class="bg-primary bg-opacity-10 p-2 rounded-full">
<i data-feather="home" class="text-primary w-4 h-4"></i>
</div>
</div>
</a>
<a href="properties.html?filter=occupied" class="stat-card bg-white rounded-lg shadow p-4 transition hover:shadow-md">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-xs md:text-sm">Occupied</p>
<h3 class="text-lg md:text-xl font-bold text-dark">18</h3>
</div>
<div class="bg-green-100 p-2 rounded-full">
<i data-feather="check-circle" class="text-green-600 w-4 h-4"></i>
</div>
</div>
</a>
<a href="properties.html?filter=vacant" class="stat-card bg-white rounded-lg shadow p-4 transition hover:shadow-md">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-xs md:text-sm">Vacant</p>
<h3 class="text-lg md:text-xl font-bold text-dark">6</h3>
</div>
<div class="bg-yellow-100 p-2 rounded-full">
<i data-feather="alert-circle" class="text-yellow-600 w-4 h-4"></i>
</div>
</div>
</a>
<a href="payments.html" class="stat-card bg-white rounded-lg shadow p-4 transition hover:shadow-md">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-500 text-xs md:text-sm">Monthly Revenue</p>
<h3 class="text-lg md:text-xl font-bold text-dark">$24,500</h3>
</div>
<div class="bg-blue-100 p-2 rounded-full">
<i data-feather="dollar-sign" class="text-blue-600 w-4 h-4"></i>
</div>
</div>
</a>
</div>
<!-- Property Status -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Property List -->
<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 Status</h2>
<a href="properties.html" class="text-primary text-sm font-medium">View All</a>
</div>
<div class="divide-y divide-gray-100">
<div class="p-4 property-status-rented hover:bg-gray-50 transition">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Downtown Loft</h3>
<p class="text-gray-500 text-sm">123 Main St, Property City</p>
</div>
<div class="text-right">
<span class="text-green-600 text-sm font-medium">Rented</span>
<p class="text-sm font-medium">$2,500/mo</p>
</div>
</div>
</div>
<div class="p-4 property-status-vacant hover:bg-gray-50 transition">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Lakeside Villa</h3>
<p class="text-gray-500 text-sm">456 Lakeview Dr, Property City</p>
</div>
<div class="text-right">
<span class="text-yellow-600 text-sm font-medium">Vacant</span>
<p class="text-sm font-medium">$4,200/mo</p>
</div>
</div>
</div>
<div class="p-4 property-status-maintenance hover:bg-gray-50 transition">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Urban Office</h3>
<p class="text-gray-500 text-sm">789 Business Ave, Property City</p>
</div>
<div class="text-right">
<span class="text-orange-500 text-sm font-medium">Maintenance</span>
<p class="text-sm font-medium">$3,800/mo</p>
</div>
</div>
</div>
<div class="p-4 property-status-sold hover:bg-gray-50 transition">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Garden View</h3>
<p class="text-gray-500 text-sm">321 Park Lane, Property City</p>
</div>
<div class="text-right">
<span class="text-red-600 text-sm font-medium">Sold</span>
<p class="text-sm font-medium">$525,000</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Financial Overview -->
<div>
<div class="bg-white rounded-lg shadow overflow-hidden mb-8">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Financial Overview</h2>
</div>
<div class="p-6">
<div class="mb-6">
<p class="text-gray-500 text-sm mb-2">Total Portfolio Value</p>
<h3 class="text-2xl font-bold text-dark">$3,250,000</h3>
</div>
<div class="space-y-4">
<div>
<p class="text-gray-500 text-sm">Monthly Income</p>
<div class="flex justify-between items-center">
<p class="font-medium">$24,500</p>
<span class="text-green-600 text-sm">+12%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2 mt-1">
<div class="bg-green-600 h-2 rounded-full" style="width: 75%"></div>
</div>
</div>
<div>
<p class="text-gray-500 text-sm">Monthly Expenses</p>
<div class="flex justify-between items-center">
<p class="font-medium">$8,200</p>
<span class="text-red-600 text-sm">-5%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2 mt-1">
<div class="bg-red-600 h-2 rounded-full" style="width: 25%"></div>
</div>
</div>
<div>
<p class="text-gray-500 text-sm">Net Profit</p>
<div class="flex justify-between items-center">
<p class="font-medium">$16,300</p>
<span class="text-green-600 text-sm">+18%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2 mt-1">
<div class="bg-blue-600 h-2 rounded-full" style="width: 50%"></div>
</div>
</div>
</div>
<button class="w-full mt-6 bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition">
View Financial Report
</button>
</div>
</div>
<!-- Maintenance Alerts -->
<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">Maintenance Alerts</h2>
<a href="#" class="text-primary text-sm font-medium">View All</a>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-red-100 p-2 rounded-full mr-3">
<i data-feather="alert-triangle" class="text-red-600 w-4 h-4"></i>
</div>
<div>
<h3 class="font-medium text-dark">Urgent: Plumbing Issue</h3>
<p class="text-gray-500 text-sm">Downtown Loft - Reported 2 days ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-yellow-100 p-2 rounded-full mr-3">
<i data-feather="tool" class="text-yellow-600 w-4 h-4"></i>
</div>
<div>
<h3 class="font-medium text-dark">AC Maintenance</h3>
<p class="text-gray-500 text-sm">Lakeside Villa - Scheduled for tomorrow</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue |