diff options
author | Pedro Alvarez <palvarez89@gmail.com> | 2015-10-02 09:48:16 +0200 |
---|---|---|
committer | Pedro Alvarez <palvarez89@gmail.com> | 2015-10-02 09:48:16 +0200 |
commit | 1c663ae1dd27f9068c9d2d64d541262458125539 (patch) | |
tree | a8aa25b792fba2c74a08a85920014f756293af43 | |
parent | 1e659642f2f957b0d489132e1471d24ea81eee3b (diff) | |
download | ciat-ui-1c663ae1dd27f9068c9d2d64d541262458125539.tar.gz |
Revert "Failed attempt to hide status bar in completed builds"
This reverts commit 1e659642f2f957b0d489132e1471d24ea81eee3b.
-rw-r--r-- | js/main.js | 2 | ||||
-rw-r--r-- | partials/visualisation.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -86,7 +86,7 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval) }); } else if (key.indexOf("Build") > -1) { - var progressStyle = "progress-bar-success progress-bar-striped ng-hide" + var progressStyle = "progress-bar-success progress-bar-striped" if (state === "building" ) { progressStyle = "progress-bar-warning progress-bar-striped active" progress = (timeRunning * 100) / previousTime; diff --git a/partials/visualisation.html b/partials/visualisation.html index e64fae4..0c5710f 100644 --- a/partials/visualisation.html +++ b/partials/visualisation.html @@ -26,7 +26,7 @@ ng-class="{'pass': step.lastBuild.success, 'active': step.data.state == 'building', 'fail': step.lastBuild.failed}" ng-click="select(step, $event)"> {{step.name}} - <div class="progress {{step.style}}"> + <div class="progress"> <div class="progress-bar {{step.style}}" role="progressbar" aria-valuenow="{{step.progress}}" aria-valuemin="0" aria-valuemax="100" style="width: {{step.progress}}%"> <span class="sr-only">{{step.progress}}% Complete</span> </div> |