fix: colspan in htlm template

This commit is contained in:
Stefan Reimer 2022-01-19 15:05:36 +01:00
parent 72d5c97032
commit 65937fa527

View File

@ -85,7 +85,7 @@
<h1>{{- escapeXML ( index . 0 ).Target }} - Trivy Report - {{ getCurrentTime }}</h1> <h1>{{- escapeXML ( index . 0 ).Target }} - Trivy Report - {{ getCurrentTime }}</h1>
<table> <table>
{{- range . }} {{- range . }}
<tr class="group-header"><th colspan="6">{{ escapeXML .Type }}</th></tr> <tr class="group-header"><th colspan="7">{{ escapeXML .Type }}</th></tr>
{{- if (eq (len .Vulnerabilities) 0) }} {{- if (eq (len .Vulnerabilities) 0) }}
<tr><th colspan="7">No Vulnerabilities found</th></tr> <tr><th colspan="7">No Vulnerabilities found</th></tr>
{{- else }} {{- else }}