Move restart button to log view

This commit is contained in:
Girish Ramakrishnan
2017-08-19 12:29:00 -07:00
parent 3d59b8a5b0
commit f04345a99a
4 changed files with 35 additions and 38 deletions
+2 -1
View File
@@ -29,7 +29,8 @@
<select class="form-control pull-right inline" ng-options="log.name for log in logs track by log.value" ng-model="selected"></select>
<!-- logs actions -->
<a class="btn btn-default pull-right" ng-href="{{ selected.url }}&format=short&lines=800" ng-hide="terminalVisible"><i class="fa fa-download"></i> Download Full Logs</a>
<a class="btn btn-default pull-right" ng-href="{{ selected.url }}&format=short&lines=800" ng-hide="terminalVisible"><i class="fa fa-download"></i> Download Logs</a>
<a class="btn btn-default pull-right" ng-click="restartApp()" ng-show="!terminalVisible && selected.type === 'app'" ng-disabled="restartAppBusy"><i class="fa fa-circle-o-notch fa-spin" ng-show="restartAppBusy"></i> Restart App</a>
<input type="file" id="fileUpload" class="hide"/>