Make vulnerability tag UI more clair
This commit is contained in:
parent
30a552f2c6
commit
2a1cee4f43
1 changed files with 12 additions and 5 deletions
|
@ -115,21 +115,28 @@
|
||||||
</td>
|
</td>
|
||||||
<td quay-require="['SECURITY_SCANNER']" class="security-scan-col">
|
<td quay-require="['SECURITY_SCANNER']" class="security-scan-col">
|
||||||
<span class="cor-loader-inline" ng-if="getTagVulnerabilities(tag).loading"></span>
|
<span class="cor-loader-inline" ng-if="getTagVulnerabilities(tag).loading"></span>
|
||||||
<span class="vuln-load-error" ng-if="getTagVulnerabilities(tag).hasError">
|
<span class="vuln-load-error" ng-if="getTagVulnerabilities(tag).hasError"
|
||||||
|
data-title="The vulnerabilities for this tag could not be retrieved at the present time, try again later"
|
||||||
|
bs-tooltip>
|
||||||
|
<i class="fa fa-times-circle"></i>
|
||||||
Could not load security information
|
Could not load security information
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span ng-if="!getTagVulnerabilities(tag).loading">
|
<span ng-if="!getTagVulnerabilities(tag).loading">
|
||||||
<!-- Queued -->
|
<!-- Queued -->
|
||||||
<span class="scanning" ng-if="getTagVulnerabilities(tag).status == 'queued'"
|
<span class="scanning" ng-if="getTagVulnerabilities(tag).status == 'queued'"
|
||||||
data-title="The image for this tag is queued to be scanned for vulnerabilities"
|
data-title="The image for this tag is queued to be scanned for vulnerabilities"
|
||||||
bs-tooltip>Queued for scan</span>
|
bs-tooltip>
|
||||||
|
<i class="fa fa-ellipsis-h"></i>
|
||||||
|
Queued for scan
|
||||||
|
</span>
|
||||||
|
|
||||||
<!-- Scan Failed -->
|
<!-- Scan Failed -->
|
||||||
<span class="failed-scan" ng-if="getTagVulnerabilities(tag).status == 'failed'"
|
<span class="failed-scan" ng-if="getTagVulnerabilities(tag).status == 'failed'"
|
||||||
data-title="The image for this tag could not be scanned for vulnerabilities"
|
data-title="The image for this tag could not be scanned for vulnerabilities"
|
||||||
bs-tooltip>
|
bs-tooltip>
|
||||||
<i class="fa fa-times-circle"></i>
|
<i class="fa fa-question-circle"></i>
|
||||||
Failed to scan
|
Unrecognized OS
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<!-- No Vulns -->
|
<!-- No Vulns -->
|
||||||
|
@ -236,4 +243,4 @@
|
||||||
image-loader="imageLoader"
|
image-loader="imageLoader"
|
||||||
action-handler="tagActionHandler"></div>
|
action-handler="tagActionHandler"></div>
|
||||||
|
|
||||||
<div class="fetch-tag-dialog" repository="repository" action-handler="fetchTagActionHandler"></div>
|
<div class="fetch-tag-dialog" repository="repository" action-handler="fetchTagActionHandler"></div>
|
||||||
|
|
Reference in a new issue