]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/jobs.tpl
bacula-web: CSS modifications for jobs.tpl and index.tpl
[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='./external_packages/js/overlib.js'}
18 {include file=header.tpl}
19
20 <div id="nav">
21   <a href="index.php" title="Back to the dashboard">Dashboard</a> > Jobs list
22 </div>
23
24 <div id="main_center">
25   <!-- Failed jobs -->  
26   <div class="box">
27         <p class="title">Last failed jobs (limited to 10)</p>
28         <table class="list">
29           <tr>
30                 <td class="info">Status</td>
31                 <td class="info">Job ID</td>
32                 <td class="info">BackupJob</td>
33                 <td class="info">Start Time</td>
34                 <td class="info">End Time</td>
35                 <td class="info">Elapsed time</td>
36                 <td class="info">Level</td>
37                 <td class="info">Pool</td>
38           </tr>
39           {foreach from=$failed_jobs item=job}
40           <tr>
41                 <td> <img width="20" src="style/images/s_error.gif" alt=""/> </td>
42                 <td>{$job.JobId}</td>
43                 <td>{$job.job_name}</td>
44                 <td>{$job.StartTime}</td>
45                 <td>{$job.EndTime}</td>
46                 <td>{$job.elapsed}</td>
47                 <td align="center">{$job.Level}</td>
48                 <td>{$job.pool_name}</td>
49           </tr>
50           {/foreach}
51         </table>
52   </div>
53   <!-- Completed jobs --> 
54   <div class="box">
55         <p class="title">Last completed jobs</p>
56         <table class="list">
57           <tr>
58                 <td class="info">Status</td>
59                 <td class="info">Job ID</td>
60                 <td class="info">BackupJob</td>
61                 <td class="info">Start Time</td>
62                 <td class="info">End Time</td>
63                 <td class="info">Elapsed time</td>
64                 <td class="info">Level</td>
65                 <td class="info">Pool</td>
66           </tr>
67           {foreach from=$completed_jobs item=job}
68           <tr>
69                 <td> <img width="20px" src="style/images/s_ok.gif" alt=""/> </td>
70                 <td>{$job.JobId}</td>
71                 <td>{$job.job_name}</td>
72                 <td>{$job.StartTime}</td>
73                 <td>{$job.EndTime}</td>
74                 <td>{$job.elapsed}</td>
75                 <td align="center">{$job.Level}</td>
76                 <td>{$job.pool_name}</td>
77           </tr>
78           {/foreach}
79         </table>        
80   </div>
81 </div>
82
83 {include file="footer.tpl"}