diff --git a/external_libraries.py b/external_libraries.py index f267c7f7e..05989872e 100644 --- a/external_libraries.py +++ b/external_libraries.py @@ -18,7 +18,7 @@ EXTERNAL_JS = [ ] EXTERNAL_CSS = [ - 'netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css', + 'netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css', 'netdna.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css', 'fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700', 's3.amazonaws.com/cdn.core-os.net/icons/core-icons.css' diff --git a/static/css/core-ui.css b/static/css/core-ui.css index 5e53ca3ad..40c3239af 100644 --- a/static/css/core-ui.css +++ b/static/css/core-ui.css @@ -1199,10 +1199,18 @@ a:focus { margin-top: 4px; font-size: 14px; text-align: right; + display: inline-block; } -.co-filter-box .filter-options input { - margin-right: 6px; +.co-filter-box .filter-options label input { + margin-right: 4px; +} + + +.co-filter-box.with-options > input { + display: inline-block; + width: 200px; + margin-right: 4px; } .co-check-bar { diff --git a/static/css/directives/repo-view/repo-panel-tags.css b/static/css/directives/repo-view/repo-panel-tags.css index c0a1073c4..b276c02a0 100644 --- a/static/css/directives/repo-view/repo-panel-tags.css +++ b/static/css/directives/repo-view/repo-panel-tags.css @@ -98,6 +98,7 @@ .repo-panel-tags-element .security-scan-col .vuln-load-error { color: #9B9B9B; font-size: 12px; + cursor: default; } .repo-panel-tags-element .security-scan-col .no-vulns a { diff --git a/static/css/directives/ui/image-feature-view.css b/static/css/directives/ui/image-feature-view.css index 556a97054..8f19cf88b 100644 --- a/static/css/directives/ui/image-feature-view.css +++ b/static/css/directives/ui/image-feature-view.css @@ -26,20 +26,26 @@ .image-feature-view-element .donut-col { padding-top: 20px; text-align: center; + max-width: 250px; + display: inline-block; + vertical-align: top; } + .image-feature-view-element #featureDonutChart { display: inline-block; } .image-feature-view-element .summary-col { - font-size: 20px; - padding-top: 40px; + font-size: 18px; + display: inline-block; + vertical-align: top; + padding-top: 30px; } .image-feature-view-element .summary-col .title-item { font-size: 24px; - margin-bottom: 40px; + margin-bottom: 30px; } .image-feature-view-element .summary-list { @@ -51,7 +57,7 @@ margin-right: 10px; } -.image-feature-view-element .summary-list strong { +.image-feature-view-element .summary-list .package-item strong { text-align: right; width: 40px; display: inline-block; diff --git a/static/css/directives/ui/image-vulnerability-view.css b/static/css/directives/ui/image-vulnerability-view.css index b14ec0d72..25616d6e2 100644 --- a/static/css/directives/ui/image-vulnerability-view.css +++ b/static/css/directives/ui/image-vulnerability-view.css @@ -18,6 +18,9 @@ .image-vulnerability-view-element .donut-col { padding-top: 20px; text-align: center; + max-width: 250px; + display: inline-block; + vertical-align: top; } .image-vulnerability-view-element #vulnDonutChart { @@ -25,13 +28,20 @@ } .image-vulnerability-view-element .summary-col { - font-size: 20px; - padding-top: 40px; + font-size: 18px; + display: inline-block; + vertical-align: top; + padding-top: 30px; } .image-vulnerability-view-element .summary-col .title-item { font-size: 24px; - margin-bottom: 40px; + margin-bottom: 6px; +} + +.image-vulnerability-view-element .summary-col .subtitle-item { + font-size: 22px; + margin-bottom: 6px; } .image-vulnerability-view-element .summary-list { @@ -43,7 +53,7 @@ margin-right: 10px; } -.image-vulnerability-view-element .summary-list strong { +.image-vulnerability-view-element .summary-list li.severity-item strong { text-align: right; width: 40px; display: inline-block; @@ -167,3 +177,19 @@ display: inline-block; max-width: 1000px; } + +.image-vulnerability-view-element .asterisk { + vertical-align: super; + font-size: 9px; + margin-left: 2px; +} + +.image-vulnerability-view-element .severity-note { + margin-bottom: 10px; +} + +.image-vulnerability-view-element .severity-note .vulnerability-priority-view { + margin: 0px; + margin-left: 2px; + margin-right: 2px; +} \ No newline at end of file diff --git a/static/css/directives/ui/nvd-vectors-display.css b/static/css/directives/ui/nvd-vectors-display.css index cfec11cdb..002f2ac85 100644 --- a/static/css/directives/ui/nvd-vectors-display.css +++ b/static/css/directives/ui/nvd-vectors-display.css @@ -2,7 +2,7 @@ display: inline-block; vertical-align: top; max-width: 200px; - padding: 10px; + padding-right: 20px; } .nvd-vectors-display-element dt { diff --git a/static/css/directives/ui/vulnerability-priority-view.css b/static/css/directives/ui/vulnerability-priority-view.css index 2fc15d203..fbe07438a 100644 --- a/static/css/directives/ui/vulnerability-priority-view.css +++ b/static/css/directives/ui/vulnerability-priority-view.css @@ -1,23 +1,7 @@ +.vulnerability-priority-view-element { + cursor: default; +} + .vulnerability-priority-view-element i.fa { margin-right: 4px; -} - -.vulnerability-priority-view-element.Unknown, -.vulnerability-priority-view-element.Low, -.vulnerability-priority-view-element.Negligible { - color: #9B9B9B; -} - -.vulnerability-priority-view-element.Medium { - color: #FCA657; -} - -.vulnerability-priority-view-element.High, -.vulnerability-priority-view-element.Critical { - color: #D64456; -} - -.vulnerability-priority-view-element.Defcon1 { - color: black; - font-weight: bold; -} +} \ No newline at end of file diff --git a/static/directives/image-feature-view.html b/static/directives/image-feature-view.html index 01254b724..e7ac3a969 100644 --- a/static/directives/image-feature-view.html +++ b/static/directives/image-feature-view.html @@ -16,7 +16,7 @@ -
+
@@ -29,7 +29,7 @@
-
+
@@ -42,13 +42,13 @@
    -
  • Quay Security Scanner has resolved {{ securityFeatures.length }} packages.
  • -
  • - - {{ priority.value }} packages with {{ priority.label }}-level vulnerabilities. +
  • Quay Security Scanner has recognized {{ featuresInfo.features.length }} packages.
  • +
  • + + {{ severity.value }} packages with {{ severity.label }}-level vulnerabilities. - - {{ priority.value }} packages with no vulnerabilities. + + {{ severity.value }} packages with no vulnerabilities.
@@ -57,33 +57,33 @@ - - Showing {{ orderedFeatures.entries.length }} of {{ securityFeatures.length }} packages + + Showing {{ orderedFeatures.entries.length }} of {{ featuresInfo.features.length }} packages - +

Image Packages

- - - @@ -118,18 +118,18 @@ (N/A) - + All identified vulnerabilities fixed - + - {{ feature.primaryLeftover.count }} - {{ feature.primaryLeftover.title }} + {{ feature.primaryLeftover.value }} + {{ feature.primaryLeftover.label }} - - + {{ feature.leftoverCount - feature.primaryLeftover.count }} additional + + + {{ feature.leftoverCount - feature.primaryLeftover.value }} additional @@ -137,8 +137,11 @@ (N/A) - - + (No changes) + + + @@ -152,7 +155,7 @@
- Package Name + + Package Name - Vulnerabilities + + Vulnerabilities - + Upgrade impact
-
No matching packages found.
Try expanding your filtering terms.
diff --git a/static/directives/image-vulnerability-view.html b/static/directives/image-vulnerability-view.html index 5fb0bd44e..7ca4c694c 100644 --- a/static/directives/image-vulnerability-view.html +++ b/static/directives/image-vulnerability-view.html @@ -16,7 +16,7 @@
-
+
@@ -29,10 +29,10 @@
-
+
-
-
+
+
@@ -40,51 +40,56 @@
-
-