File tree Expand file tree Collapse file tree
vulnerabilities/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,32 +59,26 @@ <h3>References:</h3>
5959
6060 {% if vulnerability.vulnerable_to.all %}
6161 < h3 > Vulnerable Packages </ h3 >
62- < table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
63- < tr >
64- < th > Package URL </ th >
65- </ tr >
62+ < div class ="tags is-medium ">
6663 {% for package in vulnerability.vulnerable_to.all %}
67- < tr >
68- < td > < a href ="{% url 'package_view' package.pk %} "> {{package.package_url}}</ a > </ td >
69- </ tr >
64+ < span class =" tag is-danger is-medium " >
65+ < a href ="{% url 'package_view' package.pk %} " class =" has-text-white " > {{package.package_url}}</ a >
66+ </ span >
7067 {% endfor %}
71- </ table >
68+ </ div >
7269 {% else %}
7370 < h3 > No available vulnerable packages </ h3 >
7471 {% endif %}
7572
7673 {% if vulnerability.resolved_to.all %}
7774 < h3 > Patched Packages </ h3 >
78- < table class ="table is-bordered is-striped is-narrow is-hoverable is-fullwidth ">
79- < tr >
80- < th > Package URL </ th >
81- </ tr >
75+ < div class ="tags is-medium ">
8276 {% for package in vulnerability.resolved_to.all %}
83- < tr >
84- < td > < a href ="{% url 'package_view' package.pk %} "> {{package.package_url}} </ a > </ td >
85- </ tr >
77+ < span class =" tag is-success is-medium " >
78+ < a href ="{% url 'package_view' package.pk %} " class =" has-text-white " > {{package.package_url}} </ a >
79+ </ span >
8680 {% endfor %}
87- </ table >
81+ </ div >
8882 {% else %}
8983 < h3 > No available patched packages </ h3 >
9084 {% endif %}
You can’t perform that action at this time.
0 commit comments