@@ -67,7 +67,7 @@ function checkFormatStorage() {
67
67
checkForStorageCopy();
68
68
},
69
69
failure: function (data) {
70
- DialogError("Formate Storage", "Error formatting storage.");
70
+ DialogError("Format Storage", "Error formatting storage.");
71
71
}
72
72
});
73
73
} else {
@@ -86,14 +86,14 @@ function flashEMMCDone() {
86
86
EnableModalDialogCloseButton("flashEMMCProgress");
87
87
}
88
88
function flashEMMC() {
89
- DisplayConfirmationDialog("flashEMMC", "Flash to eMMC", $("#dialog-confirm-emmc"), function () {
90
- DisplayProgressDialog("flashEMMCProgress", "Flash to eMMC");
89
+ DisplayConfirmationDialog("flashEMMC", "Copy FPP to eMMC", $("#dialog-confirm-emmc"), function () {
90
+ DisplayProgressDialog("flashEMMCProgress", "Copy FPP to eMMC");
91
91
StreamURL("flashbbbemmc.php", 'flashEMMCProgressText', 'flashEMMCDone', 'flashEMMCDone');
92
92
});
93
93
}
94
94
function flashEMMCBtrfs() {
95
- DisplayConfirmationDialog("flashEMMC", "Flash to eMMC", $("#dialog-confirm-emmc"), function () {
96
- DisplayProgressDialog("flashEMMCProgress", "Flash to eMMC");
95
+ DisplayConfirmationDialog("flashEMMC", "Copy FPP to eMMC", $("#dialog-confirm-emmc"), function () {
96
+ DisplayProgressDialog("flashEMMCProgress", "Copy FPP to eMMC");
97
97
StreamURL("flashbbbemmc-btrfs.php", 'flashEMMCProgressText', 'flashEMMCDone', 'flashEMMCDone');
98
98
});
99
99
}
@@ -105,14 +105,14 @@ function flashUSBDone() {
105
105
EnableModalDialogCloseButton("flashUSBProgress");
106
106
}
107
107
function flashUSB(device) {
108
- DisplayConfirmationDialog("flashUSB", "Flash to NVMe/USB/SD", $("#dialog-confirm-usb"), function () {
109
- DisplayProgressDialog("flashUSBProgress", "Flash to NVMe/USB/SD");
108
+ DisplayConfirmationDialog("flashUSB", "Create new FPP on NVMe/USB/SD", $("#dialog-confirm-usb"), function () {
109
+ DisplayProgressDialog("flashUSBProgress", "Create new FPP on NVMe/USB/SD");
110
110
StreamURL("flash-pi-usb.php?cone=false&dev=" + device, 'flashUSBProgressText', 'flashUSBDone', 'flashUSBDone');
111
111
});
112
112
}
113
113
function cloneUSB(device) {
114
- DisplayConfirmationDialog("flashUSB", "Clone to NVMe/USB/SD", $("#dialog-confirm-usb"), function () {
115
- DisplayProgressDialog("flashUSBProgress", "Clone to NVMe/USB/SD");
114
+ DisplayConfirmationDialog("flashUSB", "Copy existing FPP to NVMe/USB/SD", $("#dialog-confirm-usb"), function () {
115
+ DisplayProgressDialog("flashUSBProgress", "Copy existing FPP to NVMe/USB/SD");
116
116
StreamURL("flash-pi-usb.php?clone=true&dev=" + device, 'flashUSBProgressText', 'flashUSBDone', 'flashUSBDone');
117
117
});
118
118
}
@@ -277,13 +277,13 @@ function PrintStorageDeviceSelect($platform)
277
277
<h3>eMMC Actions:</h3>
278
278
279
279
<div class="row">
280
- <div class="col-auto"><input style='width:13em;' type='button' class='buttons' value='Flash to eMMC'
280
+ <div class="col-auto"><input style='width:13em;' type='button' class='buttons' value='Copy to eMMC'
281
281
onClick='flashEMMC();'></div>
282
282
<div class="col-auto"> This will copy FPP to the internal eMMC.</div>
283
283
</div>
284
284
<? if ($ uiLevel >= 1 ) { ?>
285
285
<div class="row mt-2">
286
- <div class="col-auto"><input style='width:13em;' type='button' class='buttons' value='Flash to eMMC (BTRFS)'
286
+ <div class="col-auto"><input style='width:13em;' type='button' class='buttons' value='Copy to eMMC (BTRFS)'
287
287
onClick='flashEMMCBtrfs();'></div>
288
288
<div class="col-auto"><i class='fas fa-fw fa-graduation-cap ui-level-1'></i> This will copy FPP to the internal
289
289
eMMC, but use BTRFS for the root filesystem.<br>BTRFS uses compression to save a lot of space on the eMMC, but
@@ -296,37 +296,36 @@ function PrintStorageDeviceSelect($platform)
296
296
<? if (($ rootDevice == 'mmcblk0p2 ' ) && file_exists ("/dev/sda " )) { ?>
297
297
<h3>USB Actions:</h3>
298
298
<div class="row">
299
- <div class="col-auto"><input style='width:13em ;' type='button' class='buttons' value='Flash to USB'
299
+ <div class="col-auto"><input style='width:20em ;' type='button' class='buttons' value='Create new FPP on USB'
300
300
onClick='flashUSB("sda");'></div>
301
- <div class="col-auto"> This will clone FPP to the USB device. See note below for more information .</div>
301
+ <div class="col-auto"> This will create a new FPP on the USB device.</div>
302
302
</div>
303
303
<div class="row">
304
- <div class="col-auto"><input style='width:13em ;' type='button' class='buttons' value='Clone to USB'
304
+ <div class="col-auto"><input style='width:20em ;' type='button' class='buttons' value='Copy existing FPP to USB'
305
305
onClick='cloneUSB("sda");'></div>
306
- <div class="col-auto"> This will copy FPP, media, sequences, settings, etc... to the USB device. See note below
307
- for more information.</div>
306
+ <div class="col-auto"> This will copy FPP, media, sequences, settings, etc... to the USB device.</div>
308
307
</div>
309
308
<? } else if (($ rootDevice == 'mmcblk0p2 ' ) && file_exists ("/dev/nvme0n1 " )) { ?>
310
309
<h3>NVMe Actions:</h3>
311
310
<div class="row">
312
- <div class="col-auto"><input style='width:13em ;' type='button' class='buttons' value='Flash to NVMe'
311
+ <div class="col-auto"><input style='width:20em ;' type='button' class='buttons' value='Create new FPP on NVMe'
313
312
onClick='flashUSB("nvme0n1");'></div>
314
- <div class="col-auto"> This will clone FPP to the NVMe device.</div>
313
+ <div class="col-auto"> This will create a new FPP on the NVMe device.</div>
315
314
</div>
316
315
<div class="row">
317
- <div class="col-auto"><input style='width:13em ;' type='button' class='buttons' value='Clone to NVMe'
316
+ <div class="col-auto"><input style='width:20em ;' type='button' class='buttons' value='Copy existing FPP to NVMe'
318
317
onClick='cloneUSB("nvme0n1");'></div>
319
318
<div class="col-auto"> This will copy FPP, media, sequences, settings, etc... to the NVMe device.</div>
320
319
</div>
321
320
<? } else { ?>
322
321
<h3>SD Card Actions:</h3>
323
322
<div class="row">
324
- <div class="col-auto"><input style='width:13em ;' type='button' class='buttons' value='Flash to SD '
323
+ <div class="col-auto"><input style='width:20em ;' type='button' class='buttons' value='Create new FPP on SD card '
325
324
onClick='flashUSB("mmcblk0");'></div>
326
- <div class="col-auto"> This will flash FPP to the SD Card.</div>
325
+ <div class="col-auto"> This will create a new FPP on the SD Card.</div>
327
326
</div>
328
327
<div class="row">
329
- <div class="col-auto"><input style='width:13em ;' type='button' class='buttons' value='Clone to SD'
328
+ <div class="col-auto"><input style='width:20em ;' type='button' class='buttons' value='Copy existing FPP to SD card '
330
329
onClick='cloneUSB("mmcblk0");'></div>
331
330
<div class="col-auto"> This will copy FPP, media, sequences, settings, etc... to the SD Card.</div>
332
331
</div>
@@ -460,4 +459,4 @@ function PrintStorageDeviceSelect($platform)
460
459
<div id="mounted-device-callout-warning" class="callout callout-warning">
461
460
Use caution when unmounting USB devices as they may be in use by the system processes. Forcing a unmount may result
462
461
incomplete data or data loss.
463
- </div>
462
+ </div>
0 commit comments