From: Eric Bollengier Date: Mon, 10 Mar 2008 15:43:35 +0000 (+0000) Subject: ebl Use lineal regression on job progress bar X-Git-Tag: Release-3.0.0~1714 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a359343efe75beb9d70ab99d8d2c782c9d9d45d9;p=bacula%2Fbacula ebl Use lineal regression on job progress bar git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6576 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/html/bweb.js b/gui/bweb/html/bweb.js index c42fc3e626..3923662da9 100644 --- a/gui/bweb/html/bweb.js +++ b/gui/bweb/html/bweb.js @@ -230,12 +230,12 @@ function percent_display(hash_values, parent) return parent; } -function percent_finish(value, parent) +function percent_finish(value, corr, parent) { var type; var nb = parseInt(value*300/100, 10); - parent.title = parseInt(value*100,10)/100 + "% finished (approximate)"; + parent.title = parseInt(value*100,10)/100 + "% finished (approximate " + (corr).toFixed(2) + ")" ; var img=document.createElement('img'); img.className="pSliceFinished"; diff --git a/gui/bweb/lang/en/tpl/client_job_status.tpl b/gui/bweb/lang/en/tpl/client_job_status.tpl index 4955bef96f..9e7d8ee722 100644 --- a/gui/bweb/lang/en/tpl/client_job_status.tpl +++ b/gui/bweb/lang/en/tpl/client_job_status.tpl @@ -46,10 +46,10 @@ diff --git a/gui/bweb/lang/es/tpl/client_job_status.tpl b/gui/bweb/lang/es/tpl/client_job_status.tpl index 6064d4f383..c47d7aeed4 100644 --- a/gui/bweb/lang/es/tpl/client_job_status.tpl +++ b/gui/bweb/lang/es/tpl/client_job_status.tpl @@ -1,7 +1,7 @@

- Job ejecutándose on + Job ejecutándose on

@@ -46,10 +46,10 @@ diff --git a/gui/bweb/lang/fr/tpl/client_job_status.tpl b/gui/bweb/lang/fr/tpl/client_job_status.tpl index d9b6d5b1d9..c6237e64a0 100644 --- a/gui/bweb/lang/fr/tpl/client_job_status.tpl +++ b/gui/bweb/lang/fr/tpl/client_job_status.tpl @@ -35,7 +35,7 @@
+> Rafraîchir