Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +427 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: bis-dashboard
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,427 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Barangay Information System</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.sidebar {
|
| 11 |
+
transition: all 0.3s ease;
|
| 12 |
+
}
|
| 13 |
+
.sidebar.collapsed {
|
| 14 |
+
width: 70px;
|
| 15 |
+
}
|
| 16 |
+
.sidebar.collapsed .sidebar-text {
|
| 17 |
+
display: none;
|
| 18 |
+
}
|
| 19 |
+
.sidebar.collapsed .logo-text {
|
| 20 |
+
display: none;
|
| 21 |
+
}
|
| 22 |
+
.sidebar.collapsed .nav-item {
|
| 23 |
+
justify-content: center;
|
| 24 |
+
}
|
| 25 |
+
.main-content {
|
| 26 |
+
transition: all 0.3s ease;
|
| 27 |
+
}
|
| 28 |
+
.sidebar.collapsed + .main-content {
|
| 29 |
+
margin-left: 70px;
|
| 30 |
+
}
|
| 31 |
+
.chart-container {
|
| 32 |
+
position: relative;
|
| 33 |
+
height: 300px;
|
| 34 |
+
}
|
| 35 |
+
.resident-card:hover {
|
| 36 |
+
transform: translateY(-5px);
|
| 37 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
| 38 |
+
}
|
| 39 |
+
.dashboard-card:hover {
|
| 40 |
+
transform: translateY(-3px);
|
| 41 |
+
box-shadow: 0 6px 12px rgba(0,0,0,0.1);
|
| 42 |
+
}
|
| 43 |
+
</style>
|
| 44 |
+
</head>
|
| 45 |
+
<body class="bg-gray-100 font-sans">
|
| 46 |
+
<div class="flex h-screen overflow-hidden">
|
| 47 |
+
<!-- Sidebar -->
|
| 48 |
+
<div class="sidebar bg-blue-800 text-white w-64 flex flex-col">
|
| 49 |
+
<!-- Logo -->
|
| 50 |
+
<div class="p-4 flex items-center space-x-3 border-b border-blue-700">
|
| 51 |
+
<div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-blue-800 font-bold text-xl">
|
| 52 |
+
BIS
|
| 53 |
+
</div>
|
| 54 |
+
<span class="logo-text text-xl font-bold">Barangay IS</span>
|
| 55 |
+
</div>
|
| 56 |
+
|
| 57 |
+
<!-- User Profile -->
|
| 58 |
+
<div class="p-4 flex items-center space-x-3 border-b border-blue-700">
|
| 59 |
+
<div class="w-10 h-10 rounded-full bg-blue-600 flex items-center justify-center">
|
| 60 |
+
<i class="fas fa-user"></i>
|
| 61 |
+
</div>
|
| 62 |
+
<div class="sidebar-text">
|
| 63 |
+
<div class="font-medium">Admin User</div>
|
| 64 |
+
<div class="text-xs text-blue-200">Administrator</div>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
|
| 68 |
+
<!-- Navigation -->
|
| 69 |
+
<nav class="flex-1 overflow-y-auto py-4">
|
| 70 |
+
<div class="space-y-1 px-4">
|
| 71 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 bg-blue-700 rounded-lg">
|
| 72 |
+
<i class="fas fa-tachometer-alt w-6 text-center"></i>
|
| 73 |
+
<span class="sidebar-text">Dashboard</span>
|
| 74 |
+
</a>
|
| 75 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 76 |
+
<i class="fas fa-users w-6 text-center"></i>
|
| 77 |
+
<span class="sidebar-text">Residents</span>
|
| 78 |
+
</a>
|
| 79 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 80 |
+
<i class="fas fa-home w-6 text-center"></i>
|
| 81 |
+
<span class="sidebar-text">Households</span>
|
| 82 |
+
</a>
|
| 83 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 84 |
+
<i class="fas fa-file-alt w-6 text-center"></i>
|
| 85 |
+
<span class="sidebar-text">Documents</span>
|
| 86 |
+
</a>
|
| 87 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 88 |
+
<i class="fas fa-calendar-alt w-6 text-center"></i>
|
| 89 |
+
<span class="sidebar-text">Events</span>
|
| 90 |
+
</a>
|
| 91 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 92 |
+
<i class="fas fa-chart-bar w-6 text-center"></i>
|
| 93 |
+
<span class="sidebar-text">Reports</span>
|
| 94 |
+
</a>
|
| 95 |
+
<a href="#" class="nav-item flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 96 |
+
<i class="fas fa-cog w-6 text-center"></i>
|
| 97 |
+
<span class="sidebar-text">Settings</span>
|
| 98 |
+
</a>
|
| 99 |
+
</div>
|
| 100 |
+
</nav>
|
| 101 |
+
|
| 102 |
+
<!-- Collapse Button -->
|
| 103 |
+
<div class="p-4 border-t border-blue-700">
|
| 104 |
+
<button onclick="toggleSidebar()" class="w-full flex items-center space-x-3 px-3 py-2 hover:bg-blue-700 rounded-lg">
|
| 105 |
+
<i class="fas fa-chevron-left w-6 text-center"></i>
|
| 106 |
+
<span class="sidebar-text">Collapse</span>
|
| 107 |
+
</button>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<!-- Main Content -->
|
| 112 |
+
<div class="main-content flex-1 overflow-auto">
|
| 113 |
+
<!-- Top Navigation -->
|
| 114 |
+
<header class="bg-white shadow-sm">
|
| 115 |
+
<div class="flex justify-between items-center p-4">
|
| 116 |
+
<h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
|
| 117 |
+
<div class="flex items-center space-x-4">
|
| 118 |
+
<div class="relative">
|
| 119 |
+
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 120 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 121 |
+
</div>
|
| 122 |
+
<div class="relative">
|
| 123 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
| 124 |
+
<i class="fas fa-bell text-gray-600"></i>
|
| 125 |
+
<span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
|
| 126 |
+
</button>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="flex items-center space-x-2">
|
| 129 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-800">
|
| 130 |
+
<i class="fas fa-user"></i>
|
| 131 |
+
</div>
|
| 132 |
+
<span class="hidden md:inline">Admin</span>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
</header>
|
| 137 |
+
|
| 138 |
+
<!-- Dashboard Content -->
|
| 139 |
+
<main class="p-6">
|
| 140 |
+
<!-- Stats Cards -->
|
| 141 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
| 142 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6 transition duration-300">
|
| 143 |
+
<div class="flex items-center justify-between">
|
| 144 |
+
<div>
|
| 145 |
+
<p class="text-gray-500">Total Residents</p>
|
| 146 |
+
<h3 class="text-2xl font-bold">1,245</h3>
|
| 147 |
+
<p class="text-green-500 text-sm mt-1">+12 this month</p>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 150 |
+
<i class="fas fa-users text-xl"></i>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6 transition duration-300">
|
| 155 |
+
<div class="flex items-center justify-between">
|
| 156 |
+
<div>
|
| 157 |
+
<p class="text-gray-500">Total Households</p>
|
| 158 |
+
<h3 class="text-2xl font-bold">342</h3>
|
| 159 |
+
<p class="text-green-500 text-sm mt-1">+5 this month</p>
|
| 160 |
+
</div>
|
| 161 |
+
<div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 162 |
+
<i class="fas fa-home text-xl"></i>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6 transition duration-300">
|
| 167 |
+
<div class="flex items-center justify-between">
|
| 168 |
+
<div>
|
| 169 |
+
<p class="text-gray-500">Pending Requests</p>
|
| 170 |
+
<h3 class="text-2xl font-bold">18</h3>
|
| 171 |
+
<p class="text-red-500 text-sm mt-1">+3 today</p>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="w-12 h-12 rounded-full bg-orange-100 flex items-center justify-center text-orange-600">
|
| 174 |
+
<i class="fas fa-file-alt text-xl"></i>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
<div class="dashboard-card bg-white rounded-lg shadow p-6 transition duration-300">
|
| 179 |
+
<div class="flex items-center justify-between">
|
| 180 |
+
<div>
|
| 181 |
+
<p class="text-gray-500">Upcoming Events</p>
|
| 182 |
+
<h3 class="text-2xl font-bold">5</h3>
|
| 183 |
+
<p class="text-blue-500 text-sm mt-1">2 this week</p>
|
| 184 |
+
</div>
|
| 185 |
+
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
|
| 186 |
+
<i class="fas fa-calendar-alt text-xl"></i>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
|
| 192 |
+
<!-- Charts and Recent Residents -->
|
| 193 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
|
| 194 |
+
<!-- Population Chart -->
|
| 195 |
+
<div class="lg:col-span-2 bg-white rounded-lg shadow p-6">
|
| 196 |
+
<div class="flex justify-between items-center mb-4">
|
| 197 |
+
<h2 class="text-lg font-semibold">Population Overview</h2>
|
| 198 |
+
<div class="flex space-x-2">
|
| 199 |
+
<button class="px-3 py-1 text-sm bg-blue-100 text-blue-600 rounded">Year</button>
|
| 200 |
+
<button class="px-3 py-1 text-sm bg-gray-100 text-gray-600 rounded">Month</button>
|
| 201 |
+
<button class="px-3 py-1 text-sm bg-gray-100 text-gray-600 rounded">Week</button>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
<div class="chart-container">
|
| 205 |
+
<canvas id="populationChart"></canvas>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
|
| 209 |
+
<!-- Recent Residents -->
|
| 210 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 211 |
+
<div class="flex justify-between items-center mb-4">
|
| 212 |
+
<h2 class="text-lg font-semibold">Recent Residents</h2>
|
| 213 |
+
<a href="#" class="text-blue-600 text-sm">View All</a>
|
| 214 |
+
</div>
|
| 215 |
+
<div class="space-y-4">
|
| 216 |
+
<div class="flex items-center space-x-3">
|
| 217 |
+
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
|
| 218 |
+
<i class="fas fa-user"></i>
|
| 219 |
+
</div>
|
| 220 |
+
<div>
|
| 221 |
+
<p class="font-medium">Juan Dela Cruz</p>
|
| 222 |
+
<p class="text-gray-500 text-sm">Registered: 2 days ago</p>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
<div class="flex items-center space-x-3">
|
| 226 |
+
<div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center text-pink-600">
|
| 227 |
+
<i class="fas fa-user"></i>
|
| 228 |
+
</div>
|
| 229 |
+
<div>
|
| 230 |
+
<p class="font-medium">Maria Santos</p>
|
| 231 |
+
<p class="text-gray-500 text-sm">Registered: 5 days ago</p>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
<div class="flex items-center space-x-3">
|
| 235 |
+
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-600">
|
| 236 |
+
<i class="fas fa-user"></i>
|
| 237 |
+
</div>
|
| 238 |
+
<div>
|
| 239 |
+
<p class="font-medium">Pedro Reyes</p>
|
| 240 |
+
<p class="text-gray-500 text-sm">Registered: 1 week ago</p>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
<div class="flex items-center space-x-3">
|
| 244 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
|
| 245 |
+
<i class="fas fa-user"></i>
|
| 246 |
+
</div>
|
| 247 |
+
<div>
|
| 248 |
+
<p class="font-medium">Ana Lopez</p>
|
| 249 |
+
<p class="text-gray-500 text-sm">Registered: 1 week ago</p>
|
| 250 |
+
</div>
|
| 251 |
+
</div>
|
| 252 |
+
</div>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
|
| 256 |
+
<!-- Recent Requests and Upcoming Events -->
|
| 257 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 258 |
+
<!-- Recent Requests -->
|
| 259 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 260 |
+
<div class="flex justify-between items-center mb-4">
|
| 261 |
+
<h2 class="text-lg font-semibold">Recent Requests</h2>
|
| 262 |
+
<a href="#" class="text-blue-600 text-sm">View All</a>
|
| 263 |
+
</div>
|
| 264 |
+
<div class="overflow-x-auto">
|
| 265 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 266 |
+
<thead class="bg-gray-50">
|
| 267 |
+
<tr>
|
| 268 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Type</th>
|
| 269 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Resident</th>
|
| 270 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Date</th>
|
| 271 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase">Status</th>
|
| 272 |
+
</tr>
|
| 273 |
+
</thead>
|
| 274 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 275 |
+
<tr>
|
| 276 |
+
<td class="px-4 py-3 whitespace-nowrap">Barangay Clearance</td>
|
| 277 |
+
<td class="px-4 py-3 whitespace-nowrap">Juan Dela Cruz</td>
|
| 278 |
+
<td class="px-4 py-3 whitespace-nowrap">Today, 10:30 AM</td>
|
| 279 |
+
<td class="px-4 py-3 whitespace-nowrap"><span class="px-2 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs">Pending</span></td>
|
| 280 |
+
</tr>
|
| 281 |
+
<tr>
|
| 282 |
+
<td class="px-4 py-3 whitespace-nowrap">Business Permit</td>
|
| 283 |
+
<td class="px-4 py-3 whitespace-nowrap">Maria Santos</td>
|
| 284 |
+
<td class="px-4 py-3 whitespace-nowrap">Yesterday, 2:15 PM</td>
|
| 285 |
+
<td class="px-4 py-3 whitespace-nowrap"><span class="px-2 py-1 bg-blue-100 text-blue-800 rounded-full text-xs">Processing</span></td>
|
| 286 |
+
</tr>
|
| 287 |
+
<tr>
|
| 288 |
+
<td class="px-4 py-3 whitespace-nowrap">Certificate of Residency</td>
|
| 289 |
+
<td class="px-4 py-3 whitespace-nowrap">Pedro Reyes</td>
|
| 290 |
+
<td class="px-4 py-3 whitespace-nowrap">May 15, 9:00 AM</td>
|
| 291 |
+
<td class="px-4 py-3 whitespace-nowrap"><span class="px-2 py-1 bg-green-100 text-green-800 rounded-full text-xs">Completed</span></td>
|
| 292 |
+
</tr>
|
| 293 |
+
<tr>
|
| 294 |
+
<td class="px-4 py-3 whitespace-nowrap">Indigency Certificate</td>
|
| 295 |
+
<td class="px-4 py-3 whitespace-nowrap">Ana Lopez</td>
|
| 296 |
+
<td class="px-4 py-3 whitespace-nowrap">May 14, 3:45 PM</td>
|
| 297 |
+
<td class="px-4 py-3 whitespace-nowrap"><span class="px-2 py-1 bg-red-100 text-red-800 rounded-full text-xs">Rejected</span></td>
|
| 298 |
+
</tr>
|
| 299 |
+
</tbody>
|
| 300 |
+
</table>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
|
| 304 |
+
<!-- Upcoming Events -->
|
| 305 |
+
<div class="bg-white rounded-lg shadow p-6">
|
| 306 |
+
<div class="flex justify-between items-center mb-4">
|
| 307 |
+
<h2 class="text-lg font-semibold">Upcoming Events</h2>
|
| 308 |
+
<a href="#" class="text-blue-600 text-sm">View All</a>
|
| 309 |
+
</div>
|
| 310 |
+
<div class="space-y-4">
|
| 311 |
+
<div class="flex items-start space-x-3 p-3 bg-blue-50 rounded-lg">
|
| 312 |
+
<div class="w-12 h-12 rounded-lg bg-blue-100 flex flex-col items-center justify-center text-blue-800">
|
| 313 |
+
<span class="text-sm font-bold">MAY</span>
|
| 314 |
+
<span class="text-lg font-bold">20</span>
|
| 315 |
+
</div>
|
| 316 |
+
<div>
|
| 317 |
+
<h3 class="font-medium">Barangay Assembly</h3>
|
| 318 |
+
<p class="text-gray-600 text-sm">9:00 AM - 12:00 PM</p>
|
| 319 |
+
<p class="text-gray-500 text-sm mt-1">Barangay Hall</p>
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
<div class="flex items-start space-x-3 p-3 bg-green-50 rounded-lg">
|
| 323 |
+
<div class="w-12 h-12 rounded-lg bg-green-100 flex flex-col items-center justify-center text-green-800">
|
| 324 |
+
<span class="text-sm font-bold">MAY</span>
|
| 325 |
+
<span class="text-lg font-bold">25</span>
|
| 326 |
+
</div>
|
| 327 |
+
<div>
|
| 328 |
+
<h3 class="font-medium">Medical Mission</h3>
|
| 329 |
+
<p class="text-gray-600 text-sm">8:00 AM - 5:00 PM</p>
|
| 330 |
+
<p class="text-gray-500 text-sm mt-1">Barangay Health Center</p>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
<div class="flex items-start space-x-3 p-3 bg-purple-50 rounded-lg">
|
| 334 |
+
<div class="w-12 h-12 rounded-lg bg-purple-100 flex flex-col items-center justify-center text-purple-800">
|
| 335 |
+
<span class="text-sm font-bold">JUN</span>
|
| 336 |
+
<span class="text-lg font-bold">12</span>
|
| 337 |
+
</div>
|
| 338 |
+
<div>
|
| 339 |
+
<h3 class="font-medium">Independence Day Celebration</h3>
|
| 340 |
+
<p class="text-gray-600 text-sm">7:00 AM - 9:00 PM</p>
|
| 341 |
+
<p class="text-gray-500 text-sm mt-1">Barangay Plaza</p>
|
| 342 |
+
</div>
|
| 343 |
+
</div>
|
| 344 |
+
</div>
|
| 345 |
+
</div>
|
| 346 |
+
</div>
|
| 347 |
+
</main>
|
| 348 |
+
</div>
|
| 349 |
+
</div>
|
| 350 |
+
|
| 351 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 352 |
+
<script>
|
| 353 |
+
// Toggle sidebar
|
| 354 |
+
function toggleSidebar() {
|
| 355 |
+
const sidebar = document.querySelector('.sidebar');
|
| 356 |
+
const mainContent = document.querySelector('.main-content');
|
| 357 |
+
sidebar.classList.toggle('collapsed');
|
| 358 |
+
|
| 359 |
+
// Change icon based on state
|
| 360 |
+
const icon = document.querySelector('.sidebar.collapsed .fa-chevron-left');
|
| 361 |
+
if (icon) {
|
| 362 |
+
icon.classList.remove('fa-chevron-left');
|
| 363 |
+
icon.classList.add('fa-chevron-right');
|
| 364 |
+
} else {
|
| 365 |
+
const icon = document.querySelector('.sidebar .fa-chevron-right');
|
| 366 |
+
if (icon) {
|
| 367 |
+
icon.classList.remove('fa-chevron-right');
|
| 368 |
+
icon.classList.add('fa-chevron-left');
|
| 369 |
+
}
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
|
| 373 |
+
// Initialize charts
|
| 374 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 375 |
+
// Population Chart
|
| 376 |
+
const populationCtx = document.getElementById('populationChart').getContext('2d');
|
| 377 |
+
const populationChart = new Chart(populationCtx, {
|
| 378 |
+
type: 'line',
|
| 379 |
+
data: {
|
| 380 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
| 381 |
+
datasets: [
|
| 382 |
+
{
|
| 383 |
+
label: 'New Residents',
|
| 384 |
+
data: [15, 22, 18, 25, 30, 28, 35, 32, 28, 25, 20, 18],
|
| 385 |
+
borderColor: '#3B82F6',
|
| 386 |
+
backgroundColor: 'rgba(59, 130, 246, 0.1)',
|
| 387 |
+
tension: 0.3,
|
| 388 |
+
fill: true
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
label: 'Total Population',
|
| 392 |
+
data: [1200, 1222, 1240, 1265, 1295, 1323, 1358, 1390, 1418, 1443, 1463, 1481],
|
| 393 |
+
borderColor: '#10B981',
|
| 394 |
+
backgroundColor: 'rgba(16, 185, 129, 0.1)',
|
| 395 |
+
tension: 0.3,
|
| 396 |
+
fill: true
|
| 397 |
+
}
|
| 398 |
+
]
|
| 399 |
+
},
|
| 400 |
+
options: {
|
| 401 |
+
responsive: true,
|
| 402 |
+
maintainAspectRatio: false,
|
| 403 |
+
plugins: {
|
| 404 |
+
legend: {
|
| 405 |
+
position: 'top',
|
| 406 |
+
},
|
| 407 |
+
tooltip: {
|
| 408 |
+
mode: 'index',
|
| 409 |
+
intersect: false,
|
| 410 |
+
}
|
| 411 |
+
},
|
| 412 |
+
scales: {
|
| 413 |
+
y: {
|
| 414 |
+
beginAtZero: false
|
| 415 |
+
}
|
| 416 |
+
}
|
| 417 |
+
}
|
| 418 |
+
});
|
| 419 |
+
});
|
| 420 |
+
|
| 421 |
+
// Sample function to show modal (can be expanded)
|
| 422 |
+
function showAddResidentModal() {
|
| 423 |
+
alert('Add Resident functionality would go here');
|
| 424 |
+
}
|
| 425 |
+
</script>
|
| 426 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Prenss/bis-dashboard" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 427 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
make me a barangay information sytem
|