Skip to content

Commit 75df5d4

Browse files
authored
Merge pull request #46996 from sftim/20240627_mark_outstanding_vulnerabilities
Style unfixed vulnerabilities in bold
2 parents 3c57b2c + 3fd2bdb commit 75df5d4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

assets/scss/_custom.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,12 @@ footer {
341341

342342
/* DOCS */
343343

344+
table tr.cve-status-open, table tr.cve-status-unknown {
345+
> td.cve-item-summary {
346+
font-weight: bold;
347+
}
348+
}
349+
344350
.launch-cards {
345351
padding: 0;
346352
display: grid;

layouts/shortcodes/cve-feed.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
</thead>
4646
<tbody>
4747
{{ range $feed.items }}
48-
<tr>
49-
<td><a href="{{ .url }}">{{ .id | htmlEscape | safeHTML }}</a></td>
50-
<td>{{ .summary | htmlEscape | safeHTML }}</td>
48+
<tr class="cve-status-{{.status}}">
49+
<td class="cve-item-id"><a href="{{ .url }}">{{ .id | htmlEscape | safeHTML }}</a></td>
50+
<td class="cve-item-summary">{{ .summary | htmlEscape | safeHTML }}</td>
5151
<td><a href="{{ .url }}">#{{ ._kubernetes_io.issue_number }}</a></td>
5252
</tr>
5353
{{ end }}

0 commit comments

Comments
 (0)