it
This commit is contained in:
@@ -517,7 +517,7 @@ input[type="text"]:focus, select:focus {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.provider-stats {
|
||||
.provider-stats, .provider-task-stats {
|
||||
font-size: 0.8rem;
|
||||
color: #999;
|
||||
display: grid;
|
||||
@@ -526,6 +526,13 @@ input[type="text"]:focus, select:focus {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.provider-task-stats {
|
||||
border-top: 1px solid #333;
|
||||
padding-top: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.provider-stat {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
@@ -64,6 +64,9 @@ class DNSReconApp {
|
||||
progressDisplay: document.getElementById('progress-display'),
|
||||
indicatorsDisplay: document.getElementById('indicators-display'),
|
||||
relationshipsDisplay: document.getElementById('relationships-display'),
|
||||
taskQueueDisplay: document.getElementById('task-queue-display'),
|
||||
tasksCompletedDisplay: document.getElementById('tasks-completed-display'),
|
||||
tasksReEnqueuedDisplay: document.getElementById('tasks-re-enqueued-display'),
|
||||
progressFill: document.getElementById('progress-fill'),
|
||||
|
||||
// Provider elements
|
||||
@@ -548,6 +551,15 @@ class DNSReconApp {
|
||||
if (this.elements.indicatorsDisplay) {
|
||||
this.elements.indicatorsDisplay.textContent = status.indicators_processed || 0;
|
||||
}
|
||||
if (this.elements.taskQueueDisplay) {
|
||||
this.elements.taskQueueDisplay.textContent = status.task_queue_size || 0;
|
||||
}
|
||||
if (this.elements.tasksCompletedDisplay) {
|
||||
this.elements.tasksCompletedDisplay.textContent = status.indicators_completed || 0;
|
||||
}
|
||||
if (this.elements.tasksReEnqueuedDisplay) {
|
||||
this.elements.tasksReEnqueuedDisplay.textContent = status.tasks_re_enqueued || 0;
|
||||
}
|
||||
|
||||
// Update progress bar with smooth animation
|
||||
if (this.elements.progressFill) {
|
||||
@@ -790,6 +802,20 @@ class DNSReconApp {
|
||||
<span class="provider-stat-value">${info.rate_limit}/min</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="provider-task-stats">
|
||||
<div class="provider-stat">
|
||||
<span class="provider-stat-label">Task Queue:</span>
|
||||
<span class="provider-stat-value">${info.task_queue_size || 0}</span>
|
||||
</div>
|
||||
<div class="provider-stat">
|
||||
<span class="provider-stat-label">Tasks Completed:</span>
|
||||
<span class="provider-stat-value">${info.tasks_completed || 0}</span>
|
||||
</div>
|
||||
<div class="provider-stat">
|
||||
<span class="provider-stat-label">Tasks Re-enqueued:</span>
|
||||
<span class="provider-stat-value">${info.tasks_re_enqueued || 0}</span>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
this.elements.providerList.appendChild(providerItem);
|
||||
|
||||
Reference in New Issue
Block a user