From: Eric Bollengier Date: Thu, 3 Apr 2008 08:54:12 +0000 (+0000) Subject: ebl Tweak progress bar and add Backuped files count to job status X-Git-Tag: Release-3.0.0~1617 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0791bbdf5015afea020b37d86ec8303a3cfd2d03;p=bacula%2Fbacula ebl Tweak progress bar and add Backuped files count to job status ebl Add group stats git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6731 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/cgi/bweb.pl b/gui/bweb/cgi/bweb.pl index 1f0eab14e4..a6a14f6c62 100755 --- a/gui/bweb/cgi/bweb.pl +++ b/gui/bweb/cgi/bweb.pl @@ -379,10 +379,21 @@ if ($action eq 'begin') { # main display } } } elsif ($action eq 'group_stats') { + $bweb->can_do('r_view_stat'); + print "
\n"; + my $fields = $bweb->get_form(qw/since age + db_client_groups qclient_groups/); # drop this to hide + $fields->{action}='group_stats'; + $fields->{hide_level}=1; + $fields->{hide_type}=1; + $fields->{hide_status}=1; + + $bweb->display($fields, "display_form_job.tpl"); + + print ""; $bweb->display_group_stats(); -} elsif ($action eq 'group_stats') { - $bweb->display_group_stats(age => $arg->{age}); + print "
" } elsif ($action eq 'running') { $bweb->display_running_jobs(1); diff --git a/gui/bweb/lang/en/tpl/client_job_status.tpl b/gui/bweb/lang/en/tpl/client_job_status.tpl index f87a3fa102..e3b6e71af3 100644 --- a/gui/bweb/lang/en/tpl/client_job_status.tpl +++ b/gui/bweb/lang/en/tpl/client_job_status.tpl @@ -19,6 +19,9 @@ Files Examined: + + Files Backuped: + Bytes: diff --git a/gui/bweb/lang/en/tpl/display_form_job.tpl b/gui/bweb/lang/en/tpl/display_form_job.tpl index 21dcf24f0e..f0f11e320b 100644 --- a/gui/bweb/lang/en/tpl/display_form_job.tpl +++ b/gui/bweb/lang/en/tpl/display_form_job.tpl @@ -5,6 +5,7 @@
+ + @@ -55,6 +57,8 @@ + + + diff --git a/gui/bweb/lang/es/tpl/display_form_job.tpl b/gui/bweb/lang/es/tpl/display_form_job.tpl index 8d1143a284..1b1ff2619f 100644 --- a/gui/bweb/lang/es/tpl/display_form_job.tpl +++ b/gui/bweb/lang/es/tpl/display_form_job.tpl @@ -1,10 +1,10 @@ -
Filter  

Level

@@ -16,6 +17,7 @@
@@ -47,7 +49,7 @@

Since

-

Age

Age

Archivos Examinados:
Files Backuped:
Bytes:
+ + @@ -55,9 +56,11 @@ @@ -66,9 +69,11 @@ @@ -87,7 +92,7 @@ @@ -99,7 +104,7 @@ diff --git a/gui/bweb/lang/fr/tpl/client_job_status.tpl b/gui/bweb/lang/fr/tpl/client_job_status.tpl index 65c3e334c8..6c4b7b58b4 100644 --- a/gui/bweb/lang/fr/tpl/client_job_status.tpl +++ b/gui/bweb/lang/fr/tpl/client_job_status.tpl @@ -19,6 +19,9 @@ + + + @@ -35,7 +38,7 @@

Nivel

@@ -16,6 +16,7 @@
@@ -47,7 +48,7 @@

Tiempo

-

Tiempo

Tiempo

-

Número de items

+

Número de items

Fichiers vus :
Files Backuped:
Taille :
+> Rafraîchir