Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Settings - StreamSnatcher Pro</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> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .dark .gradient-bg { | |
| background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen gradient-bg"> | |
| <div class="container mx-auto px-4 py-8 max-w-4xl"> | |
| <!-- Header --> | |
| <div class="flex items-center justify-between mb-8"> | |
| <div class="flex items-center space-x-3"> | |
| <a href="index.html" class="text-white/70 hover:text-white transition-colors duration-200"> | |
| <i data-feather="arrow-left" class="w-6 h-6"></i> | |
| </a> | |
| <h1 class="text-3xl font-bold text-white">Settings</h1> | |
| </div> | |
| <button class="p-2 rounded-full bg-white/10 hover:bg-white/20 text-white transition-colors duration-200"> | |
| <i data-feather="save" class="w-5 h-5"></i> | |
| </button> | |
| </div> | |
| <!-- Settings Cards --> | |
| <div class="grid gap-6"> | |
| <!-- Download Settings --> | |
| <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <i data-feather="download" class="w-6 h-6 text-white"></i> | |
| <h2 class="text-xl font-semibold text-white">Download Settings</h2> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Default Quality</h3> | |
| <p class="text-white/70 text-sm">Set preferred video quality</p> | |
| </div> | |
| <select class="px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white focus:outline-none focus:ring-2 focus:ring-white/50"> | |
| <option>Auto (Highest)</option> | |
| <option selected>720p</option> | |
| <option>480p</option> | |
| <option>360p</option> | |
| </select> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Download Location</h3> | |
| <p class="text-white/70 text-sm">Choose where to save files</p> | |
| </div> | |
| <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 text-white rounded-lg transition-colors duration-200"> | |
| Browse... | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Simultaneous Downloads</h3> | |
| <p class="text-white/70 text-sm">Number of parallel downloads</p> | |
| </div> | |
| <input type="number" value="1" min="1" max="5" | |
| class="w-20 px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white text-center focus:outline-none focus:ring-2 focus:ring-white/50"> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Security Settings --> | |
| <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <i data-feather="shield" class="w-6 h-6 text-white"></i> | |
| <h2 class="text-xl font-semibold text-white">Security & Privacy</h2> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Clear Download History</h3> | |
| <p class="text-white/70 text-sm">Remove all download records</p> | |
| </div> | |
| <button class="px-4 py-2 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200"> | |
| Clear All | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Auto-logout</h3> | |
| <p class="text-white/70 text-sm">Logout after inactivity</p> | |
| </div> | |
| <label class="relative inline-flex items-center cursor-pointer"> | |
| <input type="checkbox" class="sr-only peer" checked> | |
| <div class="w-11 h-6 bg-white/20 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500/30"></div> | |
| </label> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">DRM Content Warning</h3> | |
| <p class="text-white/70 text-sm">Show warning for protected content</p> | |
| </div> | |
| <label class="relative inline-flex items-center cursor-pointer"> | |
| <input type="checkbox" class="sr-only peer" checked> | |
| <div class="w-11 h-6 bg-white/20 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500/30"></div> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Platform Settings --> | |
| <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <i data-feather="tv" class="w-6 h-6 text-white"></i> | |
| <h2 class="text-xl font-semibold text-white">Platform Configuration</h2> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="tv" class="w-5 h-5 text-white/70"></i> | |
| <div> | |
| <h3 class="text-white font-medium">JioCinema</h3> | |
| <p class="text-white/70 text-sm">Not authenticated</p> | |
| </div> | |
| </div> | |
| <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 text-white rounded-lg transition-colors duration-200"> | |
| Login | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="tv" class="w-5 h-5 text-white/70"></i> | |
| <div> | |
| <h3 class="text-white font-medium">Hotstar</h3> | |
| <p class="text-white/70 text-sm">Authenticated</p> | |
| </div> | |
| </div> | |
| <button class="px-4 py-2 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200"> | |
| Logout | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="tv" class="w-5 h-5 text-white/70"></i> | |
| <div> | |
| <h3 class="text-white font-medium">MX Player</h3> | |
| <p class="text-white/70 text-sm">Not authenticated</p> | |
| </div> | |
| </div> | |
| <button class="px-4 py-2 bg-white/10 hover:bg-white/20 border border-white/20 text-white rounded-lg transition-colors duration-200"> | |
| Login | |
| </button> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <i data-feather="tv" class="w-5 h-5 text-white/70"></i> | |
| <div> | |
| <h3 class="text-white font-medium">Zee5</h3> | |
| <p class="text-white/70 text-sm">Authenticated</p> | |
| </div> | |
| </div> | |
| <button class="px-4 py-2 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200"> | |
| Logout | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Advanced Settings --> | |
| <div class="bg-white/10 backdrop-blur-lg rounded-2xl p-6 border border-white/20"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <i data-feather="settings" class="w-6 h-6 text-white"></i> | |
| <h2 class="text-xl font-semibold text-white">Advanced</h2> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">User Agent</h3> | |
| <p class="text-white/70 text-sm">Custom browser identification</p> | |
| </div> | |
| <select class="px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white focus:outline-none focus:ring-2 focus:ring-white/50"> | |
| <option>Default</option> | |
| <option>Chrome Desktop</option> | |
| <option>Firefox Mobile</option> | |
| <option>Custom...</option> | |
| </select> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Connection Timeout</h3> | |
| <p class="text-white/70 text-sm">Request timeout in seconds</p> | |
| </div> | |
| <input type="number" value="30" min="10" max="120" | |
| class="w-20 px-3 py-2 rounded-lg bg-white/10 border border-white/20 text-white text-center focus:outline-none focus:ring-2 focus:ring-white/50"> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h3 class="text-white font-medium">Debug Mode</h3> | |
| <p class="text-white/70 text-sm">Show detailed logs</p> | |
| </div> | |
| <label class="relative inline-flex items-center cursor-pointer"> | |
| <input type="checkbox" class="sr-only peer"> | |
| <div class="w-11 h-6 bg-white/20 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-500/30"></div> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Reset Section --> | |
| <div class="mt-8 text-center"> | |
| <button class="px-6 py-3 bg-red-500/20 hover:bg-red-500/30 border border-red-500/30 text-red-300 rounded-lg transition-colors duration-200 font-medium"> | |
| Reset All Settings to Default | |
| </button> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |