Add extra warning to Format confirmation checkbox

This commit is contained in:
bergware
2017-10-07 11:23:09 +02:00
parent db5a45146c
commit bfc9c566d3
+2 -1
View File
@@ -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&nbsp;<i class="fa fa-asterisk red-text" style="cursor:help" title="All data is permanently lost.&#10;This is not used to recover data."></i></small>
<? else:?>
<small>Disabled -- Parity operation is running</small>
<? endif;?>