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:
parent
cca3a8bec9
commit
3e10267caf
4 changed files with 29 additions and 6 deletions
|
|
@ -20,7 +20,7 @@
|
|||
body {
|
||||
/* Change background color to that of your theme's */
|
||||
background: #0f1419;
|
||||
border: 10px solid transparent;
|
||||
padding: 10px;
|
||||
color: #E6E1CF;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue