diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc index 8a5c19b..2a224a6 100644 Binary files a/core/__pycache__/models.cpython-311.pyc and b/core/__pycache__/models.cpython-311.pyc differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 34dcb8b..7d8f35f 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 625c65c..873c581 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/migrations/__pycache__/0003_alter_lottery_name.cpython-311.pyc b/core/migrations/__pycache__/0003_alter_lottery_name.cpython-311.pyc index 76a3f81..2b3811c 100644 Binary files a/core/migrations/__pycache__/0003_alter_lottery_name.cpython-311.pyc and b/core/migrations/__pycache__/0003_alter_lottery_name.cpython-311.pyc differ diff --git a/core/templates/core/hits_report.html b/core/templates/core/hits_report.html new file mode 100644 index 0000000..192ce26 --- /dev/null +++ b/core/templates/core/hits_report.html @@ -0,0 +1,154 @@ +{% extends 'base.html' %} +{% load static %} + +{% block content %} +
+
+
+ +
+
+

MONITOR DE ACERTOS IA

+

Relatório Detalhado de Combinações com Alta Probabilidade de Elite

+
+
+ + +
+
+ + +
+
+
+ QUADRAS DETECTADAS +

0

+
+
+
+
+ QUINAS DETECTADAS +

0

+
+
+
+
+ SENAS DETECTADAS +

0

+
+
+
+ + +
+
+ +

Aguardando dados do Detector de Acertos...

+
+
+
+
+
+ + + + +{% endblock %} diff --git a/core/templates/core/sequential_generator.html b/core/templates/core/sequential_generator.html index 1c7525e..c4eec2e 100644 --- a/core/templates/core/sequential_generator.html +++ b/core/templates/core/sequential_generator.html @@ -48,6 +48,9 @@ + + ABRIR NO NAVEGADOR +
@@ -346,7 +349,11 @@ document.getElementById("count-quadra").innerText = countQuadra.toLocaleString(); document.getElementById("count-quina").innerText = countQuina.toLocaleString(); document.getElementById("count-sena").innerText = countSena.toLocaleString(); - if (detectedHits.length > 0) btnDownload.classList.remove("d-none"); + if (detectedHits.length > 0) { + document.getElementById("btn-download").classList.remove("d-none"); + document.getElementById("btn-open-browser").classList.remove("d-none"); + localStorage.setItem('detectedHits', JSON.stringify(detectedHits)); + } } function generateChunk() { diff --git a/core/urls.py b/core/urls.py index 3829068..11f06c8 100644 --- a/core/urls.py +++ b/core/urls.py @@ -14,4 +14,5 @@ urlpatterns = [ path('resultados/', views.lottery_results, name='lottery_results'), path('resultados/download//', views.download_funnel, name='download_funnel'), path('supercomputador/relatorio/', views.full_report, name='full_report'), + path('gerador-sequencial/acertos/', views.hits_report, name='hits_report'), ] diff --git a/core/views.py b/core/views.py index 9e52477..2754939 100644 --- a/core/views.py +++ b/core/views.py @@ -720,3 +720,7 @@ def full_report(request): "reports": report_data, "current_time": timezone.now() }) + +def hits_report(request): + """Exibe o relatório detalhado de acertos detectados pelo motor sequencial.""" + return render(request, "core/hits_report.html")