Style unfixed vulnerabilities in bold

For the CVE feed, use bold for any vulnerability that hasn't been fixed.
pull/46996/head
Tim Bannister 2024-06-27 13:24:22 +01:00
parent 3c57b2c57e
commit 3fd2bdbdd2
2 changed files with 9 additions and 3 deletions

View File

@ -341,6 +341,12 @@ footer {
/* DOCS */
table tr.cve-status-open, table tr.cve-status-unknown {
> td.cve-item-summary {
font-weight: bold;
}
}
.launch-cards {
padding: 0;
display: grid;

View File

@ -45,9 +45,9 @@
</thead>
<tbody>
{{ range $feed.items }}
<tr>
<td><a href="{{ .url }}">{{ .id | htmlEscape | safeHTML }}</a></td>
<td>{{ .summary | htmlEscape | safeHTML }}</td>
<tr class="cve-status-{{.status}}">
<td class="cve-item-id"><a href="{{ .url }}">{{ .id | htmlEscape | safeHTML }}</a></td>
<td class="cve-item-summary">{{ .summary | htmlEscape | safeHTML }}</td>
<td><a href="{{ .url }}">#{{ ._kubernetes_io.issue_number }}</a></td>
</tr>
{{ end }}