From 85d3227ca322d2a06daccb00663f7b383a26fa1d Mon Sep 17 00:00:00 2001 From: Rieven Date: Tue, 3 Sep 2024 09:31:01 +0200 Subject: [PATCH] Fix findings overview overflow (#3439) --- .../report_severity_totals_table.html | 108 +++++++++--------- 1 file changed, 53 insertions(+), 55 deletions(-) diff --git a/rocky/reports/templates/partials/report_severity_totals_table.html b/rocky/reports/templates/partials/report_severity_totals_table.html index 2803dab932f..0074622bfc1 100644 --- a/rocky/reports/templates/partials/report_severity_totals_table.html +++ b/rocky/reports/templates/partials/report_severity_totals_table.html @@ -3,63 +3,61 @@

{% translate "Findings overview" %}

-
-
- - - +
+
{% translate "Total per severity overview" %}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% translate "Total per severity overview" %}
{% translate "Risk level" %}{% translate "Findings" %}{% translate "Occurrences" %}
+ Critical + {{ data.total_by_severity_per_finding_type.critical }}{{ data.total_by_severity.critical }}
+ High + {{ data.total_by_severity_per_finding_type.high }}{{ data.total_by_severity.high }}
+ Medium + {{ data.total_by_severity_per_finding_type.medium }}{{ data.total_by_severity.medium }}
+ Low + {{ data.total_by_severity_per_finding_type.low }}{{ data.total_by_severity.low }}
+ Recommendation + {{ data.total_by_severity_per_finding_type.recommendation }}{{ data.total_by_severity.recommendation }}
{% translate "Risk level" %}{% translate "Findings" %}{% translate "Occurrences" %}Total{{ data.total_finding_types }}{{ data.total_occurrences }}
- Critical - {{ data.total_by_severity_per_finding_type.critical }}{{ data.total_by_severity.critical }}
- High - {{ data.total_by_severity_per_finding_type.high }}{{ data.total_by_severity.high }}
- Medium - {{ data.total_by_severity_per_finding_type.medium }}{{ data.total_by_severity.medium }}
- Low - {{ data.total_by_severity_per_finding_type.low }}{{ data.total_by_severity.low }}
- Recommendation - {{ data.total_by_severity_per_finding_type.recommendation }}{{ data.total_by_severity.recommendation }}
Total{{ data.total_finding_types }}{{ data.total_occurrences }}
-
+ + +