Merge "Add compliance status string"

This commit is contained in:
Jenkins 2015-08-04 06:40:54 +00:00 committed by Gerrit Code Review
commit 174c97b6a7
2 changed files with 22 additions and 0 deletions

View File

@ -156,3 +156,17 @@ h1, h2, h3, h4, h5, h6 {
padding: 40px;
}
}
.yes {
background: #1A911E;
color: white;
padding-left: .5em;
padding-right: .5em;
}
.no {
background: #BC0505;
color: white;
padding-left: .5em;
padding-right: .5em;
}

View File

@ -53,6 +53,14 @@
({{nonFlagPassCount}}/{{totalNonFlagCount}})
of the <em>required</em> tests.
</p>
<p>Compliance with <strong>{{version.slice(0, -5)}}</strong>:
<strong>
<span ng-if="nonFlagPassCount === totalNonFlagCount" class="yes">YES</span>
<span ng-if="nonFlagPassCount !== totalNonFlagCount" class="no">NO</span>
</strong>
</p>
<hr>
<h4>Capability Overview</h4>