Add terminal action to apps grid
This commit is contained in:
@@ -431,6 +431,10 @@
|
||||
<a href="" ng-click="appConfigure.show(app)" title="Repair App"><i class="fa fa-wrench scale"></i></a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a href="" ng-click="showTerminal(app)" title="Terminal"><i class="fa fa-terminal scale"></i></a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a href="" ng-click="showLogs(app)" title="Logs"><i class="fa fa-file-text scale"></i></a>
|
||||
</div>
|
||||
|
||||
@@ -370,7 +370,11 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
};
|
||||
|
||||
$scope.showLogs = function (app) {
|
||||
window.open('/logs.html?id=' + app.id, 'Cloudron Logs', 'width=1024,height=800');
|
||||
window.open('/logs.html?id=' + app.id, 'Logs', 'width=1024,height=800');
|
||||
};
|
||||
|
||||
$scope.showTerminal = function (app) {
|
||||
window.open('/terminal.html?id=' + app.id, 'Terminal', 'width=1024,height=800');
|
||||
};
|
||||
|
||||
$scope.showError = function (app) {
|
||||
|
||||
Reference in New Issue
Block a user