Add visual cue for uploading files

Unfortunately, since fetch API does not support getting progress while
perfoming uploads, we cannot have a more dynamic cue

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2021-12-26 09:45:53 +05:30
parent cca3a8bec9
commit 3e10267caf
4 changed files with 29 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
body {
/* Change background color to that of your theme's */
background: #0f1419;
border: 10px solid transparent;
padding: 10px;
color: #E6E1CF;
}

View File

@@ -110,6 +110,7 @@ AUTHOR
<button type="submit" title="Paste">Paste</button>
</div>
<div id="upload_card"><h5>Uploading...</h5></div>
</form>
<script src="/js/index.js"></script>