Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +432 -19
- prompts.txt +0 -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: databases
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: red
|
| 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,432 @@
|
|
| 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>Yavapai County Emergency Resources</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 |
+
.emergency-card {
|
| 11 |
+
transition: all 0.3s ease;
|
| 12 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 13 |
+
}
|
| 14 |
+
.emergency-card:hover {
|
| 15 |
+
transform: translateY(-5px);
|
| 16 |
+
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
|
| 17 |
+
}
|
| 18 |
+
.priority-1 {
|
| 19 |
+
border-left: 6px solid #ef4444;
|
| 20 |
+
}
|
| 21 |
+
.priority-2 {
|
| 22 |
+
border-left: 6px solid #f59e0b;
|
| 23 |
+
}
|
| 24 |
+
.priority-3 {
|
| 25 |
+
border-left: 6px solid #3b82f6;
|
| 26 |
+
}
|
| 27 |
+
.search-highlight {
|
| 28 |
+
background-color: #fef08a;
|
| 29 |
+
}
|
| 30 |
+
</style>
|
| 31 |
+
</head>
|
| 32 |
+
<body class="bg-gray-50 min-h-screen">
|
| 33 |
+
<!-- Header -->
|
| 34 |
+
<header class="bg-gradient-to-r from-red-600 to-red-800 text-white shadow-lg">
|
| 35 |
+
<div class="container mx-auto px-4 py-6">
|
| 36 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 37 |
+
<div class="flex items-center mb-4 md:mb-0">
|
| 38 |
+
<i class="fas fa-shield-alt text-3xl mr-3"></i>
|
| 39 |
+
<div>
|
| 40 |
+
<h1 class="text-2xl md:text-3xl font-bold">Yavapai County</h1>
|
| 41 |
+
<p class="text-sm md:text-base">Disaster & Emergency Resources</p>
|
| 42 |
+
</div>
|
| 43 |
+
</div>
|
| 44 |
+
<div class="bg-white rounded-lg p-2 shadow-md w-full md:w-auto">
|
| 45 |
+
<div class="relative">
|
| 46 |
+
<input type="text" id="searchInput" placeholder="Search resources..."
|
| 47 |
+
class="pl-10 pr-4 py-2 rounded-lg w-full md:w-64 text-gray-800 focus:outline-none focus:ring-2 focus:ring-red-500">
|
| 48 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-500"></i>
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
</header>
|
| 54 |
+
|
| 55 |
+
<!-- Main Content -->
|
| 56 |
+
<main class="container mx-auto px-4 py-8">
|
| 57 |
+
<!-- Emergency Alert Banner -->
|
| 58 |
+
<div class="bg-red-100 border-l-4 border-red-500 text-red-700 p-4 mb-8 rounded-r-lg flex items-start">
|
| 59 |
+
<i class="fas fa-exclamation-triangle text-xl mr-3 mt-1"></i>
|
| 60 |
+
<div>
|
| 61 |
+
<h3 class="font-bold">Emergency Alert</h3>
|
| 62 |
+
<p>For immediate life-threatening emergencies, call <span class="font-bold">911</span> or your local emergency number.</p>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
|
| 66 |
+
<!-- Quick Action Buttons -->
|
| 67 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8">
|
| 68 |
+
<button class="bg-red-600 hover:bg-red-700 text-white py-3 px-4 rounded-lg flex items-center justify-center transition">
|
| 69 |
+
<i class="fas fa-phone-alt mr-2"></i> Call 911
|
| 70 |
+
</button>
|
| 71 |
+
<button class="bg-blue-600 hover:bg-blue-700 text-white py-3 px-4 rounded-lg flex items-center justify-center transition">
|
| 72 |
+
<i class="fas fa-map-marked-alt mr-2"></i> Evacuation Routes
|
| 73 |
+
</button>
|
| 74 |
+
<button class="bg-orange-600 hover:bg-orange-700 text-white py-3 px-4 rounded-lg flex items-center justify-center transition">
|
| 75 |
+
<i class="fas fa-first-aid mr-2"></i> Medical Help
|
| 76 |
+
</button>
|
| 77 |
+
<button class="bg-green-600 hover:bg-green-700 text-white py-3 px-4 rounded-lg flex items-center justify-center transition">
|
| 78 |
+
<i class="fas fa-utensils mr-2"></i> Food Assistance
|
| 79 |
+
</button>
|
| 80 |
+
</div>
|
| 81 |
+
|
| 82 |
+
<!-- Resource Categories -->
|
| 83 |
+
<div class="mb-8">
|
| 84 |
+
<h2 class="text-2xl font-bold mb-4 text-gray-800 border-b pb-2">Resource Categories</h2>
|
| 85 |
+
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4">
|
| 86 |
+
<div class="bg-white rounded-lg p-4 shadow-sm text-center cursor-pointer hover:bg-gray-100 transition">
|
| 87 |
+
<i class="fas fa-fire text-red-500 text-3xl mb-2"></i>
|
| 88 |
+
<h3 class="font-semibold">Wildfires</h3>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="bg-white rounded-lg p-4 shadow-sm text-center cursor-pointer hover:bg-gray-100 transition">
|
| 91 |
+
<i class="fas fa-tint text-blue-500 text-3xl mb-2"></i>
|
| 92 |
+
<h3 class="font-semibold">Floods</h3>
|
| 93 |
+
</div>
|
| 94 |
+
<div class="bg-white rounded-lg p-4 shadow-sm text-center cursor-pointer hover:bg-gray-100 transition">
|
| 95 |
+
<i class="fas fa-wind text-gray-500 text-3xl mb-2"></i>
|
| 96 |
+
<h3 class="font-semibold">Severe Weather</h3>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="bg-white rounded-lg p-4 shadow-sm text-center cursor-pointer hover:bg-gray-100 transition">
|
| 99 |
+
<i class="fas fa-house-damage text-yellow-500 text-3xl mb-2"></i>
|
| 100 |
+
<h3 class="font-semibold">Structural Damage</h3>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="bg-white rounded-lg p-4 shadow-sm text-center cursor-pointer hover:bg-gray-100 transition">
|
| 103 |
+
<i class="fas fa-broadcast-tower text-purple-500 text-3xl mb-2"></i>
|
| 104 |
+
<h3 class="font-semibold">Communications</h3>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<!-- Contact Database -->
|
| 110 |
+
<div class="mb-8">
|
| 111 |
+
<div class="flex justify-between items-center mb-4">
|
| 112 |
+
<h2 class="text-2xl font-bold text-gray-800">Emergency Contacts</h2>
|
| 113 |
+
<div class="flex space-x-2">
|
| 114 |
+
<button id="filterAll" class="bg-gray-200 hover:bg-gray-300 px-3 py-1 rounded text-sm font-medium">All</button>
|
| 115 |
+
<button id="filterPriority1" class="bg-red-100 hover:bg-red-200 px-3 py-1 rounded text-sm font-medium text-red-800">Critical</button>
|
| 116 |
+
<button id="filterPriority2" class="bg-orange-100 hover:bg-orange-200 px-3 py-1 rounded text-sm font-medium text-orange-800">High</button>
|
| 117 |
+
<button id="filterPriority3" class="bg-blue-100 hover:bg-blue-200 px-3 py-1 rounded text-sm font-medium text-blue-800">Standard</button>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
|
| 121 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 122 |
+
<div class="overflow-x-auto">
|
| 123 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 124 |
+
<thead class="bg-gray-50">
|
| 125 |
+
<tr>
|
| 126 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Service</th>
|
| 127 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Contact</th>
|
| 128 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Hours</th>
|
| 129 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Priority</th>
|
| 130 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
|
| 131 |
+
</tr>
|
| 132 |
+
</thead>
|
| 133 |
+
<tbody id="contactTable" class="bg-white divide-y divide-gray-200">
|
| 134 |
+
<!-- Contacts will be inserted here by JavaScript -->
|
| 135 |
+
</tbody>
|
| 136 |
+
</table>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<!-- Emergency Shelters -->
|
| 142 |
+
<div class="mb-8">
|
| 143 |
+
<h2 class="text-2xl font-bold mb-4 text-gray-800">Emergency Shelters</h2>
|
| 144 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 145 |
+
<div class="emergency-card bg-white rounded-lg overflow-hidden shadow-md priority-1">
|
| 146 |
+
<div class="p-5">
|
| 147 |
+
<div class="flex justify-between items-start">
|
| 148 |
+
<h3 class="text-xl font-bold text-gray-800">Prescott High School</h3>
|
| 149 |
+
<span class="bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded">Open Now</span>
|
| 150 |
+
</div>
|
| 151 |
+
<p class="text-gray-600 mt-1">1050 Ruth St, Prescott, AZ 86301</p>
|
| 152 |
+
<div class="mt-3 flex items-center text-gray-500">
|
| 153 |
+
<i class="fas fa-phone mr-2"></i>
|
| 154 |
+
<span>(928) 445-5400</span>
|
| 155 |
+
</div>
|
| 156 |
+
<div class="mt-2 flex items-center text-gray-500">
|
| 157 |
+
<i class="fas fa-users mr-2"></i>
|
| 158 |
+
<span>Capacity: 250 people</span>
|
| 159 |
+
</div>
|
| 160 |
+
<div class="mt-4">
|
| 161 |
+
<span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">Pets Allowed</span>
|
| 162 |
+
<span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">ADA Accessible</span>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="emergency-card bg-white rounded-lg overflow-hidden shadow-md priority-2">
|
| 167 |
+
<div class="p-5">
|
| 168 |
+
<div class="flex justify-between items-start">
|
| 169 |
+
<h3 class="text-xl font-bold text-gray-800">Cottonwood Recreation Center</h3>
|
| 170 |
+
<span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">On Standby</span>
|
| 171 |
+
</div>
|
| 172 |
+
<p class="text-gray-600 mt-1">150 S 6th St, Cottonwood, AZ 86326</p>
|
| 173 |
+
<div class="mt-3 flex items-center text-gray-500">
|
| 174 |
+
<i class="fas fa-phone mr-2"></i>
|
| 175 |
+
<span>(928) 634-8030</span>
|
| 176 |
+
</div>
|
| 177 |
+
<div class="mt-2 flex items-center text-gray-500">
|
| 178 |
+
<i class="fas fa-users mr-2"></i>
|
| 179 |
+
<span>Capacity: 150 people</span>
|
| 180 |
+
</div>
|
| 181 |
+
<div class="mt-4">
|
| 182 |
+
<span class="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2 mb-2">ADA Accessible</span>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
<div class="emergency-card bg-white rounded-lg overflow-hidden shadow-md priority-3">
|
| 187 |
+
<div class="p-5">
|
| 188 |
+
<div class="flex justify-between items-start">
|
| 189 |
+
<h3 class="text-xl font-bold text-gray-800">Chino Valley Community Center</h3>
|
| 190 |
+
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Reserve</span>
|
| 191 |
+
</div>
|
| 192 |
+
<p class="text-gray-600 mt-1">1525 N Road 1 E, Chino Valley, AZ 86323</p>
|
| 193 |
+
<div class="mt-3 flex items-center text-gray-500">
|
| 194 |
+
<i class="fas fa-phone mr-2"></i>
|
| 195 |
+
<span>(928) 636-2636</span>
|
| 196 |
+
</div>
|
| 197 |
+
<div class="mt-2 flex items-center text-gray-500">
|
| 198 |
+
<i class="fas fa-users mr-2"></i>
|
| 199 |
+
<span>Capacity: 100 people</span>
|
| 200 |
+
</div>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</main>
|
| 206 |
+
|
| 207 |
+
<!-- Footer -->
|
| 208 |
+
<footer class="bg-gray-800 text-white py-8">
|
| 209 |
+
<div class="container mx-auto px-4">
|
| 210 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 211 |
+
<div>
|
| 212 |
+
<h3 class="text-lg font-semibold mb-4">Yavapai County Emergency Services</h3>
|
| 213 |
+
<p class="text-gray-400">Providing critical resources and information for residents during emergencies and disasters.</p>
|
| 214 |
+
</div>
|
| 215 |
+
<div>
|
| 216 |
+
<h3 class="text-lg font-semibold mb-4">Quick Links</h3>
|
| 217 |
+
<ul class="space-y-2">
|
| 218 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Emergency Preparedness</a></li>
|
| 219 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Evacuation Plans</a></li>
|
| 220 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Weather Alerts</a></li>
|
| 221 |
+
<li><a href="#" class="text-gray-400 hover:text-white transition">Volunteer Opportunities</a></li>
|
| 222 |
+
</ul>
|
| 223 |
+
</div>
|
| 224 |
+
<div>
|
| 225 |
+
<h3 class="text-lg font-semibold mb-4">Stay Connected</h3>
|
| 226 |
+
<div class="flex space-x-4 mb-4">
|
| 227 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook-f text-xl"></i></a>
|
| 228 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter text-xl"></i></a>
|
| 229 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram text-xl"></i></a>
|
| 230 |
+
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fas fa-rss text-xl"></i></a>
|
| 231 |
+
</div>
|
| 232 |
+
<p class="text-gray-400">Sign up for emergency alerts:</p>
|
| 233 |
+
<div class="mt-2 flex">
|
| 234 |
+
<input type="email" placeholder="Your email" class="px-3 py-2 rounded-l text-gray-800 w-full">
|
| 235 |
+
<button class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded-r">Sign Up</button>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
|
| 240 |
+
<p>© 2023 Yavapai County Emergency Management. All rights reserved.</p>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</footer>
|
| 244 |
+
|
| 245 |
+
<script>
|
| 246 |
+
// Sample contact data
|
| 247 |
+
const contacts = [
|
| 248 |
+
{
|
| 249 |
+
service: "Yavapai County Emergency Management",
|
| 250 |
+
contact: "(928) 771-3321",
|
| 251 |
+
hours: "24/7",
|
| 252 |
+
priority: 1,
|
| 253 |
+
description: "Coordinates emergency response for the county"
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
service: "Prescott Fire Department",
|
| 257 |
+
contact: "(928) 777-1700",
|
| 258 |
+
hours: "24/7",
|
| 259 |
+
priority: 1,
|
| 260 |
+
description: "Fire and emergency medical services for Prescott"
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
service: "Yavapai County Sheriff's Office",
|
| 264 |
+
contact: "(928) 771-3260",
|
| 265 |
+
hours: "24/7",
|
| 266 |
+
priority: 1,
|
| 267 |
+
description: "Law enforcement for unincorporated areas"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
service: "Arizona Department of Emergency Management",
|
| 271 |
+
contact: "(602) 244-0504",
|
| 272 |
+
hours: "Mon-Fri 8am-5pm",
|
| 273 |
+
priority: 2,
|
| 274 |
+
description: "State-level emergency coordination"
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
service: "American Red Cross - Northern Arizona",
|
| 278 |
+
contact: "(928) 445-0691",
|
| 279 |
+
hours: "Mon-Fri 9am-4pm",
|
| 280 |
+
priority: 2,
|
| 281 |
+
description: "Disaster relief and shelter services"
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
service: "Yavapai County Public Health",
|
| 285 |
+
contact: "(928) 771-3122",
|
| 286 |
+
hours: "Mon-Fri 8am-5pm",
|
| 287 |
+
priority: 2,
|
| 288 |
+
description: "Public health emergencies and information"
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
service: "Arizona Poison Control",
|
| 292 |
+
contact: "1-800-222-1222",
|
| 293 |
+
hours: "24/7",
|
| 294 |
+
priority: 1,
|
| 295 |
+
description: "Poison emergencies and information"
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
service: "Yavapai County Animal Control",
|
| 299 |
+
contact: "(928) 771-3267",
|
| 300 |
+
hours: "Mon-Fri 8am-5pm",
|
| 301 |
+
priority: 3,
|
| 302 |
+
description: "Animal emergencies and shelter"
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
service: "Prescott Valley Police",
|
| 306 |
+
contact: "(928) 772-9267",
|
| 307 |
+
hours: "24/7",
|
| 308 |
+
priority: 1,
|
| 309 |
+
description: "Law enforcement for Prescott Valley"
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
service: "Northern Arizona VA Healthcare System",
|
| 313 |
+
contact: "(928) 445-4860",
|
| 314 |
+
hours: "24/7",
|
| 315 |
+
priority: 2,
|
| 316 |
+
description: "Veteran medical emergencies"
|
| 317 |
+
}
|
| 318 |
+
];
|
| 319 |
+
|
| 320 |
+
// Function to render contacts
|
| 321 |
+
function renderContacts(filterPriority = null) {
|
| 322 |
+
const tableBody = document.getElementById('contactTable');
|
| 323 |
+
tableBody.innerHTML = '';
|
| 324 |
+
|
| 325 |
+
const filteredContacts = filterPriority
|
| 326 |
+
? contacts.filter(contact => contact.priority === filterPriority)
|
| 327 |
+
: contacts;
|
| 328 |
+
|
| 329 |
+
filteredContacts.forEach(contact => {
|
| 330 |
+
const row = document.createElement('tr');
|
| 331 |
+
row.className = `priority-${contact.priority} hover:bg-gray-50`;
|
| 332 |
+
|
| 333 |
+
// Priority badge
|
| 334 |
+
let priorityBadge = '';
|
| 335 |
+
if (contact.priority === 1) {
|
| 336 |
+
priorityBadge = '<span class="bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded">Critical</span>';
|
| 337 |
+
} else if (contact.priority === 2) {
|
| 338 |
+
priorityBadge = '<span class="bg-orange-100 text-orange-800 text-xs font-medium px-2.5 py-0.5 rounded">High</span>';
|
| 339 |
+
} else {
|
| 340 |
+
priorityBadge = '<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Standard</span>';
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
row.innerHTML = `
|
| 344 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 345 |
+
<div class="flex items-center">
|
| 346 |
+
<div>
|
| 347 |
+
<div class="text-sm font-medium text-gray-900">${contact.service}</div>
|
| 348 |
+
<div class="text-sm text-gray-500">${contact.description}</div>
|
| 349 |
+
</div>
|
| 350 |
+
</div>
|
| 351 |
+
</td>
|
| 352 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 353 |
+
<div class="text-sm text-gray-900 font-medium">${contact.contact}</div>
|
| 354 |
+
</td>
|
| 355 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 356 |
+
<div class="text-sm text-gray-500">${contact.hours}</div>
|
| 357 |
+
</td>
|
| 358 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 359 |
+
${priorityBadge}
|
| 360 |
+
</td>
|
| 361 |
+
<td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
|
| 362 |
+
<button onclick="callNumber('${contact.contact}')" class="text-blue-600 hover:text-blue-900 mr-3">
|
| 363 |
+
<i class="fas fa-phone"></i> Call
|
| 364 |
+
</button>
|
| 365 |
+
<button onclick="showDetails('${contact.service}', '${contact.contact}', '${contact.hours}', '${contact.description}')" class="text-green-600 hover:text-green-900">
|
| 366 |
+
<i class="fas fa-info-circle"></i> Details
|
| 367 |
+
</button>
|
| 368 |
+
</td>
|
| 369 |
+
`;
|
| 370 |
+
tableBody.appendChild(row);
|
| 371 |
+
});
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
// Initial render
|
| 375 |
+
renderContacts();
|
| 376 |
+
|
| 377 |
+
// Filter buttons
|
| 378 |
+
document.getElementById('filterAll').addEventListener('click', () => {
|
| 379 |
+
renderContacts();
|
| 380 |
+
});
|
| 381 |
+
|
| 382 |
+
document.getElementById('filterPriority1').addEventListener('click', () => {
|
| 383 |
+
renderContacts(1);
|
| 384 |
+
});
|
| 385 |
+
|
| 386 |
+
document.getElementById('filterPriority2').addEventListener('click', () => {
|
| 387 |
+
renderContacts(2);
|
| 388 |
+
});
|
| 389 |
+
|
| 390 |
+
document.getElementById('filterPriority3').addEventListener('click', () => {
|
| 391 |
+
renderContacts(3);
|
| 392 |
+
});
|
| 393 |
+
|
| 394 |
+
// Search functionality
|
| 395 |
+
document.getElementById('searchInput').addEventListener('input', (e) => {
|
| 396 |
+
const searchTerm = e.target.value.toLowerCase();
|
| 397 |
+
const rows = document.querySelectorAll('#contactTable tr');
|
| 398 |
+
|
| 399 |
+
rows.forEach(row => {
|
| 400 |
+
const text = row.textContent.toLowerCase();
|
| 401 |
+
if (text.includes(searchTerm)) {
|
| 402 |
+
row.style.display = '';
|
| 403 |
+
|
| 404 |
+
// Highlight matching text (simplified for this example)
|
| 405 |
+
if (searchTerm.length > 2) {
|
| 406 |
+
const cells = row.querySelectorAll('td');
|
| 407 |
+
cells.forEach(cell => {
|
| 408 |
+
const original = cell.innerHTML;
|
| 409 |
+
const highlighted = original.replace(
|
| 410 |
+
new RegExp(searchTerm, 'gi'),
|
| 411 |
+
match => `<span class="search-highlight">${match}</span>`
|
| 412 |
+
);
|
| 413 |
+
cell.innerHTML = highlighted;
|
| 414 |
+
});
|
| 415 |
+
}
|
| 416 |
+
} else {
|
| 417 |
+
row.style.display = 'none';
|
| 418 |
+
}
|
| 419 |
+
});
|
| 420 |
+
});
|
| 421 |
+
|
| 422 |
+
// Helper functions
|
| 423 |
+
function callNumber(number) {
|
| 424 |
+
alert(`Calling: ${number}\n(Simulated in this demo)`);
|
| 425 |
+
}
|
| 426 |
+
|
| 427 |
+
function showDetails(service, contact, hours, description) {
|
| 428 |
+
alert(`${service}\n\nContact: ${contact}\nHours: ${hours}\n\nDescription: ${description}`);
|
| 429 |
+
}
|
| 430 |
+
</script>
|
| 431 |
+
<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=FrecklesNInk/databases" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 432 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|