]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/jobs.tpl
bacula-web: Removed overlib from external_packages and html templates
[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 </head>
8 <body>
9 {include file=header.tpl}
10
11   <div id="nav">
12     <a href="index.php" title="Back to the dashboard">Dashboard</a> > Jobs list
13   </div>
14
15   <div id="main_center">
16   
17   <!-- Last jobs -->  
18   <div class="box">
19         <p class="title">Jobs report</p>
20         <!-- Filter jobs -->
21         <form action="jobs.php" method="post">
22         <table border="0">
23           <tr>
24             <td class="info" width="200">
25                         {$total_jobs} jobs found
26                 </td>
27                 <td class="info" colspan="5" style="text-align: right;">
28                         Jobs / Page
29                         <select name="jobs_per_page">
30                           {foreach from=$jobs_per_page item=nb_jobs}
31                             <option value="{$nb_jobs}" {if $smarty.post.jobs_per_page == $nb_jobs}Selected{/if} >{$nb_jobs}
32                           {/foreach}
33                         </select>
34                 </td>
35                 <td class="info" width="200">
36                         Job Status
37                         <select name="status">
38                                 {foreach from=$job_status item=status_label}
39                                   <option value="{$status_label}" {if $smarty.post.status == $status_label}Selected{/if} >{$status_label}
40                                 {/foreach}
41                         </select>
42                 </td>
43                 <td class="info" width="120">
44                         <input type="submit" value="Update" />
45                 </td>
46           </tr>
47           <tr>
48                 <td colspan="8">&nbsp;</td>
49           </tr>
50         </table>
51         </form>
52         
53         <table border="0">
54           <tr>
55                 <td class="tbl_header">Status</td>
56                 <td class="tbl_header">Job ID</td>
57                 <td class="tbl_header">BackupJob</td>
58                 <td class="tbl_header">Start Time</td>
59                 <td class="tbl_header">End Time</td>
60                 <td class="tbl_header">Elapsed time</td>
61                 <td class="tbl_header">Level</td>
62                 <td class="tbl_header">Bytes</td>
63                 <td class="tbl_header">Files</td>
64                 <td class="tbl_header">Pool</td>
65           </tr>
66         <!-- <div class="listbox"> -->
67           {foreach from=$last_jobs item=job}
68           <tr>
69                 <td width="50" class="{$job.Job_classe}">
70                         <img width="20" src="style/images/{$job.Job_icon}" alt="" title="{$job.JobStatusLong}" />
71                 </td>
72                 <td class="{$job.Job_classe}">{$job.JobId}</td>
73                 <td class="{$job.Job_classe}">
74                         <a href="backupjob-report.php?backupjob_name={$job.Job_name}">{$job.Job_name}</a>
75                 </td>
76                 <td class="{$job.Job_classe}">{$job.StartTime}</td>
77                 <td class="{$job.Job_classe}">{$job.EndTime}</td>
78                 <td class="{$job.Job_classe}">{$job.elapsed_time}</td>
79                 <td class="{$job.Job_classe}">{$job.Level}</td>
80                 <td class="{$job.Job_classe}">{$job.JobBytes}</td>
81                 <td class="{$job.Job_classe}">{$job.JobFiles}</td>
82                 <td class="{$job.Job_classe}">{$job.Pool_name}</td>
83           </tr>
84           {/foreach}
85         </table>
86         <!-- </div> --> <!-- end div class=listbox -->
87   </div>
88
89 </div>
90
91 {include file="footer.tpl"}