Add logs, terminal and restart action to filemanager
This commit is contained in:
@@ -280,7 +280,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card card-large" ng-show="title">
|
||||
<div class="card card-large" ng-show="restartAppBusy">
|
||||
<h3 class="text-center">
|
||||
<br/>
|
||||
<i class="fa fa-circle-notch fa-spin"></i>
|
||||
<br/>
|
||||
<br/>
|
||||
restarting {{ title }}
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="card card-large" ng-show="title && !restartAppBusy">
|
||||
|
||||
<input type="file" id="uploadFileInput" style="display: none" multiple/>
|
||||
<input type="file" id="uploadFolderInput" style="display: none" multiple webkitdirectory directory/>
|
||||
@@ -310,6 +320,14 @@
|
||||
<li><a class="hand" ng-click="onUploadFolder()">{{ 'filemanager.toolbar.uploadFolder' | tr }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="btn-group" ng-show="type === 'app'">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-ellipsis-h"></i></button>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
<li><a class="hand" ng-click="onRestartApp()"><i class="fas fa-sync-alt fa-fw"></i> {{ 'filemanager.toolbar.restartApp' | tr }}</a></li>
|
||||
<li><a class="hand" ng-href="{{ '/logs.html?appId=' + id }}" target="_blank"><i class="fas fa-align-left fa-fw"></i> {{ 'filemanager.toolbar.openLogs' | tr }}</a></li>
|
||||
<li><a class="hand" ng-href="{{ '/terminal.html?id=' + id }}" target="_blank"><i class="fa fa-terminal fa-fw"></i> {{ 'filemanager.toolbar.openTerminal' | tr }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user