Fix display of start/stop button
This commit is contained in:
@@ -745,8 +745,10 @@
|
||||
<div class="col-md-12">
|
||||
<label class="control-label">Start / Stop</label>
|
||||
<p>Apps can be stopped to conserve server resources. They will continue to be backed up but won't be updated.</p>
|
||||
<button class="btn btn-success pull-right" ng-class="{ 'btn-danger': app.runState === 'running' }" ng-click="console.toggleRunState()" ng-disabled="app.taskId || app.error || console.busyRunState"><i ng-show="console.busyRunState" class="fa fa-circle-notch fa-spin"></i>
|
||||
{{ app.runState === 'running' ? 'Stop App' : 'Start App' }}
|
||||
<button class="btn btn-success pull-right" ng-class="{ 'btn-danger': !console.startButton }" ng-click="console.toggleRunState()
|
||||
" ng-disabled="app.taskId || app.error || console.busyRunState">
|
||||
<i ng-show="app.installationState === 'pending_start' || app.installationState === 'pending_stop'" class="fa fa-circle-notch fa-spin"></i>
|
||||
{{ console.startButton ? 'Start App' : 'Stop App' }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user