]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/jobs.tpl
bacula-web: Removed file includes/db/cpgsqldb.class.php
[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" width="160">
28                         Jobs / Page
29                         {html_options name=jobs_per_page options=$jobs_per_page selected=$jobs_per_page_selected onChange="submit();"}
30                 </td>
31                 <td class="info" width="160">
32                         Job status
33                         {html_options name=status values=$job_status options=$job_status selected=$job_status_filter onChange="submit();"}
34                 </td>
35           </tr>
36           <tr>
37                 <td colspan="8">&nbsp;</td>
38           </tr>
39         </table>
40         </form>
41         
42         <table border="0">
43           <tr>
44                 <td class="tbl_header">Status</td>
45                 <td class="tbl_header">Job ID</td>
46                 <td class="tbl_header">BackupJob</td>
47                 <td class="tbl_header">Start Time</td>
48                 <td class="tbl_header">End Time</td>
49                 <td class="tbl_header">Elapsed time</td>
50                 <td class="tbl_header">Level</td>
51                 <td class="tbl_header">Bytes</td>
52                 <td class="tbl_header">Files</td>
53                 <td class="tbl_header">Pool</td>
54           </tr>
55         <!-- <div class="listbox"> -->
56           {foreach from=$last_jobs item=job}
57           <tr>
58                 <td width="50" class="{$job.Job_classe}">
59                         <img width="20" src="style/images/{$job.Job_icon}" alt="" title="{$job.jobstatuslong}" />
60                 </td>
61                 <td class="{$job.Job_classe}">{$job.jobid}</td>
62                 <td class="{$job.Job_classe}">
63                         <a href="backupjob-report.php?backupjob_name={$job.job_name}">{$job.job_name}</a>
64                 </td>
65                 <td class="{$job.Job_classe}">{$job.starttime}</td>
66                 <td class="{$job.Job_classe}">{$job.endtime}</td>
67                 <td class="{$job.Job_classe}">{$job.elapsed_time}</td>
68                 <td class="{$job.Job_classe}">{$job.level}</td>
69                 <td class="{$job.Job_classe}">{$job.jobbytes}</td>
70                 <td class="{$job.Job_classe}">{$job.jobfiles}</td>
71                 <td class="{$job.Job_classe}">{$job.pool_name}</td>
72           </tr>
73           {/foreach}
74         </table>
75         <!-- </div> --> <!-- end div class=listbox -->
76   </div>
77
78 </div>
79
80 {include file="footer.tpl"}