]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/backupjob-report.tpl
bacula-web: new icons file in style/images folder
[bacula/bacula] / gui / bacula-web / templates / backupjob-report.tpl
index 629611fbf338354787eb4b091787b3d01ccfc016..f3f0b6684f2a2a7d798482d7c4baac1de3c2ccef 100644 (file)
@@ -1,69 +1,74 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
-  "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-<head>
-<title>bacula-web</title>
-<link rel="stylesheet" type="text/css" href="style/default.css">
-{literal}
-<script type="text/javascript">
-       function OpenWin(URL,wid,hei) {
-               window.open(URL,"window1","width="+wid+",height="+hei+",scrollbars=yes,menubar=no,location=no,resizable=no")
-       }
-</script>
-{/literal}
-
-</head>
-<body>
-{popup_init src='./external_packages/js/overlib.js'}
-{include file=header.tpl}
-
-  <div id="nav">
-    <a href="index.php" title="Back to the dashboard">Dashboard</a> > Backup Job Report
-  </div>
-
-  <div id="main_center">
-  
-  <div class="box">
-       <p class="title">Backup Job Report</p>
-       
-       <table>
-               <tr>
-                       <td width="150">Backup Job name:</td>
-                       <td>{$backupjob_name}</td>
-               </tr>
-               <tr>
-                       <td>Period:</td>
-                       <td>ppp{$backupjob_period}</td>
-               </tr>
-               <tr>
-                       <td>Transfered Bytes</td>
-                       <td>{$backupjob_bytes} GB</td>
-               </tr>
-               <tr>
-                       <td>Transfered Files</td>
-                       <td>ppp{$backupjob_files}</td>
-               </tr>
-
-       </table>
-  </div> <!-- end div class=box -->
-  
-  <!-- Last jobs list -->
-  <div class="box">
-       <p class="title">Last jobs</p>
-  </div> <!-- end div class=box -->
-  
-  <!-- Transfered Bytes graph -->
-  <div class="box">
-       <p class="title">Transfered Bytes (last week in GB)</p>
-       <img src="{$graph_stored_bytes}" alt="" />
-  </div> <!-- end div class=box -->
-
-  <!-- Transfered Files graph -->
-  <div class="box">
-       <p class="title">Transfered Files (last week in GB)</p>
-       <img src="{$graph_stored_files}" alt="" />
-  </div> <!-- end div class=box -->
-  
-  </div> <!-- end div id=main_center -->
-
-{include file="footer.tpl"}
\ No newline at end of file
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" \r
+  "http://www.w3.org/TR/html4/loose.dtd">\r
+<html lang="en">\r
+<head>\r
+<title>bacula-web</title>\r
+<link rel="stylesheet" type="text/css" href="style/default.css">\r
+</head>\r
+<body>\r
+{include file=header.tpl}\r
+\r
+  <div id="nav">\r
+    <a href="index.php" title="Back to the dashboard">Dashboard</a> > Backup Job Report\r
+  </div>\r
+\r
+  <div id="main_center">\r
+  \r
+  <div class="box">\r
+       <p class="title">Backup Job Report</p>\r
+       \r
+       <table>\r
+               <tr>\r
+                       <td width="150">Backup Job name:</td>\r
+                       <td>{$backupjob_name}</td>\r
+               </tr>\r
+               <tr>\r
+                       <td>Period:</td>\r
+                       <td>{$backupjob_period}</td>\r
+               </tr>\r
+               <tr>\r
+                       <td>Transfered Bytes</td>\r
+                       <td>{$backupjob_bytes} GB</td>\r
+               </tr>\r
+               <tr>\r
+                       <td>Transfered Files</td>\r
+                       <td>{$backupjob_files}</td>\r
+               </tr>\r
+\r
+       </table>\r
+  </div> <!-- end div class=box -->\r
+  \r
+  <!-- Last jobs list -->\r
+  <div class="box">\r
+       <p class="title">Last jobs</p>\r
+       \r
+       <table>\r
+               <tr>\r
+                       <td class="tbl_header">Job Id</td>\r
+                       <td class="tbl_header">Level</td>\r
+                       <td class="tbl_header">Files</td>\r
+                       <td class="tbl_header">Bytes</td>\r
+                       <td class="tbl_header">End time</td>\r
+               </tr>\r
+               {foreach from=$jobs item=job}\r
+               <tr>\r
+                       <td>{$job.JobId}</td>\r
+                       <td>{$job.Level}</td>\r
+                       <td>{$job.JobFiles}</td>\r
+                       <td>{$job.JobBytes}</td>\r
+                       <td>{$job.EndTime}</td>\r
+               </tr>\r
+               {/foreach}\r
+       </table>\r
+  </div> <!-- end div class=box -->\r
+  \r
+  <!-- Transfered Bytes/Files graph -->
+  <div class="box">\r
+       <p class="title">Transfered Bytes / Files (last 7 days)</p>
+       <img src="{$graph_stored_bytes}" alt="" />\r
+       <img src="{$graph_stored_files}" alt="" />\r
+  </div> <!-- end div class=box -->\r
+  \r
+  </div> <!-- end div id=main_center -->\r
+\r
+{include file="footer.tpl"}\r