preserveSecs is now just a checkbox
This commit is contained in:
@@ -60,8 +60,12 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="inputBackupPreservSecs">Preserve Backup (in Seconds):</label>
|
||||
<input type="number" class="form-control" min="0" ng-model="editBackup.preserveSecs" id="inputBackupPreservSecs" name="preserveSecs" ng-disabled="editBackup.busy" placeholder="" autofocus>
|
||||
<label class="control-label" for="inputBackupLabel">Retention</label>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" ng-model="editBackup.persist">Persist backup regardless of retention policy</input>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -541,6 +545,7 @@
|
||||
<table class="table table-hover" style="margin: 0;" ng-hide="!backups.length">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20px"></th>
|
||||
<th>{{ 'backups.listing.version' | tr }}</th>
|
||||
<th>{{ 'main.table.date' | tr }}</th>
|
||||
<th>{{ 'backups.listing.contents' | tr }}</th>
|
||||
@@ -550,6 +555,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="backup in backups">
|
||||
<td><i class="fas fa-lock" ng-show="backup.preserveSecs === -1" uib-tooltip="This backup will be preserved"></i></td>
|
||||
<td ng-click="backupDetails.show(backup)" class="hand">v{{ backup.packageVersion }}</td>
|
||||
<td ng-click="backupDetails.show(backup)" class="hand"><span uib-tooltip="{{ backup.creationTime | prettyLongDate }}">{{ backup.creationTime | prettyDate }}</span></td>
|
||||
<td ng-click="backupDetails.show(backup)" class="hand">
|
||||
|
||||
Reference in New Issue
Block a user