backups: add ui for filename encryption

This commit is contained in:
Girish Ramakrishnan
2022-06-27 09:02:44 -07:00
parent ade64923f1
commit 878c5c9977
11 changed files with 238 additions and 46 deletions
+8 -2
View File
@@ -256,7 +256,7 @@
</div>
</div>
<div class="form-group" ng-show="provider !== 'noop'">
<div class="form-group">
<label class="control-label" for="storageFormat">Storage Format</label>
<select class="form-control" id="storageFormat" ng-change="key = ''" ng-model="format" ng-options="a.value as a.name for a in formats"></select>
</div>
@@ -267,11 +267,17 @@
<input type="text" class="form-control" ng-model="remotePath" name="inputConfigureBackupId" placeholder="Remote Path" required ng-disabled="busy">
</div>
<div class="form-group" ng-class="{ 'has-error': error.key }" ng-show="provider !== 'noop'">
<div class="form-group" ng-class="{ 'has-error': error.key }">
<label class="control-label" for="inputConfigureBackupPassword">Encryption password <span ng-hide="encrypted">(optional)</span></label>
<input type="text" class="form-control" ng-model="password" id="inputConfigureBackupPassword" name="prefix" ng-disabled="busy" placeholder="Passphrase used to encrypt the backups" ng-required="encrypted">
</div>
<div class="checkbox" ng-show="format === 'rsync'">
<label>
<input type="checkbox" ng-model="encryptedFilenames">Decrypt Filenames</input>
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" ng-model="skipDnsSetup"><b>Dry run</b></sup>