Add backup interval

Part of cloudron/box#568
This commit is contained in:
Girish Ramakrishnan
2018-08-13 22:40:02 -07:00
parent 0c066fafa2
commit 672d6b0856
2 changed files with 15 additions and 0 deletions

View File

@@ -118,6 +118,11 @@
<select class="form-control" id="storageFormat" ng-change="configureBackup.key = ''" ng-model="configureBackup.format" ng-options="a.value as a.name for a in formats"></select>
</div>
<div class="form-group" ng-show="configureBackup.provider !== 'noop'">
<label class="control-label" for="storageInterval">Backup Interval</label>
<select class="form-control" id="storageInterval" ng-model="configureBackup.intervalSecs" ng-options="a.value as a.name for a in intervalTimes"></select>
</div>
<div class="form-group" ng-show="configureBackup.provider !== 'noop'">
<label class="control-label" for="storageRetention">Retention Time</label>
<select class="form-control" id="storageRetention" ng-model="configureBackup.retentionSecs" ng-options="a.value as a.name for a in retentionTimes"></select>