Fix zipfile handling

This commit is contained in:
Daniel Markstedt 2021-10-24 10:27:44 -07:00
parent df12ceb028
commit ea0d4cc4b6

View File

@ -152,10 +152,6 @@
<input type="hidden" name="image" value="{{file["name"]}}">
<input type="submit" value="Unzip" />
</form>
<form action="/files/delete" method="post" onsubmit="return confirm('Delete file?')">
<input type="hidden" name="image" value="{{file["name"]}}">
<input type="submit" value="Delete" />
</form>
{% else %}
<form action="/scsi/attach" method="post">
<input type="hidden" name="file_name" value="{{file["name"]}}">
@ -179,11 +175,11 @@
{% endfor %}
{% endif %}
</select>
{% endif %}
<input type="submit" value="Attach" />
{% endif %}
</form>
<form action="/files/delete" method="post" onsubmit="return confirm('Delete file?')">
<input type="hidden" name="image" value="{{file["name"]}}">
<input type="hidden" name="image" value="{{file['name']}}">
<input type="submit" value="Delete" />
</form>
{% endif %}