summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam@sotk.co.uk>2015-09-26 15:15:20 +0100
committerAdam Coldrick <adam@sotk.co.uk>2015-09-28 20:20:09 +0100
commit95964ece380ebf47c7184b754ee016ef4d9348bc (patch)
tree921a53c1962861e4d5f9639e2c9509f82828d157
parentc2ba11775773c73aa028686acd91a03b8af2c82f (diff)
downloadciat-ui-95964ece380ebf47c7184b754ee016ef4d9348bc.tar.gz
Set fail class
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index 2c1f701..80e553c 100644
--- a/index.html
+++ b/index.html
@@ -11,9 +11,9 @@
<div class="visualisation" ng-controller="VisualisationController">
<div class="box"
- ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building'}"
+ ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': !step.lastBuild.success}"
ng-repeat="step in steps">
- {{step.name}} ({{step.data.state}})
+ {{step.name}}
</div>
</div>
</body>