Skip to content

Commit

Permalink
chg: [website] Removed the box-arrow-up-right icon linking to NVD. Ad…
Browse files Browse the repository at this point in the history
…justed the size of the table of the /recent page.
cedricbonhomme committed Nov 28, 2024

Verified

This commit was signed with the committer’s verified signature.
cedricbonhomme Cédric Bonhomme
1 parent f6bee5e commit e8ae16e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions website/web/templates/recent.html
Original file line number Diff line number Diff line change
@@ -42,17 +42,17 @@ <h1>Recent vulnerabilities</h1>
<th scope="col" class="col-md">Published</th>
<th scope="col" class="col-md">Updated</th>
{% elif 'csaf_' in source %}
<th scope="col" class="col-md-1">ID</th>
<th scope="col" class="col-md-3">ID</th>
<th scope="col">Description</th>
<th scope="col" class="col-md-1">Published</th>
<th scope="col" class="col-md-1">Updated</th>
<th scope="col" class="col-md">Published</th>
<th scope="col" class="col-md">Updated</th>
{% elif source in ['jvndb', 'ossf_malicious_packages', 'pysec', 'github'] %}
<th scope="col" class="col-md-1">ID</th>
<th scope="col" class="col-md-2">ID</th>
<th scope="col">Description</th>
<th scope="col" class="col-md-1">Published</th>
<th scope="col" class="col-md-1">Updated</th>
<th scope="col" class="col-md">Published</th>
<th scope="col" class="col-md">Updated</th>
{% else %}
<th scope="col">ID</th>
<th scope="col-md-2">ID</th>
<th scope="col">Description</th>
{%endif%}
</tr>
@@ -63,7 +63,6 @@ <h1>Recent vulnerabilities</h1>
<tr>
<th scope="row">
<a href="{{url_for('home_bp.vulnerability_view', vulnerability_id=vuln_id)}}">{{vuln_id}}</a>
{% if source in ["cvelistv5", "nvd"] %} <a href="https://nvd.nist.gov/vuln/detail/{{vuln_id}}" rel="noreferrer" target="_blank" title="National Vulnerability Database">{{ render_icon('box-arrow-up-right') }}</a>{% endif %}
</th>
<td>
{%if 'metrics' in vuln['containers']['cna'] %}

0 comments on commit e8ae16e

Please sign in to comment.