summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <palvarez89@gmail.com>2015-10-02 09:48:16 +0200
committerPedro Alvarez <palvarez89@gmail.com>2015-10-02 09:48:16 +0200
commit1c663ae1dd27f9068c9d2d64d541262458125539 (patch)
treea8aa25b792fba2c74a08a85920014f756293af43
parent1e659642f2f957b0d489132e1471d24ea81eee3b (diff)
downloadciat-ui-1c663ae1dd27f9068c9d2d64d541262458125539.tar.gz
Revert "Failed attempt to hide status bar in completed builds"
This reverts commit 1e659642f2f957b0d489132e1471d24ea81eee3b.
-rw-r--r--js/main.js2
-rw-r--r--partials/visualisation.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js
index 4bcb84b..f5f5e69 100644
--- a/js/main.js
+++ b/js/main.js
@@ -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>