mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-02 11:26:16 -04:00
Refactor uploads GUI so that each upload POST has one progess bar, and a list of files, with partial styling
This commit is contained in:
parent
9ec783c6a2
commit
28fe7a4cf5
6 changed files with 120 additions and 70 deletions
|
@ -135,7 +135,7 @@ class ReceiveMode(Mode):
|
|||
"""
|
||||
Handle REQUEST_STARTED event.
|
||||
"""
|
||||
self.uploads.add(event["data"]["id"])
|
||||
self.uploads.add(event["data"]["id"], event["data"]["content_length"])
|
||||
self.uploads_in_progress += 1
|
||||
self.update_uploads_in_progress()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue