diff --git a/vulnerabilities/static/css/custom.css b/vulnerabilities/static/css/custom.css index 81d734102..fc3551d27 100644 --- a/vulnerabilities/static/css/custom.css +++ b/vulnerabilities/static/css/custom.css @@ -1,9 +1,9 @@ .Site { - display: flex; - min-height: 100vh; - flex-direction: column; - } + display: flex; + min-height: 100vh; + flex-direction: column; +} .Site-content { -flex: 1; -} \ No newline at end of file + flex: 1; +} diff --git a/vulnerabilities/templates/vulnerability.html b/vulnerabilities/templates/vulnerability.html index 75682cfe7..a2cbd93d4 100644 --- a/vulnerabilities/templates/vulnerability.html +++ b/vulnerabilities/templates/vulnerability.html @@ -20,33 +20,60 @@

Summary:

{% if object_list %}

References:

- - - - - - {% for ref in object_list %} +
Reference ID URL
- {% if ref.reference_id %} - + + + + {% for ref in object_list %} + + {% if ref.reference_id %} + + + {% else %} + + + {% endif %} + + {% if ref.url %} + - {% else %} - + {% else %} + - {% endif %} + {% endif %} + - {% if ref.url %} - + {% endfor %} - {% else %} - +
{{ref.reference_id}} Reference ID URL
{{ref.reference_id}}-{{ref.url}}--
{{ref.url}}-
- {% endif %} +

Severity

+ + + + + + {% for ref in object_list %} + {% for obj in ref.scores %} + + + + + {% if ref.url %} + + + {% else %} + + + {% endif %} + {% endfor %} + {% endfor %} -
System Score Found At
{{obj.scoring_system}}{{obj.value}}{{ref.url}}{{ ref.reference_id }}
+ {% endif %} {% if enable_curation %}