security: show the list instead of the tooltip
now that it includes more info like the fixed version
This commit is contained in:
parent
4ad9115d46
commit
0273e1a700
@ -1,7 +1,7 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %}Security {% endblock %}
|
{% block title %}Security {% endblock %}
|
||||||
{% block inner_content %}
|
{% block inner_content %}
|
||||||
{% from 'macros.html' import vulnerability_tooltip %}
|
{% from 'macros.html' import vulnerability_list %}
|
||||||
|
|
||||||
<div class="card mb-3">
|
<div class="card mb-3">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
@ -17,17 +17,17 @@
|
|||||||
|
|
||||||
<table class="table table-hover table-sm" style="table-layout: fixed; width:100%;">
|
<table class="table table-hover table-sm" style="table-layout: fixed; width:100%;">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 50%">
|
<col style="width: 40%">
|
||||||
<col style="width: 25%">
|
<col style="width: 15%">
|
||||||
<col style="width: 25%">
|
<col style="width: 15%">
|
||||||
<col style="width: 1.5em">
|
<col style="width: 30%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Base Package</th>
|
<th>Base Package</th>
|
||||||
<th>Version</th>
|
<th>Version</th>
|
||||||
<th>Upstream Version</th>
|
<th>Upstream Version</th>
|
||||||
<th></th>
|
<th>Vulnerabilities</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<td class="text-version">{{ s.version }}{% if s.version != s.git_version %} <span class="text-muted small align-text-bottom ps-1">({{ s.git_version }} in git)</span>{% endif %}</td>
|
<td class="text-version">{{ s.version }}{% if s.version != s.git_version %} <span class="text-muted small align-text-bottom ps-1">({{ s.git_version }} in git)</span>{% endif %}</td>
|
||||||
<td class="text-version">{{ s.upstream_version if s.is_outdated_in_git else '' }}</td>
|
<td class="text-version">{{ s.upstream_version if s.is_outdated_in_git else '' }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ vulnerability_tooltip(s) }}
|
{{ vulnerability_list(s) }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user