summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-29 20:08:07 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-29 20:08:07 +0200
commitff21df6b2ccdaf5161351ab69086d358a98c241d (patch)
treed958eeb0d78ee6eec38349ed2884bb33ae429e6f /module/web/templates
parentmore improvements and cleaned some imports (diff)
downloadpyload-ff21df6b2ccdaf5161351ab69086d358a98c241d.tar.xz
restart working and client information
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/home.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html
index f3d40b4e0..76f87b203 100644
--- a/module/web/templates/default/home.html
+++ b/module/web/templates/default/home.html
@@ -169,10 +169,10 @@ var LinkEntry = new Class({
},
update: function(item){
this.elements.name.set('text', item.name);
- this.elements.status.set('text', item.status);
+ this.elements.status.set('text', item.statusmsg);
this.elements.info.set('text', item.info);
- this.elements.kbleft.set('text', HumanFileSize(item.size));
- this.elements.percent.set('text', item.percent+ '% / '+ HumanFileSize(item.size-item.kbleft));
+ this.elements.kbleft.set('text', HumanFileSize(item.size / (1024)));
+ this.elements.percent.set('text', item.percent+ '% / '+ HumanFileSize((item.size-item.kbleft) / (1024)));
this.bar.start({
'width': item.percent,
'background-color': [Math.round(120/100*item.percent),100,100].hsbToRgb().rgbToHex()