]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/jobs.tpl
bacula-web: CSS modifications for jobs.tpl and index.tpl
[bacula/bacula] / gui / bacula-web / templates / jobs.tpl
index a2234532e00489b1376f701424176e91b0aa7cbb..952cacdb05a19fd6778167820574295d5e7d4773 100644 (file)
 
 </head>
 <body>
-{popup_init src='./js/overlib.js'}
+{popup_init src='./external_packages/js/overlib.js'}
 {include file=header.tpl}
-<a href="index.php">Back to main page</a>
+
+<div id="nav">
+  <a href="index.php" title="Back to the dashboard">Dashboard</a> > Jobs list
+</div>
 
 <div id="main_center">
+  <!-- Failed jobs -->  
   <div class="box">
        <p class="title">Last failed jobs (limited to 10)</p>
-       <table>
+       <table class="list">
          <tr>
-               <th>Status</th>
-               <th>Job ID</th>
-               <th>BackupJob</th>
-               <th>Start Time</th>
-               <th>End Time</th>
-               <th>Elapsed time</th>
-               <th>Level</th>
-               <th>Pool</th>
+               <td class="info">Status</td>
+               <td class="info">Job ID</td>
+               <td class="info">BackupJob</td>
+               <td class="info">Start Time</td>
+               <td class="info">End Time</td>
+               <td class="info">Elapsed time</td>
+               <td class="info">Level</td>
+               <td class="info">Pool</td>
          </tr>
          {foreach from=$failed_jobs item=job}
          <tr>
-               <td> <img width="20px" src="style/images/s_error.gif" alt=""/> </td>
+               <td> <img width="20" src="style/images/s_error.gif" alt=""/> </td>
                <td>{$job.JobId}</td>
                <td>{$job.job_name}</td>
                <td>{$job.StartTime}</td>
          {/foreach}
        </table>
   </div>
+  <!-- Completed jobs --> 
   <div class="box">
        <p class="title">Last completed jobs</p>
-       bkjlajkdjaf
+       <table class="list">
+         <tr>
+               <td class="info">Status</td>
+               <td class="info">Job ID</td>
+               <td class="info">BackupJob</td>
+               <td class="info">Start Time</td>
+               <td class="info">End Time</td>
+               <td class="info">Elapsed time</td>
+               <td class="info">Level</td>
+               <td class="info">Pool</td>
+         </tr>
+         {foreach from=$completed_jobs item=job}
+         <tr>
+               <td> <img width="20px" src="style/images/s_ok.gif" alt=""/> </td>
+               <td>{$job.JobId}</td>
+               <td>{$job.job_name}</td>
+               <td>{$job.StartTime}</td>
+               <td>{$job.EndTime}</td>
+               <td>{$job.elapsed}</td>
+               <td align="center">{$job.Level}</td>
+               <td>{$job.pool_name}</td>
+         </tr>
+         {/foreach}
+       </table>        
   </div>
 </div>
 
-{include file="footer.tpl"}
\ No newline at end of file
+{include file="footer.tpl"}