PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / 3.1.14.17
JetBackup – Backup, Restore & Migrate v3.1.14.17
3.1.23.6 3.1.23.5 3.1.23.3 3.1.22.4 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 / lockBackup.htm
backup / public / views / modal Last commit date
backupNow.htm 9 months ago callSupport.htm 9 months ago deleteBackup.htm 9 months ago downloadBackup.htm 9 months ago downloadBackupLog.htm 9 months ago editBackupNotes.htm 9 months ago exportBackup.htm 9 months ago extractBackup.htm 9 months ago fileManager.htm 9 months ago importBackup.htm 9 months ago lockBackup.htm 9 months ago manageBackupJob.htm 9 months ago manageDestination.htm 9 months ago manageSchedule.htm 9 months ago quickStart.htm 9 months ago restoreBackup.htm 9 months ago showExtractedPath.htm 9 months ago viewLog.htm 9 months ago
lockBackup.htm
68 lines
1 <div class="modal-header">
2 <div class="modal-main-title">
3 <h1 class="modal-title fs-5" id="lockBackupLabel">{{ lang.t("Lock 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 lock or unlock a backup for a selected destination. If locked, the backup cannot be modified or deleted.')"></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 lock or unlock.") }}
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="updateLockStatus(dest)">
27 {{ lang.t(dest.name || 'Unknown') }} -
28 <span class="badge" ng-class="dest.locked === 1 ? 'bg-danger' : 'bg-success'">
29 {{ dest.locked === 1 ? lang.t('Locked') : lang.t('Unlocked') }}
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 lock 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="currentLockStatus ? 'bg-danger' : 'bg-success'">
52 {{ currentLockStatus ? lang.t('Locked') : lang.t('Unlocked') }}
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 {{ currentLockStatus ? lang.t("Unlock") : lang.t("Lock") }}
67 </button>
68 </div>