giriş yaptıktan sonra beni boş bir sayfaya yönlendirsin, sayfanın sağ üstünde tarih sol üstünde "kullanıcı adı" ho şgeldiniz yazsın altta footer aynı kalsın ortada mid de bi kutu kutu içinde başlık, bşalığı yazınca alt tarafa ai tarafından api ile düzenlenecek bir boşluk ver ve benim verceğim konu başlığı ile alta api sağladığın ai a komut versin. Yanına, option kutusu koy, ktuu içinde iki seçenek olsun CSI ve Vice - Initial Deployment
3a0896e verified Download index.html from Neilqwe/website: direct link, hf CLI and curl.
- Browser
- Download file 13.1 kB
-
https://huggingface.co/spaces/Neilqwe/website/resolve/main/index.html
- Command line
-
hf download hf://spaces/Neilqwe/website/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Neilqwe/website/resolve/main/index.html
13.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>LSPD - Raporlama Paneli</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"> | |
| <style> | |
| .bg-police { | |
| background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%); | |
| } | |
| .report-box { | |
| min-height: 300px; | |
| border: 1px dashed #ccc; | |
| padding: 20px; | |
| margin-top: 10px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 min-h-screen flex flex-col"> | |
| <!-- Header --> | |
| <header class="bg-police text-white py-4 shadow-lg"> | |
| <div class="container mx-auto px-4 flex justify-between items-center"> | |
| <div> | |
| <span class="font-bold" id="welcomeMessage">Hoşgeldiniz, admin</span> | |
| </div> | |
| <div> | |
| <span id="currentDate"></span> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-grow container mx-auto px-4 py-8"> | |
| <div class="max-w-4xl mx-auto bg-white rounded-lg shadow-lg p-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-xl font-bold text-gray-800">Rapor Oluştur</h2> | |
| <select id="department" class="border border-gray-300 rounded px-3 py-2"> | |
| <option value="CSI">CSI</option> | |
| <option value="Vice">Vice</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <input type="text" id="reportTitle" placeholder="Rapor Başlığı Girin" | |
| class="w-full px-4 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="report-box" id="reportContent"> | |
| <!-- AI generated content will appear here --> | |
| </div> | |
| <div class="mt-4 flex justify-end"> | |
| <button id="generateBtn" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded"> | |
| <i class="fas fa-robot mr-2"></i>Rapor Oluştur | |
| </button> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-4 text-center text-sm"> | |
| <div class="container mx-auto px-4"> | |
| <p>© 2025 Los Santos Police Department.</p> | |
| <p class="mt-1">Developed by Neil</p> | |
| </div> | |
| </footer> | |
| <script> | |
| // Set current date | |
| const now = new Date(); | |
| document.getElementById('currentDate').textContent = now.toLocaleDateString('tr-TR', { | |
| weekday: 'long', | |
| year: 'numeric', | |
| month: 'long', | |
| day: 'numeric' | |
| }); | |
| // Generate report function | |
| document.getElementById('generateBtn').addEventListener('click', async function() { | |
| const title = document.getElementById('reportTitle').value; | |
| const department = document.getElementById('department').value; | |
| const reportBox = document.getElementById('reportContent'); | |
| if (!title) { | |
| alert('Lütfen bir rapor başlığı girin'); | |
| return; | |
| } | |
| reportBox.innerHTML = '<p class="text-center py-10"><i class="fas fa-spinner fa-spin mr-2"></i>Rapor oluşturuluyor...</p>'; | |
| try { | |
| // In a real app, this would call your API | |
| // const response = await fetch('/api/generate-report', { | |
| // method: 'POST', | |
| // body: JSON.stringify({ title, department }) | |
| // }); | |
| // const data = await response.json(); | |
| // Simulated API response | |
| setTimeout(() => { | |
| reportBox.innerHTML = ` | |
| <h3 class="font-bold text-lg mb-2">${title}</h3> | |
| <p class="mb-2">Departman: ${department}</p> | |
| <p class="mb-2">Tarih: ${now.toLocaleDateString()}</p> | |
| <hr class="my-3"> | |
| <p>Bu rapor ${department} departmanı için oluşturulmuştur. Rapor içeriği AI tarafından ${title} konusu için özel olarak hazırlanmıştır.</p> | |
| <p class="mt-3">Detaylı bilgiler ve analizler bu bölümde yer alacaktır.</p> | |
| `; | |
| }, 1500); | |
| } catch (error) { | |
| reportBox.innerHTML = ` | |
| <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded"> | |
| Rapor oluşturulurken hata oluştu. Lütfen tekrar deneyin. | |
| </div> | |
| `; | |
| } | |
| }); | |
| </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=Neilqwe/website" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>LSPD - Raporlama Sistemi</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"> | |
| <style> | |
| .bg-police { | |
| background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%); | |
| } | |
| .glow-text { | |
| text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); | |
| } | |
| .input-effect { | |
| transition: all 0.3s ease; | |
| box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
| } | |
| .input-effect:focus { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .badge { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 min-h-screen flex flex-col"> | |
| <!-- Header --> | |
| <header class="bg-police text-white py-4 shadow-lg"> | |
| <div class="container mx-auto px-4 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-shield-alt text-2xl"></i> | |
| <h1 class="text-2xl font-bold glow-text">LSPD - Raporlama</h1> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-2"> | |
| <span class="bg-yellow-500 text-black px-2 py-1 rounded-full text-xs font-bold badge">OFFICIAL</span> | |
| <span class="text-sm">Los Santos Police Department</span> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-grow flex items-center justify-center py-8"> | |
| <div class="w-full max-w-md px-4"> | |
| <div class="bg-white rounded-lg shadow-xl overflow-hidden"> | |
| <!-- Login Form Header --> | |
| <div class="bg-police text-white py-4 px-6"> | |
| <h2 class="text-xl font-bold flex items-center"> | |
| <i class="fas fa-user-shield mr-2"></i> | |
| Yetkili Girişi | |
| </h2> | |
| <p class="text-xs opacity-80 mt-1">Lütfen kimlik bilgilerinizi giriniz</p> | |
| </div> | |
| <!-- Login Form --> | |
| <form id="loginForm" class="p-6"> | |
| <div class="mb-4"> | |
| <label for="username" class="block text-gray-700 text-sm font-bold mb-2"> | |
| <i class="fas fa-user mr-1"></i> Kullanıcı Adı | |
| </label> | |
| <input type="text" id="username" name="username" | |
| class="input-effect w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" | |
| placeholder="Kullanıcı adınızı girin"> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="password" class="block text-gray-700 text-sm font-bold mb-2"> | |
| <i class="fas fa-lock mr-1"></i> Şifre | |
| </label> | |
| <input type="password" id="password" name="password" | |
| class="input-effect w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" | |
| placeholder="Şifrenizi girin"> | |
| </div> | |
| <div class="flex items-center justify-between mb-4"> | |
| <div class="flex items-center"> | |
| <input id="remember" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"> | |
| <label for="remember" class="ml-2 block text-sm text-gray-700"> | |
| Beni Hatırla | |
| </label> | |
| </div> | |
| </div> | |
| <button type="submit" | |
| class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-md transition duration-300 flex items-center justify-center"> | |
| <i class="fas fa-sign-in-alt mr-2"></i> Giriş Yap | |
| </button> | |
| </form> | |
| <!-- Status Message --> | |
| <div id="statusMessage" class="hidden px-6 pb-4"></div> | |
| </div> | |
| <!-- Additional Info --> | |
| <div class="mt-6 text-center text-sm text-gray-600"> | |
| <p>Bu sistem sadece yetkili personel içindir.</p> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-4 text-center text-sm"> | |
| <div class="container mx-auto px-4"> | |
| <p>© 2025 Los Santos Police Department.</p> | |
| <p class="mt-1">Developed by Neil</p> | |
| </div> | |
| </footer> | |
| <script> | |
| document.getElementById('loginForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| const username = document.getElementById('username').value; | |
| const password = document.getElementById('password').value; | |
| const statusMessage = document.getElementById('statusMessage'); | |
| // Clear previous messages | |
| statusMessage.className = 'hidden px-6 pb-4'; | |
| statusMessage.innerHTML = ''; | |
| // Check credentials (username: admin, password: admin) | |
| if (username === 'admin' && password === 'admin') { | |
| // Successful login | |
| statusMessage.className = 'px-6 pb-4'; | |
| statusMessage.innerHTML = ` | |
| <div class="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded relative"> | |
| <strong class="font-bold">Başarılı!</strong> | |
| <span class="block sm:inline">Giriş yapılıyor...</span> | |
| <span class="absolute top-0 bottom-0 right-0 px-4 py-3"> | |
| <i class="fas fa-check-circle"></i> | |
| </span> | |
| </div> | |
| `; | |
| // Redirect to dashboard | |
| setTimeout(() => { | |
| window.location.href = 'dashboard.html'; | |
| }, 1000); | |
| } else { | |
| // Failed login | |
| statusMessage.className = 'px-6 pb-4'; | |
| statusMessage.innerHTML = ` | |
| <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative"> | |
| <strong class="font-bold">Hata!</strong> | |
| <span class="block sm:inline">Geçersiz kullanıcı adı veya şifre.</span> | |
| <span class="absolute top-0 bottom-0 right-0 px-4 py-3"> | |
| <i class="fas fa-exclamation-circle"></i> | |
| </span> | |
| </div> | |
| `; | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> |