fix: colspan in htlm template
This commit is contained in:
parent
72d5c97032
commit
65937fa527
2
html.tpl
2
html.tpl
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user