Improve how sftp is mentioned in access controls

This commit is contained in:
Johannes Zellner
2020-06-25 10:36:25 +02:00
parent 2a9d32309e
commit e50e488c8a

View File

@@ -633,7 +633,7 @@
<label class="control-label">User management</label>
<p>
This app is configured to authenticate with the Cloudron User Directory.
<span class="text-small" ng-show="access.ftp">This setting also controls SFTP access.</span>
<span class="text-small text-warning" ng-show="access.ftp">Also controls SFTP access.</span>
</p>
</div>
<div ng-show="!access.ssoAuth">
@@ -690,10 +690,36 @@
<div class="row" ng-show="app.manifest.addons.localstorage.ftp">
<hr/>
<div class="col-md-12">
<label>SFTP</label> <sup><a ng-href="{{ config.webServerOrigin }}/documentation/apps/#ftp-access" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup><br/>
Server: {{ config.adminFqdn }}<br/>
Port: 222<br/>
Username: {{ user.username }}@{{ app.fqdn }}<br/>
<label>SFTP</label> <sup><a ng-href="{{ config.webServerOrigin }}/documentation/apps/#ftp-access" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup><br/>
<br/>
<div class="row">
<div class="col-xs-6">
<span class="text-muted">Server</span>
</div>
<div class="col-xs-6 text-right">
<span>{{ config.adminFqdn }}</span>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<span class="text-muted">Port</span>
</div>
<div class="col-xs-6 text-right">
<span>222</span>
</div>
</div>
<div class="row">
<div class="col-xs-6">
<span class="text-muted">Username</span>
</div>
<div class="col-xs-6 text-right">
<span>&lt;username&gt;@{{ app.fqdn }}</span>
</div>
</div>
</div>
</div>
</div>