diff --git a/src/translation/en.json b/src/translation/en.json index 62dcedae7..fef97e09b 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -1452,7 +1452,8 @@ "stopDialog": { "title": "Really stop app {{ app }}?" }, - "eventlogTabTitle": "Event Log" + "eventlogTabTitle": "Event Log", + "sftpInfoAction": "SFTP Access" }, "login": { "loginTo": "Login to", diff --git a/src/views/app.html b/src/views/app.html index b2844e2ba..b6e1231ae 100644 --- a/src/views/app.html +++ b/src/views/app.html @@ -23,6 +23,52 @@ + + + -
-
-
- -

{{ 'appstore.installDialog.cloudflarePortWarning' | tr }}

- -
-
- {{ 'app.accessControl.sftp.server' | tr }} -
-
- {{ config.adminFqdn }} -
-
- -
-
- {{ 'app.accessControl.sftp.port' | tr }} -
-
- 222 -
-
- -
-
- {{ 'app.accessControl.sftp.username' | tr }} -
-
- {{ user.username }}@{{ app.fqdn }} -
-
-
-
diff --git a/src/views/app.js b/src/views/app.js index fc4129597..13108ed1a 100644 --- a/src/views/app.js +++ b/src/views/app.js @@ -183,6 +183,12 @@ angular.module('Application').controller('AppController', ['$scope', '$location' } }; + $scope.sftpInfo = { + show: function () { + $('#sftpInfoModal').modal('show'); + } + }; + $scope.display = { busy: false, error: {},