Open logs viewer in new window
This commit is contained in:
@@ -432,7 +432,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<a ng-href="{{ '#/logs?id=' + app.id }}" target="_blank" title="Logs"><i class="fa fa-file-text scale"></i></a>
|
<a href="" ng-click="showLogs(app)" title="Logs"><i class="fa fa-file-text scale"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -369,6 +369,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
|||||||
return false; // prevent propagation and default
|
return false; // prevent propagation and default
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.showLogs = function (app) {
|
||||||
|
window.open('/logs.html?id=' + app.id, 'Cloudron Logs', 'width=1024,height=800');
|
||||||
|
};
|
||||||
|
|
||||||
$scope.showError = function (app) {
|
$scope.showError = function (app) {
|
||||||
$scope.reset();
|
$scope.reset();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user