mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-06-08 08:02:11 -04:00
only allow json files
This commit is contained in:
@@ -199,7 +199,7 @@
|
||||
{% csrf_token %}
|
||||
<div class="file is-primary">
|
||||
<label class="file-label">
|
||||
<input id="restore-input" class="file-input" type="file" name="file" onchange="form.submit()">
|
||||
<input id="restore-input" class="file-input" type="file" name="file" accept=".json" onchange="form.submit()">
|
||||
<span class="file-cta">
|
||||
<span class="file-icon">
|
||||
<i class="fas fa-upload"></i>
|
||||
@@ -303,7 +303,7 @@
|
||||
<div class="column">
|
||||
<p>{{ platform.machine }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user