mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 10:38:50 -05:00
Add extra warning to Format confirmation checkbox
This commit is contained in:
@@ -190,7 +190,8 @@ toggle_diskio(true);
|
||||
</td><td><input type="submit" id="submit" name="cmdFormat" value="Format" disabled><input type="hidden" name="unmountable_mask" value="<?=$var['fsUnmountableMask']?>"></td>
|
||||
<td><strong>Format</strong> will create a file system in all <strong>Unmountable</strong> disks, discarding all data currently on those disks.<br>
|
||||
<? if ($var['mdResync']==0):?>
|
||||
<input type="checkbox" name="confirmFormat" value="OFF" onclick="$('#submit').prop('disabled',!arrayOps.confirmFormat.checked)"><small>Yes I want to do this</small>
|
||||
<input type="checkbox" name="confirmFormat" value="OFF" onclick="$('#submit').prop('disabled',!arrayOps.confirmFormat.checked)">
|
||||
<small>Yes I want to do this <i class="fa fa-asterisk red-text" style="cursor:help" title="All data is permanently lost. This is not used to recover data."></i></small>
|
||||
<? else:?>
|
||||
<small>Disabled -- Parity operation is running</small>
|
||||
<? endif;?>
|
||||
|
||||
Reference in New Issue
Block a user