feat(report): executive report at /relatorio with a Relatório button
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Successful in 13s
CI / Tests (Linux) (push) Successful in 34s
CI / Dependency audit (push) Successful in 10s
Release / ci (push) Successful in 57s
Release / Build image (arm64) (push) Failing after 28s
Release / Build image (amd64) (push) Successful in 7m14s
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Successful in 13s
CI / Tests (Linux) (push) Successful in 34s
CI / Dependency audit (push) Successful in 10s
Release / ci (push) Successful in 57s
Release / Build image (arm64) (push) Failing after 28s
Release / Build image (amd64) (push) Successful in 7m14s
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6a14c29b97
commit
a218111996
13 files changed
+1034
-1
No files matched your search
@@ -1128,6 +1128,7 @@ function renderReportSummary() {
|
||||
output.textContent = t('Nenhuma análise executada.');
|
||||
$('#gotoAlerts').hidden = true;
|
||||
$('#gotoHosts').hidden = true;
|
||||
$('#openReport').hidden = true;
|
||||
return;
|
||||
}
|
||||
reportSummary.hidden = false;
|
||||
@@ -1146,6 +1147,7 @@ function renderReportSummary() {
|
||||
reportStatus.textContent = report.status || '—';
|
||||
$('#gotoAlerts').hidden = false;
|
||||
$('#gotoHosts').hidden = false;
|
||||
$('#openReport').hidden = false;
|
||||
|
||||
const lines = [
|
||||
message(
|
||||
@@ -1337,6 +1339,7 @@ async function analyzeDataset() {
|
||||
output.textContent = message('Falha na análise: {n}', error.message);
|
||||
$('#gotoAlerts').hidden = true;
|
||||
$('#gotoHosts').hidden = true;
|
||||
$('#openReport').hidden = true;
|
||||
} finally {
|
||||
analyzeBtn.disabled = false;
|
||||
}
|
||||
@@ -1561,6 +1564,7 @@ function init() {
|
||||
$('#seeAllAlerts').addEventListener('click', () => showView('alerts'));
|
||||
$('#gotoAlerts').addEventListener('click', () => showView('alerts'));
|
||||
$('#gotoHosts').addEventListener('click', () => showView('hosts'));
|
||||
$('#openReport').addEventListener('click', () => window.open('/relatorio', '_blank', 'noopener'));
|
||||
|
||||
langSel.addEventListener('change', () => {
|
||||
localStorage.setItem('acaua-lang', langSel.value);
|
||||
|
||||
Reference in new issue
Block a user