Web UI tweaks: Detaching removable devices; SCSI-1 drive profiles (#854)

* Display the Detach action for injected removable media

* Flag three DEC drives as SCSI-1
This commit is contained in:
Daniel Markstedt 2022-09-25 17:37:28 -07:00 committed by GitHub
parent ed1285327a
commit edbaaf645d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -7,8 +7,8 @@
"block_size": 512,
"size": 52445184,
"name": "DEC RZ22",
"file_type": "hds",
"description": "Page/Swap drive for satellite workstations",
"file_type": "hd1",
"description": "Page/Swap drive for satellite workstations (SCSI-1)",
"url": "http://lastin.dti.supsi.ch/VET/disks/EK-RZXXD-PS.pdf"
},
{
@ -19,8 +19,8 @@
"block_size": 512,
"size": 104890368,
"name": "DEC RZ23",
"file_type": "hds",
"description": "Smallest usable drive for OpenVMS/VAX",
"file_type": "hd1",
"description": "Smallest usable drive for OpenVMS/VAX (SCSI-1)",
"url": "http://lastin.dti.supsi.ch/VET/disks/EK-RZXXD-PS.pdf"
},
{
@ -31,8 +31,8 @@
"block_size": 512,
"size": 209813504,
"name": "DEC RZ24",
"file_type": "hds",
"description": "Smallest usable drive for OpenVMS/VAX + Motif",
"file_type": "hd1",
"description": "Smallest usable drive for OpenVMS/VAX + Motif (SCSI-1)",
"url": "http://lastin.dti.supsi.ch/VET/disks/EK-RZXXD-PS.pdf"
},
{

View File

@ -100,13 +100,12 @@
<input name="unit" type="hidden" value="{{ device.unit }}">
<input type="submit" value="{{ _("Eject") }}">
</form>
{% else %}
{% endif %}
<form action="/scsi/detach" method="post" onsubmit="return confirm('{{ _("Detach Device?") }}')">
<input name="scsi_id" type="hidden" value="{{ device.id }}">
<input name="unit" type="hidden" value="{{ device.unit }}">
<input type="submit" value="{{ _("Detach") }}">
</form>
{% endif %}
<form action="/scsi/info" method="post">
<input name="scsi_id" type="hidden" value="{{ device.id }}">
<input name="unit" type="hidden" value="{{ device.unit }}">