Add sshfs/cifs/nfs to restore ui

This commit is contained in:
Johannes Zellner
2021-01-07 19:41:39 +01:00
parent 07c9699895
commit 8e6ceb2e66
2 changed files with 18 additions and 1 deletions

View File

@@ -93,6 +93,12 @@
<select class="form-control" id="storageProviderProvider" ng-model="provider" ng-options="a.value as a.name for a in storageProvider" ng-change=clearForm()></select>
</div>
<!-- SSHFS/CIFS/NFS -->
<div class="form-group" ng-class="{ 'has-error': error.mountPoint }" ng-show="mountlike(provider)">
<label class="control-label" for="inputConfigureMountPoint">Mountpoint</label>
<input type="text" class="form-control" ng-model="mountPoint" id="inputConfigureMountPoint" name="mountPoint" ng-disabled="busy" placeholder="Folder where filesystem is mounted" ng-required="mountlike(provider)">
</div>
<!-- Filesystem -->
<div class="form-group" ng-class="{ 'has-error': error.backupFolder }" ng-show="provider === 'filesystem'">
<label class="control-label" for="inputConfigureBackupFolder">Local backup directory</label>