Spaces:
Running
Running
Download index.html from Icaa25/admin-dashboard: direct link, hf CLI and curl.
- Browser
- Download file 34.7 kB
-
https://huggingface.co/spaces/Icaa25/admin-dashboard/resolve/main/index.html
- Command line
-
hf download hf://spaces/Icaa25/admin-dashboard/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Icaa25/admin-dashboard/resolve/main/index.html
34.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ICAA Eligibility Center - Student Athlete Dashboard</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap" async defer></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| background-color: #f5f7fa; | |
| } | |
| .icaa-blue { | |
| background-color: #0056b3; | |
| } | |
| .icaa-sky { | |
| background-color: #4da6ff; | |
| } | |
| .icaa-gray { | |
| background-color: #6c757d; | |
| } | |
| .text-icaa-blue { | |
| color: #0056b3; | |
| } | |
| .text-icaa-sky { | |
| color: #4da6ff; | |
| } | |
| .border-icaa-blue { | |
| border-color: #0056b3; | |
| } | |
| .map-container { | |
| height: 400px; | |
| width: 100%; | |
| border-radius: 12px; | |
| overflow: hidden; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .status-pending { | |
| background-color: #fff3cd; | |
| color: #856404; | |
| } | |
| .status-approved { | |
| background-color: #d4edda; | |
| color: #155724; | |
| } | |
| .status-denied { | |
| background-color: #f8d7da; | |
| color: #721c24; | |
| } | |
| .progress-bar { | |
| height: 8px; | |
| border-radius: 4px; | |
| background-color: #e9ecef; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| border-radius: 4px; | |
| background-color: #0056b3; | |
| transition: width 0.5s ease; | |
| } | |
| .resource-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .resource-card { | |
| transition: all 0.3s ease; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="min-h-screen flex flex-col"> | |
| <!-- Header --> | |
| <header class="icaa-blue text-white shadow-md"> | |
| <div class="container mx-auto px-4 py-4 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <img src="https://via.placeholder.com/50" alt="ICAA Logo" class="h-10"> | |
| <h1 class="text-xl font-bold">ICAA Eligibility Center</h1> | |
| </div> | |
| <nav> | |
| <ul class="flex space-x-6"> | |
| <li><a href="#" class="hover:text-icaa-sky transition">Dashboard</a></li> | |
| <li><a href="#" class="hover:text-icaa-sky transition">Documents</a></li> | |
| <li><a href="#" class="hover:text-icaa-sky transition">Messages</a></li> | |
| <li><a href="#" class="hover:text-icaa-sky transition">Settings</a></li> | |
| </ul> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button class="bg-icaa-sky hover:bg-blue-600 text-white px-4 py-2 rounded-lg transition"> | |
| <i class="fas fa-question-circle mr-2"></i>Help | |
| </button> | |
| <div class="relative"> | |
| <button id="user-menu" class="flex items-center space-x-2 focus:outline-none"> | |
| <img src="https://via.placeholder.com/40" alt="User Profile" class="rounded-full h-10 w-10"> | |
| <span class="text-white">John Doe</span> | |
| <i class="fas fa-chevron-down text-xs"></i> | |
| </button> | |
| <div id="dropdown-menu" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-10"> | |
| <a href="#" class="block px-4 py-2 text-gray-800 hover:bg-gray-100">Profile</a> | |
| <a href="#" class="block px-4 py-2 text-gray-800 hover:bg-gray-100">Settings</a> | |
| <a href="#" class="block px-4 py-2 text-gray-800 hover:bg-gray-100">Logout</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-grow container mx-auto px-4 py-8"> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-8"> | |
| <!-- Left Column - Profile and Status --> | |
| <div class="lg:col-span-1 space-y-6"> | |
| <!-- Profile Card --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="icaa-blue p-4 text-white text-center"> | |
| <h2 class="text-xl font-bold">Student Athlete Profile</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex flex-col items-center"> | |
| <img src="https://via.placeholder.com/150" alt="Profile Image" class="rounded-full h-24 w-24 mb-4 border-4 border-icaa-blue"> | |
| <h3 class="text-xl font-bold text-gray-800">John Doe</h3> | |
| <p class="text-icaa-gray">Basketball - Point Guard</p> | |
| <p class="text-sm text-gray-500">Class of 2024</p> | |
| </div> | |
| <div class="mt-6 space-y-4"> | |
| <div> | |
| <p class="text-sm text-gray-500">High School</p> | |
| <p class="font-medium">Central High School</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-500">GPA</p> | |
| <p class="font-medium">3.75</p> | |
| </div> | |
| <div> | |
| <p class="text-sm text-gray-500">ICAA ID</p> | |
| <p class="font-medium">ICAA-2024-56789</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Eligibility Status --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="icaa-blue p-4 text-white text-center"> | |
| <h2 class="text-xl font-bold">Eligibility Status</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="font-medium">Initial Eligibility</span> | |
| <span class="px-3 py-1 rounded-full text-xs font-semibold status-approved">Approved</span> | |
| </div> | |
| <div class="progress-bar mb-6"> | |
| <div class="progress-fill" style="width: 100%"></div> | |
| </div> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="font-medium">Academic Review</span> | |
| <span class="px-3 py-1 rounded-full text-xs font-semibold status-approved">Approved</span> | |
| </div> | |
| <div class="progress-bar mb-6"> | |
| <div class="progress-fill" style="width: 100%"></div> | |
| </div> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="font-medium">Amateurism Certification</span> | |
| <span class="px-3 py-1 rounded-full text-xs font-semibold status-pending">Pending</span> | |
| </div> | |
| <div class="progress-bar mb-6"> | |
| <div class="progress-fill" style="width: 75%"></div> | |
| </div> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="font-medium">Final Certification</span> | |
| <span class="px-3 py-1 rounded-full text-xs font-semibold status-pending">Pending</span> | |
| </div> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" style="width: 50%"></div> | |
| </div> | |
| <div class="mt-6 text-center"> | |
| <button class="icaa-blue hover:bg-blue-700 text-white px-6 py-2 rounded-lg transition"> | |
| <i class="fas fa-file-upload mr-2"></i>Upload Documents | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Links --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="icaa-blue p-4 text-white text-center"> | |
| <h2 class="text-xl font-bold">Quick Links</h2> | |
| </div> | |
| <div class="p-6 space-y-4"> | |
| <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="icaa-sky text-white p-2 rounded-lg mr-4"> | |
| <i class="fas fa-graduation-cap"></i> | |
| </div> | |
| <span class="font-medium">Academic Requirements</span> | |
| </a> | |
| <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="icaa-sky text-white p-2 rounded-lg mr-4"> | |
| <i class="fas fa-running"></i> | |
| </div> | |
| <span class="font-medium">Amateurism Rules</span> | |
| </a> | |
| <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="icaa-sky text-white p-2 rounded-lg mr-4"> | |
| <i class="fas fa-calendar-alt"></i> | |
| </div> | |
| <span class="font-medium">Important Dates</span> | |
| </a> | |
| <a href="#" class="flex items-center p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="icaa-sky text-white p-2 rounded-lg mr-4"> | |
| <i class="fas fa-question-circle"></i> | |
| </div> | |
| <span class="font-medium">FAQs</span> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Right Column - Resources, College Search, and Map --> | |
| <div class="lg:col-span-2 space-y-6"> | |
| <!-- Welcome Banner --> | |
| <div class="bg-gradient-to-r from-icaa-blue to-icaa-sky text-white rounded-xl p-6 shadow-md"> | |
| <h2 class="text-2xl font-bold mb-2">Welcome Back, John!</h2> | |
| <p class="opacity-90">Your eligibility process is 75% complete. Check your status and next steps below.</p> | |
| <div class="mt-4 flex items-center"> | |
| <div class="flex-1 bg-white bg-opacity-20 rounded-full h-3"> | |
| <div class="bg-white h-3 rounded-full" style="width: 75%"></div> | |
| </div> | |
| <span class="ml-4 font-medium">75% Complete</span> | |
| </div> | |
| </div> | |
| <!-- Resources Section --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="icaa-blue p-4 text-white"> | |
| <h2 class="text-xl font-bold">Resources & Guides</h2> | |
| </div> | |
| <div class="p-6 grid grid-cols-1 md:grid-cols-2 gap-4"> | |
| <div class="resource-card bg-gray-50 p-4 rounded-lg border border-gray-200 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="icaa-sky text-white p-3 rounded-lg mr-4"> | |
| <i class="fas fa-file-alt text-lg"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-icaa-blue">Eligibility Guidebook</h3> | |
| <p class="text-sm text-gray-600 mt-1">Complete guide to ICAA eligibility requirements</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="resource-card bg-gray-50 p-4 rounded-lg border border-gray-200 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="icaa-sky text-white p-3 rounded-lg mr-4"> | |
| <i class="fas fa-chart-line text-lg"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-icaa-blue">Academic Planning</h3> | |
| <p class="text-sm text-gray-600 mt-1">Plan your coursework to meet ICAA standards</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="resource-card bg-gray-50 p-4 rounded-lg border border-gray-200 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="icaa-sky text-white p-3 rounded-lg mr-4"> | |
| <i class="fas fa-dollar-sign text-lg"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-icaa-blue">Financial Aid Info</h3> | |
| <p class="text-sm text-gray-600 mt-1">Understanding scholarships and financial aid</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="resource-card bg-gray-50 p-4 rounded-lg border border-gray-200 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="icaa-sky text-white p-3 rounded-lg mr-4"> | |
| <i class="fas fa-video text-lg"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-icaa-blue">Video Tutorials</h3> | |
| <p class="text-sm text-gray-600 mt-1">Step-by-step video guides for the process</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- College Search --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="icaa-blue p-4 text-white"> | |
| <h2 class="text-xl font-bold">College Directory</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="relative mb-6"> | |
| <input type="text" placeholder="Search colleges by name, location, or division..." | |
| class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-icaa-blue focus:border-transparent"> | |
| <button class="absolute right-3 top-3 text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-search"></i> | |
| </button> | |
| </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">College</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Division</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Location</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 class="hover:bg-gray-50 cursor-pointer"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="https://via.placeholder.com/40" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">State University</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Division I</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">California</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-approved">Contacted</span> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50 cursor-pointer"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="https://via.placeholder.com/40" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Tech Institute</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Division II</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Texas</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-pending">Interested</span> | |
| </td> | |
| </tr> | |
| <tr class="hover:bg-gray-50 cursor-pointer"> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10"> | |
| <img class="h-10 w-10 rounded-full" src="https://via.placeholder.com/40" alt=""> | |
| </div> | |
| <div class="ml-4"> | |
| <div class="text-sm font-medium text-gray-900">Liberal Arts College</div> | |
| </div> | |
| </div> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Division III</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">New York</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full status-denied">Not Contacted</span> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| <div class="mt-4 flex justify-between items-center"> | |
| <div class="text-sm text-gray-500"> | |
| Showing <span class="font-medium">1</span> to <span class="font-medium">3</span> of <span class="font-medium">12</span> colleges | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Previous | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-white icaa-blue hover:bg-blue-700"> | |
| 1 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| 2 | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50"> | |
| Next | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- ICAA Regions Map --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="icaa-blue p-4 text-white"> | |
| <h2 class="text-xl font-bold">ICAA Regions & Athletes</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="map-container" id="map"> | |
| <!-- Map will be loaded here --> | |
| </div> | |
| <div class="mt-4 grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <div class="bg-gray-50 p-3 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="h-3 w-3 rounded-full bg-icaa-blue mr-2"></div> | |
| <span class="text-sm font-medium">Region 1</span> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">125 athletes</p> | |
| </div> | |
| <div class="bg-gray-50 p-3 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="h-3 w-3 rounded-full bg-icaa-sky mr-2"></div> | |
| <span class="text-sm font-medium">Region 2</span> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">98 athletes</p> | |
| </div> | |
| <div class="bg-gray-50 p-3 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="h-3 w-3 rounded-full bg-green-500 mr-2"></div> | |
| <span class="text-sm font-medium">Region 3</span> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">156 athletes</p> | |
| </div> | |
| <div class="bg-gray-50 p-3 rounded-lg"> | |
| <div class="flex items-center"> | |
| <div class="h-3 w-3 rounded-full bg-yellow-500 mr-2"></div> | |
| <span class="text-sm font-medium">Region 4</span> | |
| </div> | |
| <p class="text-xs text-gray-500 mt-1">87 athletes</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="icaa-blue 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-bold mb-4">ICAA Eligibility Center</h3> | |
| <p class="text-sm opacity-80">Helping student-athletes navigate the college recruitment and eligibility process since 1985.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">Home</a></li> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">About ICAA</a></li> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">Eligibility Requirements</a></li> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">Contact Us</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Resources</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">Guidebooks</a></li> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">Webinars</a></li> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">FAQs</a></li> | |
| <li><a href="#" class="text-sm opacity-80 hover:opacity-100 transition">Glossary</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Connect With Us</h3> | |
| <div class="flex space-x-4 mb-4"> | |
| <a href="#" class="bg-white bg-opacity-20 hover:bg-opacity-30 rounded-full h-8 w-8 flex items-center justify-center transition"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="bg-white bg-opacity-20 hover:bg-opacity-30 rounded-full h-8 w-8 flex items-center justify-center transition"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="bg-white bg-opacity-20 hover:bg-opacity-30 rounded-full h-8 w-8 flex items-center justify-center transition"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="bg-white bg-opacity-20 hover:bg-opacity-30 rounded-full h-8 w-8 flex items-center justify-center transition"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| <p class="text-sm opacity-80">Email: info@icaa.org</p> | |
| <p class="text-sm opacity-80">Phone: (800) 555-ICAA</p> | |
| </div> | |
| </div> | |
| <div class="border-t border-white border-opacity-20 mt-8 pt-6 text-sm text-center opacity-80"> | |
| <p>© 2023 ICAA Eligibility Center. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| // Toggle dropdown menu | |
| document.getElementById('user-menu').addEventListener('click', function() { | |
| document.getElementById('dropdown-menu').classList.toggle('hidden'); | |
| }); | |
| // Close dropdown when clicking outside | |
| document.addEventListener('click', function(event) { | |
| const dropdown = document.getElementById('dropdown-menu'); | |
| const button = document.getElementById('user-menu'); | |
| if (!button.contains(event.target) && !dropdown.contains(event.target)) { | |
| dropdown.classList.add('hidden'); | |
| } | |
| }); | |
| // Initialize map | |
| function initMap() { | |
| const map = new google.maps.Map(document.getElementById("map"), { | |
| center: { lat: 37.0902, lng: -95.7129 }, | |
| zoom: 4, | |
| styles: [ | |
| { | |
| "featureType": "administrative", | |
| "elementType": "geometry", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "poi", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "road", | |
| "elementType": "labels.icon", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "transit", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| } | |
| ] | |
| }); | |
| // Add markers for regions (simplified example) | |
| const regions = [ | |
| { lat: 34.0522, lng: -118.2437, title: "Region 1", color: "#0056b3" }, | |
| { lat: 40.7128, lng: -74.0060, title: "Region 2", color: "#4da6ff" }, | |
| { lat: 41.8781, lng: -87.6298, title: "Region 3", color: "#28a745" }, | |
| { lat: 29.7604, lng: -95.3698, title: "Region 4", color: "#ffc107" } | |
| ]; | |
| regions.forEach(region => { | |
| new google.maps.Marker({ | |
| position: { lat: region.lat, lng: region.lng }, | |
| map: map, | |
| title: region.title, | |
| icon: { | |
| path: google.maps.SymbolPath.CIRCLE, | |
| fillColor: region.color, | |
| fillOpacity: 0.8, | |
| strokeWeight: 0, | |
| scale: 10 | |
| } | |
| }); | |
| }); | |
| } | |
| // Simulate loading data | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // This would be replaced with actual API calls in a real application | |
| setTimeout(() => { | |
| console.log("Dashboard data loaded"); | |
| }, 1000); | |
| }); | |
| </script> | |
| <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=Icaa25/admin-dashboard" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |