added left file upload size

This commit is contained in:
Alexander Karpov 2023-05-13 21:48:21 +03:00
parent 59d3fe37e3
commit 779c2a9ccb

View File

@ -72,7 +72,7 @@
<svg class="upload_svg" width="60" height="60" aria-hidden="true"> <svg class="upload_svg" width="60" height="60" aria-hidden="true">
<use href="#icon-imageUpload"></use> <use href="#icon-imageUpload"></use>
</svg> </svg>
<p class="small my-2">Drag &amp; Drop file(s) <br><i>or</i></p> <p class="small my-2">Drag &amp; Drop file(s) <small>({{ request.user.left_file_upload | filesizeformat }} left)</small><br><i>or</i></p>
<input class="position-absolute invisible" id="chunked_upload" type="file" name="the_file"> <input class="position-absolute invisible" id="chunked_upload" type="file" name="the_file">
<label class="btn btn-upload mb-3" for="chunked_upload">Choose file(s)</label> <label class="btn btn-upload mb-3" for="chunked_upload">Choose file(s)</label>
<div class="upload_gallery d-flex flex-wrap justify-content-center gap-3 mb-0"></div> <div class="upload_gallery d-flex flex-wrap justify-content-center gap-3 mb-0"></div>