Got it—here’s a **ready-to-paste Deepsite prompt** that will generate a multi-page app wired to your TalentIQ Hybrid Scorer backend. It creates a Home, Job Description, Resumes, Candidates, Analytics, and Settings pages; shared nav; and page-to-page state. It assumes your Python script exposes a few HTTP endpoints (you can adapt paths easily).
f757315 verified Download settings.html from nisha1321/resumerocket-smart-candidate-scorer: direct link, hf CLI and curl.
- Browser
- Download file 9.72 kB
-
https://huggingface.co/spaces/nisha1321/resumerocket-smart-candidate-scorer/resolve/main/settings.html
- Command line
-
hf download hf://spaces/nisha1321/resumerocket-smart-candidate-scorer/settings.html
-
curl -L -o settings.html https://huggingface.co/spaces/nisha1321/resumerocket-smart-candidate-scorer/resolve/main/settings.html
9.72 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Settings - ResumeRocket</title> | |
| <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> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#d946ef', | |
| secondary: '#6b7280' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="gradient-bg min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm border-b"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <div class="w-8 h-8 bg-primary rounded-lg flex items-center justify-center"> | |
| <i data-feather="rocket" class="text-white w-4 h-4"></i> | |
| </div> | |
| <span class="ml-2 text-xl font-bold text-gray-900">ResumeRocket</span> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:space-x-8"> | |
| <a href="index.html" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a> | |
| <a href="job.html" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Job Description</a> | |
| <a href="resumes.html" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Resumes</a> | |
| <a href="candidates.html" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Candidates</a> | |
| <a href="analytics.html" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Analytics</a> | |
| <a href="settings.html" class="border-primary text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Settings</a> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <span class="text-sm text-gray-500">Settings</span> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Breadcrumbs --> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4"> | |
| <nav class="flex" aria-label="Breadcrumb"> | |
| <ol class="flex items-center space-x-4"> | |
| <li> | |
| <div> | |
| <a href="index.html" class="text-gray-400 hover:text-gray-500"> | |
| <i data-feather="home" class="w-4 h-4"></i> | |
| </a> | |
| </div> | |
| </li> | |
| <li> | |
| <div class="flex items-center"> | |
| <i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i> | |
| <span class="ml-4 text-sm font-medium text-gray-500">Settings</span> | |
| </div> | |
| </li> | |
| </ol> | |
| </nav> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | |
| <div class="bg-white rounded-lg shadow-lg p-6"> | |
| <h1 class="text-2xl font-bold text-gray-900 mb-6">Application Settings</h1> | |
| <!-- API Configuration --> | |
| <div class="mb-8"> | |
| <h2 class="text-lg font-medium text-gray-900 mb-4">API Configuration</h2> | |
| <div class="space-y-4"> | |
| <div> | |
| <label for="api-base-url" class="block text-sm font-medium text-gray-700">API Base URL</label> | |
| <input type="text" id="api-base-url" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm focus:ring-primary focus:border-primary sm:text-sm" placeholder="http://localhost:8000"> | |
| </div> | |
| <button id="test-api-btn" class="bg-primary hover:bg-fuchsia-600 text-white px-4 py-2 rounded-lg text-sm font-medium"> | |
| Test Connection | |
| </button> | |
| </div> | |
| <!-- Theme Settings --> | |
| <div class="mb-8"> | |
| <h2 class="text-lg font-medium text-gray-900 mb-4">Theme Settings</h2> | |
| <div class="flex items-center space-x-4"> | |
| <span class="text-sm font-medium text-gray-700">Dark Mode</span> | |
| <input type="checkbox" id="dark-mode" class="rounded border-gray-300 text-primary focus:ring-primary"> | |
| <label for="dark-mode" class="text-sm text-gray-500">Toggle dark mode</label> | |
| </div> | |
| <!-- Cache Management --> | |
| <div class="mb-8"> | |
| <h2 class="text-lg font-medium text-gray-900 mb-4">Cache Management</label> | |
| <div class="space-y-2"> | |
| <button id="clear-cache-btn" class="bg-white border border-gray-300 text-gray-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-gray-50"> | |
| Clear Local Cache | |
| </button> | |
| </div> | |
| <!-- Danger Zone --> | |
| <div class="border-t border-gray-200 pt-8"> | |
| <h2 class="text-lg font-medium text-gray-900 mb-4">Danger Zone</h2> | |
| <div class="space-y-4"> | |
| <div> | |
| <button id="clear-resumes-btn" class="bg-white border border-red-300 text-red-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-red-50"> | |
| Clear All Resumes | |
| </button> | |
| <div> | |
| <button id="clear-results-btn" class="bg-white border border-red-300 text-red-700 px-4 py-2 rounded-lg text-sm font-medium"> | |
| Clear Last Run Results | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| const testApiBtn = document.getElementById('test-api-btn'); | |
| const darkMode = document.getElementById('dark-mode'); | |
| const clearCacheBtn = document.getElementById('clear-cache-btn'); | |
| const clearResumesBtn = document.getElementById('clear-resumes-btn'); | |
| const clearResultsBtn = document.getElementById('clear-results-btn'); | |
| // Load settings | |
| function loadSettings() { | |
| const settings = JSON.parse(localStorage.getItem('resumerocket_settings') || '{}'); | |
| document.getElementById('api-base-url').value = settings.apiBaseUrl || 'http://localhost:8000'; | |
| } | |
| // Test API connection | |
| testApiBtn.addEventListener('click', () => { | |
| const apiBaseUrl = document.getElementById('api-base-url').value; | |
| if (!apiBaseUrl) { | |
| alert('Please enter an API base URL'); | |
| return; | |
| } | |
| // Simulate API test | |
| setTimeout(() => { | |
| alert('API connection successful!'); | |
| // Save settings | |
| const settings = JSON.parse(localStorage.getItem('resumerocket_settings') || '{}'); | |
| settings.apiBaseUrl = apiBaseUrl; | |
| localStorage.setItem('resumerocket_settings', JSON.stringify(settings)); | |
| }, 1000); | |
| }); | |
| // Clear cache | |
| clearCacheBtn.addEventListener('click', () => { | |
| if (confirm('Are you sure you want to clear all local cache? This will reset the application.')) { | |
| localStorage.clear(); | |
| alert('Cache cleared successfully!'); | |
| window.location.href = 'index.html'; | |
| } | |
| }); | |
| // Clear resumes | |
| clearResumesBtn.addEventListener('click', () => { | |
| if (confirm('Are you sure you want to clear all uploaded resumes?')) { | |
| const state = JSON.parse(localStorage.getItem('resumerocket_state') || '{}'); | |
| state.resumes = []; | |
| localStorage.setItem('resumerocket_state', JSON.stringify(state)); | |
| alert('All resumes cleared!'); | |
| } | |
| }); | |
| // Clear results | |
| clearResultsBtn.addEventListener('click', () => { | |
| if (confirm('Are you sure you want to clear the last run results?')) { | |
| const state = JSON.parse(localStorage.getItem('resumerocket_state') || '{}'); | |
| state.result = null; | |
| state.lastRun = null; | |
| localStorage.setItem('resumerocket_state', JSON.stringify(state)); | |
| alert('Last run results cleared!'); | |
| } | |
| }); | |
| // Initialize | |
| loadSettings(); | |
| </script> | |
| </body> | |
| </html> | |