mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-10 18:24:27 +05:00
fix: changed "accept" attribute for input type=file
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
<form action="/api/backup/restore" id="restore">
|
<form action="/api/backup/restore" id="restore">
|
||||||
<label for="restore-file">
|
<label for="restore-file">
|
||||||
Settings file:
|
Settings file:
|
||||||
<input type="file" name="settings" id="restore-file" accept="application/JSON">
|
<input type="file" name="settings" id="restore-file" accept=".json">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
<label for="firmware-file">
|
<label for="firmware-file">
|
||||||
Firmware:
|
Firmware:
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<input type="file" name="firmware" id="firmware-file" accept="application/x-binary">
|
<input type="file" name="firmware" id="firmware-file" accept=".bin">
|
||||||
<button type="button" class="upgrade-firmware-result hidden" disabled></button>
|
<button type="button" class="upgrade-firmware-result hidden" disabled></button>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
<label for="filesystem-file">
|
<label for="filesystem-file">
|
||||||
Filesystem:
|
Filesystem:
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<input type="file" name="filesystem" id="filesystem-file" accept="application/x-binary">
|
<input type="file" name="filesystem" id="filesystem-file" accept=".bin">
|
||||||
<button type="button" class="upgrade-filesystem-result hidden" disabled></button>
|
<button type="button" class="upgrade-filesystem-result hidden" disabled></button>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user