From 271d7eedc43f89b6f2d936acb9daf7f561328821 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 6 Jan 2014 06:38:01 +0100 Subject: Better progress bar calculation --- gui/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/index.html b/gui/index.html index 1c1e77aa3b..72900d4fce 100644 --- a/gui/index.html +++ b/gui/index.html @@ -37,9 +37,12 @@ body {

Synchronization

-
+
+ {{100 * model.inSyncBytes / model.globalBytes | number:0}}% +
-

{{100 * model.localFiles / (model.localFiles + model.needFiles) | number:2}}%

Need {{model.needFiles | alwaysNumber}} files, {{model.needBytes | binary}}B

-- cgit v1.2.3