Current File : //proc/self/root/usr/local/jetapps/var/www/jetbackup5/docroot/app/views_enduser/restore/cron.htm |
<div ng-controller="restore_cron_enduser">
<div class="table-responsive">
<table class="table table-striped content-table">
<thead>
<tr>
<th class="col-sm-2 col-md-2 col-lg-2 column-title">{{ lang.t("Created") }}</th>
<th class="col-sm-2 col-md-2 col-lg-2 column-title">{{ lang.t("Schedules") }}</th>
<th class="col-sm-2 col-md-2 col-lg-2 column-title">{{ lang.t("Structure") }}</th>
<th class="col-sm-2 col-md-2 col-lg-2 column-title">{{ lang.t("Destination") }}</th>
<th class="col-sm-3 col-md-3 col-lg-3 column-title">{{ lang.t("Notes") }}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="backup in backups track by $index" class="pointer" ng-class="{ 'backup-selected' : selected._id === backup._id }" ng-click="selectedBackup(backup)">
<td data-title="{{ lang.t('Created') }}">
<strong>{{ lang.d(backup.created, 'shorttime') }}</strong>
</td>
<td>{{backup.schedules_names}}</td>
<td>{{const.BACKUP_STRUCTURE_NAMES[backup.backup_structure]}} <span ng-show="backup.encrypted"> - {{lang.t("Encrypted")}}</span></td>
<td>{{backup.destination_name}}</td>
<td data-title="{{ lang.t('Notes') }}" ng-click="$event.stopPropagation();" ng-dblclick="backup.editing = true;">
<div class="editable" ng-hide="backup.editing">{{ backup.notes ? backup.notes : lang.t("Double click to add notes...") }}</div>
<input ng-show="backup.editing" type="text" style="font-weight: normal;" class="form-control" ng-model="backup.notes" ng-keypress="saveNotes(backup, $event)" ng-blur="saveNotes(backup)" placeholder="{{ lang.t('Enter Notes...') }}" value="" />
</td>
</tr>
<tr ng-hide="!loading">
<td colspan="10">
<loading-box><span>{{ lang.t("Loading Backups") }}</span></loading-box>
</td>
</tr>
<tr ng-hide="backups.length > 0 || loading">
<td colspan="10"><span>{{ lang.t("No Backups Found") }}</span></td>
</tr>
</tbody>
</table>
</div>
<pagination fetch="fetch" meta="meta"></pagination>
<div class="buttons-container">
<div style="display: inline-block;" tooltip-enable="!selected._id" tooltip="top|Please select backup files to restore" ng-show="perm.canRestoreBackups">
<button class="btn btn-primary" ng-click="prepareSummary('Restore')" ng-disabled="!selected._id">
<em class="fas fa-sync"></em>
{{ lang.t("Restore") }}
</button>
</div>
<div style="display: inline-block;" tooltip-enable="!selected._id" tooltip="top|Please select backup files to download" ng-show="perm.canDownloadBackups">
<button class="btn btn-primary" ng-click="prepareSummary('Download')" ng-disabled="!selected._id">
<em class="fas fa-download"></em>
{{ lang.t("Download") }}
</button>
</div>
<button class="btn btn-danger" type="button" ng-click="selected={_id:''}; files={};" ng-show="selected._id">
<em class="fas fa-times"></em>
{{ lang.t("Clear Selection") }}
</button>
</div>
</div>