~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: Resolve remaining CSS class prefix violations
LearningCircuit45a475aa0a29
diff --git a/src/local_deep_research/web/static/js/components/fallback/ui.js b/src/local_deep_research/web/static/js/components/fallback/ui.jsindex 5d47d21478..0503b38f5b 100644--- a/src/local_deep_research/web/static/js/components/fallback/ui.js+++ b/src/local_deep_research/web/static/js/components/fallback/ui.js@@ -48,7 +48,7 @@// Create a notification elementconst notification = document.createElement('div');- notification.className = 'ldr-notification error';+ notification.className = 'ldr-notification ldr-error';notification.innerHTML = `<i class="fas fa-exclamation-circle"></i><span>${message}</span>@@ -89,7 +89,7 @@// Create a notification elementconst notification = document.createElement('div');- notification.className = 'ldr-notification success';+ notification.className = 'ldr-notification ldr-success';notification.innerHTML = `<i class="fas fa-check-circle"></i><span>${message}</span>diff --git a/src/local_deep_research/web/static/js/components/logpanel.js b/src/local_deep_research/web/static/js/components/logpanel.jsindex 04eeadfe64..6e45b6a71f 100644--- a/src/local_deep_research/web/static/js/components/logpanel.js+++ b/src/local_deep_research/web/static/js/components/logpanel.js@@ -207,8 +207,8 @@console.log(`Filtering logs by type: ${type}`);// Update active state- filterButtons.forEach(btn => btn.classList.remove('selected'));- this.classList.add('selected');+ filterButtons.forEach(btn => btn.classList.remove('ldr-selected'));+ this.classList.add('ldr-selected');// Apply filteringfilterLogsByType(type);@@ -340,11 +340,11 @@// Highlight the autoscroll button in purple when it's// enabled to make that clear.if (window._logPanelState.autoscroll) {- autoscrollButton.classList.add('selected');+ autoscrollButton.classList.add('ldr-selected');// Immediately scroll to the bottom of the panel.consoleLogContainer.scrollTop = consoleLogContainer.scrollHeight;} else {- autoscrollButton.classList.remove('selected');+ autoscrollButton.classList.remove('ldr-selected');}}diff --git a/src/local_deep_research/web/templates/pages/benchmark_simple.html b/src/local_deep_research/web/templates/pages/benchmark_simple.htmlindex 77b757232e..a1f0df7e69 100644--- a/src/local_deep_research/web/templates/pages/benchmark_simple.html+++ b/src/local_deep_research/web/templates/pages/benchmark_simple.html@@ -7,12 +7,12 @@{% block extra_head %}<meta name="csrf-token" content="{{ csrf_token() }}"><style>-.benchmark-card {+.ldr-benchmark-card {max-width: 700px;margin: 0 auto;}-.current-config {+.ldr-current-config {background: var(--bg-color);border: 1px solid var(--border-color);border-radius: 8px;@@ -20,32 +20,32 @@margin-bottom: 20px;}-.config-item {+.ldr-config-item {display: flex;justify-content: space-between;padding: 8px 0;border-bottom: 1px solid var(--border-color);}-.config-item:last-child {+.ldr-config-item:last-child {border-bottom: none;}-.config-label {+.ldr-config-label {font-weight: 500;color: var(--text-muted);}-.config-value {+.ldr-config-value {font-weight: 600;color: var(--primary-color);}-.dataset-selection {+.ldr-dataset-selection {margin: 20px 0;}-.dataset-option {+.ldr-dataset-option {display: flex;align-items: center;padding: 15px;@@ -57,32 +57,32 @@transition: all 0.2s;}-.dataset-option:hover {+.ldr-dataset-option:hover {border-color: var(--primary-color);}-.dataset-option.selected {+.ldr-dataset-option.selected {border-color: var(--primary-color);background: var(--primary-light);}-.dataset-option input[type="number"] {+.ldr-dataset-option input[type="number"] {width: 80px;margin-left: auto;}-.start-button {+.ldr-start-button {width: 100%;padding: 15px;font-size: 1.1rem;}-.progress-section {+.ldr-progress-section {display: none;margin-top: 30px;}-.progress-bar {+.ldr-progress-bar {width: 100%;height: 30px;background: var(--bg-color);@@ -91,34 +91,34 @@margin: 20px 0;}-.progress-fill {+.ldr-progress-fill {height: 100%;background: linear-gradient(90deg, var(--primary-color), var(--accent-color));width: 0%;transition: width 0.3s ease;}-.stats-grid {+.ldr-stats-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));gap: 15px;margin-top: 20px;}-.stat-card {+.ldr-stat-card {padding: 15px;background: var(--bg-color);border-radius: 8px;text-align: center;}-.stat-value {+.ldr-stat-value {font-size: 1.8rem;font-weight: bold;color: var(--primary-color);}-.stat-label {+.ldr-stat-label {font-size: 0.9rem;color: var(--text-muted);margin-top: 5px;@@ -152,7 +152,7 @@<div class="ldr-dataset-selection"><h3>Select Datasets to Test</h3>- <div class="ldr-dataset-option selected" data-dataset="simpleqa">+ <div class="ldr-dataset-option ldr-selected" data-dataset="simpleqa"><div><h4>SimpleQA</h4><p>Fact-based questions with clear answers</p>@@ -160,7 +160,7 @@<input type="number" id="simpleqa_count" value="20" min="1" max="500"></div>- <div class="ldr-dataset-option selected" data-dataset="browsecomp">+ <div class="ldr-dataset-option ldr-selected" data-dataset="browsecomp"><div><h4>BrowseComp</h4><p>Complex browsing and comparison tasks</p>@@ -170,7 +170,7 @@</div><!-- Start Button -->- <button type="button" id="start-benchmark" class="btn btn-primary start-button">+ <button type="button" id="start-benchmark" class="btn btn-primary ldr-start-button"><i class="fas fa-play"></i> Start Benchmark</button>@@ -273,7 +273,7 @@ function displayConfig(config) {function setupEventListeners() {// Dataset selection- document.querySelectorAll('.dataset-option').forEach(option => {+ document.querySelectorAll('.ldr-dataset-option').forEach(option => {option.addEventListener('click', function(e) {if (!e.target.matches('input')) {this.classList.toggle('selected');@@ -291,7 +291,7 @@ function setupEventListeners() {async function startBenchmark() {// Get dataset configurationconst datasets = {};- document.querySelectorAll('.dataset-option.selected').forEach(option => {+ document.querySelectorAll('.ldr-dataset-option.selected').forEach(option => {const dataset = option.getAttribute('data-dataset');const count = parseInt(option.querySelector('input').value) || 0;if (count > 0) {@@ -339,13 +339,13 @@ async function startBenchmark() {}function showProgress() {- document.querySelector('.dataset-selection').style.display = 'none';+ document.querySelector('.ldr-dataset-selection').style.display = 'none';document.getElementById('start-benchmark').style.display = 'none';document.getElementById('progress-section').style.display = 'block';}function hideProgress() {- document.querySelector('.dataset-selection').style.display = 'block';+ document.querySelector('.ldr-dataset-selection').style.display = 'block';document.getElementById('start-benchmark').style.display = 'block';document.getElementById('progress-section').style.display = 'none';document.getElementById('start-benchmark').disabled = false;diff --git a/src/local_deep_research/web/templates/pages/news.html b/src/local_deep_research/web/templates/pages/news.htmlindex 169b3275af..45d6e8db6c 100644--- a/src/local_deep_research/web/templates/pages/news.html+++ b/src/local_deep_research/web/templates/pages/news.html@@ -14,12 +14,12 @@background-color: #121212 !important;color: #f5f5f5 !important;}- .main-content {+ .ldr-main-content {background-color: #121212 !important;}/* Define the button styles */- .filter-btn {+ .ldr-filter-btn {background-color: var(--accent-tertiary);color: white; /* White text color */padding: 5px 10px; /* Padding inside the button */@@ -29,7 +29,7 @@}/* Add some styles for when the user hovers over the button */- .filter-btn:hover {+ .ldr-filter-btn:hover {background-color: #87ceeb;}</style>