Show busy indicator in reboot button

This commit is contained in:
Girish Ramakrishnan
2020-02-25 14:54:29 -08:00
parent afde058a85
commit 303c55dbba
2 changed files with 15 additions and 3 deletions

View File

@@ -139,7 +139,7 @@
<div class="row">
<div class="col-md-12 text-right">
<a class="btn btn-primary" href="/logs.html?id=box" target="_blank">Show Logs</a>
<button class="btn btn-danger" ng-click="reboot.show()">Reboot</button>
<button class="btn btn-danger" ng-click="reboot.show()" ng-disabled="reboot.busy"><i class="fa fa-circle-notch fa-spin" ng-show="reboot.busy"></i> Reboot</button>
</div>
</div>
</div>