Add error message if security scan not found

This change ensures that the user gets an error message (and not a blank tab) if the security scan information could not be successfully loaded

Fixes https://www.pivotaltracker.com/story/show/136072509
This commit is contained in:
Joseph Schorr 2016-12-14 00:50:06 -05:00
parent 2a6632cff4
commit b83784f1e1
7 changed files with 59 additions and 9 deletions

View file

@ -1381,9 +1381,9 @@ a:focus {
}
.empty-icon {
color: #ddd;
font-size: 46px;
margin-bottom: 20px;
color: #aaa;
font-size: 60px;
margin-bottom: 0px;
text-align: center;
}

View file

@ -8,6 +8,10 @@
margin-left: -6px;
}
.image-feature-view-element > .empty {
margin-top: 20px;
}
.image-feature-view-element .no-vulns {
color: #2FC98E;
}

View file

@ -8,6 +8,10 @@
margin-left: -6px;
}
.image-vulnerability-view-element > .empty {
margin-top: 20px;
}
.image-vulnerability-view-element .security-header {
margin-top: -4px;
margin-bottom: 30px;