PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / trunk
JetBackup – Backup, Restore & Migrate vtrunk
3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 1.6.11 1.6.12 1.6.13 1.6.15 1.6.5.1 1.6.8.8 1.6.9 1.6.9.1 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7.5 2.0.8.7 2.0.9.11 2.0.9.14 2.0.9.15 2.0.9.6 2.0.9.7 2.0.9.9 3.1.10.7 3.1.11.1 3.1.12.3 3.1.13.4 3.1.14.17 3.1.15.4 3.1.16.1 3.1.17.5 3.1.18.10 3.1.18.8 3.1.18.9 3.1.19.8 3.1.20.3 3.1.21.3 3.1.7.9 3.1.9.2 trunk 1.1.90 1.1.91 1.2.0 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2
backup / public / views / modal / deleteBackup.htm
backup / public / views / modal Last commit date
backupNow.htm 1 year ago callSupport.htm 1 year ago deleteBackup.htm 1 year ago downloadBackup.htm 1 year ago downloadBackupLog.htm 1 year ago editBackupNotes.htm 1 year ago exportBackup.htm 1 year ago extractBackup.htm 1 year ago fileManager.htm 10 months ago importBackup.htm 1 year ago lockBackup.htm 1 year ago manageBackupJob.htm 1 year ago manageDestination.htm 1 year ago manageSchedule.htm 1 year ago quickStart.htm 1 year ago restoreBackup.htm 1 year ago showExtractedPath.htm 1 year ago viewLog.htm 1 year ago
deleteBackup.htm
68 lines
1 <div class="modal-header">
2 <div class="modal-main-title">
3 <h1 class="modal-title fs-5" id="deleteBackupLabel">{{ lang.t("Delete Backup") }}</h1>
4 </div>
5 <button type="button" class="btn-close" ng-click="cancel()" aria-label="Close"></button>
6 </div>
7
8 <div class="modal-body">
9 <!-- Message explaining the purpose -->
10 <p ng-bind-html="lang.t('This action allows you to mark or unmark a backup for deletion for a selected destination. Marking for deletion does not immediately delete the backup but flags it for future removal.')"></p>
11
12 <!-- Destination selection (shown only if there are multiple destinations) -->
13 <div class="row mt-4" ng-if="backup.destinations.length > 1">
14 <div class="col-md-12 mx-auto text-start fs-13">
15 <label class="form-label">
16 {{ lang.t("This backup exists on multiple destinations. Please select the destination you want to mark or unmark for deletion.") }}
17 </label>
18 <div>
19 <label ng-repeat="dest in backup.destinations"
20 class="list-group-item"
21 ng-show="!selectedDestination || selectedDestination === dest.id">
22 <input type="radio"
23 name="destinationRadio"
24 ng-model="selectedDestination"
25 ng-value="dest.id"
26 ng-change="updateDeletionStatus(dest)">
27 {{ lang.t(dest.name || 'Unknown') }}
28 <span class="badge" ng-class="dest.deleted === 1 ? 'bg-danger' : 'bg-success'">
29 {{ dest.deleted === 1 ? lang.t('Marked For Deletion') : lang.t('Active') }}
30 </span>
31 </label>
32 </div>
33 </div>
34 </div>
35
36 <!-- Single destination message -->
37 <div class="row mt-4" ng-if="backup.destinations.length === 1">
38 <div class="col-md-12 text-start">
39 <p>
40 {{ lang.t("This backup has only one destination:") }}
41 <strong>{{ backup.destinations[0].name }}</strong>
42 </p>
43 </div>
44 </div>
45
46 <!-- Display deletion status after selecting a destination -->
47 <div class="row mt-4" ng-if="selectedDestination">
48 <div class="col-md-12 text-start">
49 <p>
50 {{ lang.t("Current Status:") }}
51 <span class="badge" ng-class="currentDeletionStatus ? 'bg-danger' : 'bg-success'">
52 {{ currentDeletionStatus ? lang.t('Marked for Deletion') : lang.t('Active') }}
53 </span>
54 </p>
55 </div>
56 </div>
57 </div>
58
59 <div class="modal-footer">
60 <button class="btn btn-secondary cancel_btn" type="button" ng-click="cancel()">
61 {{ lang.t("Cancel") }}
62 </button>
63 <button class="btn btn-primary" type="button"
64 ng-click="ok()"
65 ng-disabled="!selectedDestination">
66 {{ currentDeletionStatus ? lang.t("Unmark for Deletion") : lang.t("Mark for Deletion") }}
67 </button>
68 </div>