-<!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>{$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)</p>
- <img src="{$graph_stored_files}" alt="" />
- </div> <!-- end div class=box -->
-
- </div> <!-- end div id=main_center -->
-
-{include file="footer.tpl"}
+<!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
+{literal}\r
+<script type="text/javascript">\r
+ function OpenWin(URL,wid,hei) {\r
+ window.open(URL,"window1","width="+wid+",height="+hei+",scrollbars=yes,menubar=no,location=no,resizable=no")\r
+ }\r
+</script>\r
+{/literal}\r
+\r
+</head>\r
+<body>\r
+{popup_init src='./external_packages/js/overlib.js'}\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 graph -->\r
+ <div class="box">\r
+ <p class="title">Transfered Bytes (last week in GB)</p>\r
+ <img src="{$graph_stored_bytes}" alt="" />\r
+ </div> <!-- end div class=box -->\r
+\r
+ <!-- Transfered Files graph -->\r
+ <div class="box">\r
+ <p class="title">Transfered Files (last week)</p>\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