mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Add fieldset araound publsher in html report
This commit is contained in:
parent
649b5c904b
commit
6bf7b52890
1 changed files with 9 additions and 6 deletions
|
|
@ -11,38 +11,41 @@
|
||||||
<h2>{{ .Name }}{{ if .HasErrors }} (failed){{ end }}</h2>
|
<h2>{{ .Name }}{{ if .HasErrors }} (failed){{ end }}</h2>
|
||||||
<p>
|
<p>
|
||||||
{{ with .Publisher }}
|
{{ with .Publisher }}
|
||||||
|
<fieldset>
|
||||||
|
<legend>Publisher</legend>
|
||||||
<table>
|
<table>
|
||||||
{{ with .Category }}
|
{{ with .Category }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>category:</strong></td>
|
<td><strong>Category:</strong></td>
|
||||||
<td>{{ . }}</td>
|
<td>{{ . }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Name }}
|
{{ with .Name }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>name:</strong></td>
|
<td><strong>Name:</strong></td>
|
||||||
<td>{{ . }}</td>
|
<td>{{ . }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Namespace }}
|
{{ with .Namespace }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>namespace:</strong></td>
|
<td><strong>Namespace:</strong></td>
|
||||||
<td>{{ . }}</td>
|
<td>{{ . }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .ContactDetails }}
|
{{ with .ContactDetails }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>contact details:</strong></td>
|
<td><strong>Contact Details:</strong></td>
|
||||||
<td>{{ . }}</td>
|
<td>{{ . }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .IssuingAuthority }}
|
{{ with .IssuingAuthority }}
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>issuing authority:</strong></td>
|
<td><strong>Issuing Authority:</strong></td>
|
||||||
<td>{{ . }}</td>
|
<td>{{ . }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<table>
|
</table>
|
||||||
|
</fieldset>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</br>
|
</br>
|
||||||
{{ with .Role }}<strong>Role:</strong> {{ . }}{{ end }}
|
{{ with .Role }}<strong>Role:</strong> {{ . }}{{ end }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue