]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/jobs.tpl
bacula-web: New jobs page
[bacula/bacula] / gui / bacula-web / templates / jobs.tpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
2   "http://www.w3.org/TR/html4/loose.dtd">
3 <html lang="en">
4 <head>
5 <title>bacula-web</title>
6 <link rel="stylesheet" type="text/css" href="style/default.css">
7 {literal}
8 <script type="text/javascript">
9         function OpenWin(URL,wid,hei) {
10                 window.open(URL,"window1","width="+wid+",height="+hei+",scrollbars=yes,menubar=no,location=no,resizable=no")
11         }
12 </script>
13 {/literal}
14
15 </head>
16 <body>
17 {popup_init src='./js/overlib.js'}
18 {include file=header.tpl}
19 <a href="index.php">Back to main page</a>
20
21 <div id="main_center">
22   <div class="box">
23         <p class="title">Last failed jobs (limited to 10)</p>
24         <table>
25           <tr>
26                 <th>Status</th>
27                 <th>Job ID</th>
28                 <th>BackupJob</th>
29                 <th>Start Time</th>
30                 <th>End Time</th>
31                 <th>Elapsed time</th>
32                 <th>Level</th>
33                 <th>Pool</th>
34           </tr>
35           {foreach from=$failed_jobs item=job}
36           <tr>
37                 <td> <img width="20px" src="style/images/s_error.gif" alt=""/> </td>
38                 <td>{$job.JobId}</td>
39                 <td>{$job.job_name}</td>
40                 <td>{$job.StartTime}</td>
41                 <td>{$job.EndTime}</td>
42                 <td>{$job.elapsed}</td>
43                 <td align="center">{$job.Level}</td>
44                 <td>{$job.pool_name}</td>
45           </tr>
46           {/foreach}
47         </table>
48   </div>
49   <div class="box">
50         <p class="title">Last completed jobs</p>
51         bkjlajkdjaf
52   </div>
53 </div>
54
55 {include file="footer.tpl"}