]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl cleanup
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 16 Nov 2006 12:54:18 +0000 (12:54 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 16 Nov 2006 12:54:18 +0000 (12:54 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3634 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/cgi/bweb.pl
gui/bweb/lang/fr/tpl/stats.tpl [new file with mode: 0644]
gui/bweb/tpl/stats.tpl [new file with mode: 0644]

index adba55fabf4b53b639de96f8b4143c4d2a9dd696..d0173dc32ccd849219bd49875d0f62bf8d1bb051 100755 (executable)
@@ -67,15 +67,7 @@ if ($action eq 'begin') {            # main display
     $bweb->display_general(age => $arg->{age});
     $bweb->display_running_jobs(0);
     print "</td><td valign='top'>";
-    print "
-<div class='titlediv'>
-  <h1 class='newstitle'> Statistics </h1>
-</div>
-<div class='bodydiv'>
-<a href='?action=job;age=172800;jobtype=B'>
-<img src='bgraph.pl?age=2678400;width=600;height=250;graph=job_sum_day;limit=300;action=graph;legend=off' alt='Nothing to display'>
-</a>
-</div>";
+    $bweb->display({}, "stats.tpl");
     print "</td></tr></table></div>";
     $bweb->display_job(limit => 10); 
 
diff --git a/gui/bweb/lang/fr/tpl/stats.tpl b/gui/bweb/lang/fr/tpl/stats.tpl
new file mode 100644 (file)
index 0000000..12c3c71
--- /dev/null
@@ -0,0 +1,9 @@
+<div class='titlediv'>
+  <h1 class='newstitle'> Statistiques </h1>
+</div>
+<div class='bodydiv'>
+<a href='?action=job;age=172800;jobtype=B'>
+<img src='bgraph.pl?age=2678400;width=600;height=250;graph=job_sum_day;limit=500;action=graph;legend=off' alt='Rien a afficher'>
+</a>
+</div>
+
diff --git a/gui/bweb/tpl/stats.tpl b/gui/bweb/tpl/stats.tpl
new file mode 100644 (file)
index 0000000..6d5c771
--- /dev/null
@@ -0,0 +1,9 @@
+<div class='titlediv'>
+  <h1 class='newstitle'> Statistics </h1>
+</div>
+<div class='bodydiv'>
+<a href='?action=job;age=172800;jobtype=B'>
+<img src='bgraph.pl?age=2678400;width=600;height=250;graph=job_sum_day;limit=500;action=graph;legend=off' alt='Nothing to display'>
+</a>
+</div>
+