re ans-post
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2024-01-29 02:44:05 +10:00
parent 1b2bfb601b
commit 14057ead4d

View File

@ -4,7 +4,7 @@
<span class="card-title">Ты отвечаешь: <a href="#post-{{ target_post_id }}">>>{{ target_post_id }}</a></span> <span class="card-title">Ты отвечаешь: <a href="#post-{{ target_post_id }}">>>{{ target_post_id }}</a></span>
</div> </div>
<div class="row"> <div class="row">
<a class="btn-floating halfway-fab waves-effect waves-light red" href="#post-{{ target_post_id }}"><i class="material-icons">>></i></a> <a class="btn-floating halfway-fab waves-effect waves-light red" href="#post-{{ target_post_id }}"><i class="material-icons">>>{{ target_post_id }}</i></a>
</div> </div>
<form hx-encoding='multipart/form-data' _='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'> <form hx-encoding='multipart/form-data' _='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'>
<div class="row"> <div class="row">
@ -15,11 +15,20 @@
</div> </div>
<div class="row"> <div class="row">
<div class="input-field col s6"> <div class="input-field col s6">
<div class="file-field input-field">
<div class="btn">
<span>File</span>
<input id="file" name="file" type="file" multiple> <input id="file" name="file" type="file" multiple>
<label for="file">Upload</label> </div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text" placeholder="Upload one or more files">
</div>
<div class="file-progress">
<progress id='progress' value='0' max='100'></progress> <progress id='progress' value='0' max='100'></progress>
</div> </div>
</div> </div>
</div>
</div>
</form> </form>
</div> </div>
<div class="card-action"> <div class="card-action">