mirror of
https://github.com/asapach/peerflix-server.git
synced 2026-04-25 22:55:51 +03:00
[GH-ISSUE #73] progress bar , speed, traffic queue and peers still show up when download completed #277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @buziyborni on GitHub (May 15, 2016).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/73
As i said first i was testing the app but it
seem like after the download completed the progress bar , speed, traffic queue and peers
still show up how to do i make it vanish after
download completed. I was trying to make it with css but it didn't work
@asapach commented on GitHub (May 15, 2016):
It depends on your definition of "complete". Unfortunately the underlying library (torrent-stream) doesn't have an indication when all the files have been downloaded, so you can't tell if there's nothing selected (so the server is idle) or the torrent is 100% downloaded and it's seeding.
If "idle" is good enough for you can rely on the following classes:
div.panelcontainerpanel-warningclasspanel-successclassSo what you can do is hide the progressbar (
div.progress) and footer (div.panel-footer) for all cases exceptpanel-success.@buziyborni commented on GitHub (May 15, 2016):
Thanks sir will try and give you feedback