mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-25 20:33:35 +00:00
Add a warning notice when ejecting removable media (#526)
This commit is contained in:
parent
7efa895239
commit
29cf58288f
@ -95,7 +95,7 @@
|
|||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
{% if device.device_type != "-" %}
|
{% if device.device_type != "-" %}
|
||||||
{% if device.device_type in REMOVABLE_DEVICE_TYPES and "No Media" not in device.status %}
|
{% if device.device_type in REMOVABLE_DEVICE_TYPES and "No Media" not in device.status %}
|
||||||
<form action="/scsi/eject" method="post" onsubmit="return confirm('Eject Disk?')">
|
<form action="/scsi/eject" method="post" onsubmit="return confirm('Eject Disk? WARNING: On Mac OS, eject the Disk in Finder instead!')">
|
||||||
<input name="scsi_id" type="hidden" value="{{ device.id }}">
|
<input name="scsi_id" type="hidden" value="{{ device.id }}">
|
||||||
<input name="unit" type="hidden" value="{{ device.unit }}">
|
<input name="unit" type="hidden" value="{{ device.unit }}">
|
||||||
<input type="submit" value="Eject">
|
<input type="submit" value="Eject">
|
||||||
|
Loading…
Reference in New Issue
Block a user