help text everywhere

This commit is contained in:
Girish Ramakrishnan
2020-08-11 17:03:49 -07:00
parent 45b3062ac6
commit 32f4f88b88
2 changed files with 14 additions and 8 deletions

View File

@@ -259,17 +259,18 @@
<select class="form-control" id="storageFormat" ng-model="configureBackup.format" ng-options="a.value as a.name for a in formats"></select>
</div>
<div class="form-group" ng-class="{ 'has-error': configureBackup.error.password }" ng-show="configureBackup.provider !== 'noop'">
<label class="control-label" for="inputConfigureBackupPassword">Encryption Password (optional) <sup><a ng-href="{{ config.webServerOrigin }}/documentation/backups/#encryption" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<p class="small">Save this passphrase in a safe place. Cloudron does not store this password. Backups cannot be decrypted without the passphrase</p>
<input type="text" class="form-control" name="password" ng-model="configureBackup.password" id="inputConfigureBackupPassword" name="prefix" ng-disabled="configureBackup.busy" placeholder="Passphrase used to encrypt the backups">
</div>
<a href="" ng-click="configureBackup.advancedVisible = true" ng-hide="configureBackup.advancedVisible">Advanced settings...</a>
<div uib-collapse="!configureBackup.advancedVisible">
<div class="form-group" ng-class="{ 'has-error': configureBackup.error.password }" ng-show="configureBackup.provider !== 'noop'">
<label class="control-label" for="inputConfigureBackupPassword">Encryption Password (optional) <sup><a ng-href="{{ config.webServerOrigin }}/documentation/backups/#encryption" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup></label>
<p class="small">Save this passphrase in a safe place. Cloudron does not store this password. Backups cannot be decrypted without the passphrase</p>
<input type="text" class="form-control" name="password" ng-model="configureBackup.password" id="inputConfigureBackupPassword" name="prefix" ng-disabled="configureBackup.busy" placeholder="Passphrase used to encrypt the backups">
</div>
<div class="form-group">
<label class="control-label" for="memoryLimit">Memory Limit : <b>{{ configureBackup.memoryLimit | prettyByteSize:'Default (400 MB)' }}</b></label>
<p class="small">Memory limit for the backup task. Adjust this if you increase the concurrency values from their defaults.</p>
<div style="padding: 0 10px;">
<slider id="sliderConfigureBackupMemoryLimit" ng-model="configureBackup.memoryLimit" step="134217728" tooltip="hide" ticks="configureBackup.memoryTicks" ticks-snap-bounds="67108864"></slider>
</div>
@@ -277,6 +278,7 @@
<div class="form-group" ng-show="configureBackup.format === 'rsync'">
<label class="control-label">Upload Concurrency : <b>{{ configureBackup.syncConcurrency }}</b></label>
<p class="small">Number of files to upload in parallel when backing up</p>
<div style="padding: 0 10px;">
<slider id="sliderConfigureBackupSyncConcurrency" ng-model="configureBackup.syncConcurrency" tooltip="hide" min="10" max="200" step="10"></slider>
</div>
@@ -284,6 +286,7 @@
<div class="form-group" ng-show="configureBackup.format === 'rsync'">
<label class="control-label">Download Concurrency : <b>{{ configureBackup.downloadConcurrency }}</b></label>
<p class="small">Number of files to download in parallel when restoring</p>
<div style="padding: 0 10px;">
<slider id="sliderConfigureBackupCopyConcurrency" ng-model="configureBackup.downloadConcurrency" tooltip="hide" min="10" max="200" step="10"></slider>
</div>
@@ -291,6 +294,9 @@
<div class="form-group" ng-show="configureBackup.format === 'rsync'">
<label class="control-label">Copy Concurrency : <b>{{ configureBackup.copyConcurrency }}</b></label>
<p class="small">Number of remote file copies in parallel when backing up.
<span ng-show="configureBackup.provider === 'digitalocean-spaces'">DigitalOcean Spaces rate limits at 20.</span>
</p>
<div style="padding: 0 10px;">
<slider id="sliderConfigureBackupCopyConcurrency" ng-model="configureBackup.copyConcurrency" tooltip="hide" min="10" max="500" step="10"></slider>
</div>