This commit is contained in:
@@ -16,12 +16,15 @@
|
||||
<div class="col s7 m6" id="answer-post">
|
||||
{% include 'answer-post.html' %}
|
||||
</div>
|
||||
<div class="col s7 m6" id="minio"-post">
|
||||
<h1>Upload IPS File</h1>
|
||||
<form method=post enctype=multipart/form-data>
|
||||
<input type=file name=file>
|
||||
<input type=submit value=Upload>
|
||||
</form>
|
||||
<div class="col s7 m6" id="minio-post">
|
||||
<form hx-encoding='multipart/form-data' hx-post='/send_dudes'
|
||||
_='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'>
|
||||
<input type='file' name='file'>
|
||||
<button>
|
||||
Upload
|
||||
</button>
|
||||
<progress id='progress' value='0' max='100'></progress>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user