diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-07-29 20:08:07 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-07-29 20:08:07 +0200 |
commit | ff21df6b2ccdaf5161351ab69086d358a98c241d (patch) | |
tree | d958eeb0d78ee6eec38349ed2884bb33ae429e6f /module/web/templates/default | |
parent | more improvements and cleaned some imports (diff) | |
download | pyload-ff21df6b2ccdaf5161351ab69086d358a98c241d.tar.xz |
restart working and client information
Diffstat (limited to 'module/web/templates/default')
-rw-r--r-- | module/web/templates/default/home.html | 6 |
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()
|