check upload limits beforehand

This commit is contained in:
xenofem 2022-05-03 19:21:42 -04:00
parent a79e9ae99c
commit 3b974ed6a3
4 changed files with 38 additions and 15 deletions

View file

@ -2,6 +2,7 @@
* List of classes the body can have:
*
* landing: haven't entered upload password yet
* uploads_closed: uploading is currently unavailable
* no_files: no files are selected
* selecting: upload hasn't started yet
* uploading: upload is in progress
@ -15,7 +16,11 @@ body.landing .section_heading { display: revert; }
#download { display: none; }
body.landing #download { display: revert; }
#uploads_closed_notice { display: none; }
body.uploads_closed #uploads_closed_notice { display: revert; }
body.noscript #upload { display: none; }
body.uploads_closed #upload { display: none; }
#message { display: none; }
body.completed #message {