summaryrefslogtreecommitdiffstats
path: root/pyload/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-14 15:35:50 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-14 15:35:50 +0200
commitd9f5207ce7424d9d9820e797f8fd19a99d328427 (patch)
tree1a01ae4f2d719dae00ee2ebdb41350f8c2f8b05b /pyload/web
parentadapted premiumize me (diff)
downloadpyload-d9f5207ce7424d9d9820e797f8fd19a99d328427.tar.xz
also update file size when loading progress
Diffstat (limited to 'pyload/web')
-rw-r--r--pyload/web/app/scripts/views/headerView.js3
-rw-r--r--pyload/web/app/templates/default/dashboard/layout.html11
2 files changed, 6 insertions, 8 deletions
diff --git a/pyload/web/app/scripts/views/headerView.js b/pyload/web/app/scripts/views/headerView.js
index 991f0f32e..c1e71cc86 100644
--- a/pyload/web/app/scripts/views/headerView.js
+++ b/pyload/web/app/scripts/views/headerView.js
@@ -209,7 +209,8 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle
if (file) {
file.set({
progress: prog.getPercent(),
- eta: prog.get('eta')
+ eta: prog.get('eta'),
+ size: prog.get('total')
}, {silent: true});
file.setDownloadStatus(prog.get('download').status);
file.trigger('change:progress');
diff --git a/pyload/web/app/templates/default/dashboard/layout.html b/pyload/web/app/templates/default/dashboard/layout.html
index 945d11762..cd84d3a26 100644
--- a/pyload/web/app/templates/default/dashboard/layout.html
+++ b/pyload/web/app/templates/default/dashboard/layout.html
@@ -13,19 +13,16 @@
<i class="icon-group"></i> Shared
</div>
<ul class="package-list">
- <li>Content from</li>
- <li>Other user</li>
- <li>which they shared</li>
+ <li>Shared content</li>
+ <li>from other user</li>
</ul>
<div class="sidebar-header">
<i class="icon-sitemap"></i> Remote
</div>
<ul>
<li>Content from</li>
- <li>remote sites</li>
- <li>mega</li>
- <li>dropbox</li>
- <li>other pyloads</li>
+ <li>remote sites or</li>
+ <li>other pyload instances</li>
</ul>
</div>
<div class="span9">