- Add an AngularPollChannel class for easier handling of HTTP polling.
- Convert the build view page over to use the new class - Add code so that if the builds logs returned by the API start in the set we already have, we only add the new ones
This commit is contained in:
parent
8b3a3178b0
commit
8a94e38028
3 changed files with 110 additions and 57 deletions
|
@ -94,7 +94,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 10px">
|
||||
<span class="quay-spinner" ng-show="polling"></span>
|
||||
<span class="quay-spinner" ng-show="pollChannel.working"></span>
|
||||
<button class="btn" ng-show="(build.phase == 'error' || build.phase == 'complete') && build.resource_key"
|
||||
ng-class="build.phase == 'error' ? 'btn-success' : 'btn-default'"
|
||||
ng-click="askRestartBuild(build)">
|
||||
|
|
Reference in a new issue