]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Moved filter bar to top in jobs page
authorDavide Franco <bacula-dev@dflc.ch>
Wed, 22 Dec 2010 13:21:28 +0000 (14:21 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:34 +0000 (14:43 +0200)
gui/bacula-web/templates/jobs.tpl

index c7b2ad77b93ecfc0d4774c7b72b8be3c49a462e2..b57d8e7d3cc4b926de46baff7b00360232add0e6 100644 (file)
   <!-- Last jobs -->  
   <div class="box">
        <p class="title">Last jobs</p>
-       <table class="list" border="0">
-         <tr>
-               <td width="50" class="info">Status</td>
-               <td width="50" class="info">Job ID</td>
-               <td width="70" class="info">BackupJob</td>
-               <td width="80" class="info">Start Time</td>
-               <td width="80" class="info">End Time</td>
-               <td width="70" class="info">Elapsed time</td>
-               <td width="50" class="info">Level</td>
-               <td width="80" class="info">Pool</td>
-         </tr>
-       </table>
-       <div class="listbox">
-       <table class="list" border="0">
-         {foreach from=$last_jobs item=job}
-         <tr>
-               <td width="50" class="{$job.Job_classe}">
-                       <img width="20" src="style/images/{$job.Job_icon}" alt="" title="{$job.JobStatusLong}" />
-               </td>
-               <td width="50" class="{$job.Job_classe}">{$job.JobId}</td>
-               <td width="70" class="{$job.Job_classe}">{$job.Job_name}</td>
-               <td width="80" class="{$job.Job_classe}">{$job.StartTime}</td>
-               <td width="80" class="{$job.Job_classe}">{$job.EndTime}</td>
-               <td width="70" class="{$job.Job_classe}">{$job.elapsed}</td>
-               <td width="50" class="{$job.Job_classe}">{$job.Level}</td>
-               <td width="80" class="{$job.Job_classe}">{$job.Pool_name}</td>
-         </tr>
-         {/foreach}
-       </table>
-       </div> <!-- end div class=listbox -->
-       
+       <!-- Filter jobs -->
        <form action="jobs.php" method="post">
        <table class="list" border="0">
          <tr>
                        <input type="submit" value="Update" />
                </td>
          </tr>
+         <tr>
+               <td colspan="8">&nbsp;</td>
+         </tr>
        </table>
        </form>
+       
+       <table class="list" border="0">
+         <tr>
+               <td width="50" class="info">Status</td>
+               <td width="50" class="info">Job ID</td>
+               <td width="70" class="info">BackupJob</td>
+               <td width="80" class="info">Start Time</td>
+               <td width="80" class="info">End Time</td>
+               <td width="70" class="info">Elapsed time</td>
+               <td width="50" class="info">Level</td>
+               <td width="80" class="info">Pool</td>
+         </tr>
+       </table>
+       <div class="listbox">
+       <table class="list" border="0">
+         {foreach from=$last_jobs item=job}
+         <tr>
+               <td width="50" class="{$job.Job_classe}">
+                       <img width="20" src="style/images/{$job.Job_icon}" alt="" title="{$job.JobStatusLong}" />
+               </td>
+               <td width="50" class="{$job.Job_classe}">{$job.JobId}</td>
+               <td width="70" class="{$job.Job_classe}">{$job.Job_name}</td>
+               <td width="80" class="{$job.Job_classe}">{$job.StartTime}</td>
+               <td width="80" class="{$job.Job_classe}">{$job.EndTime}</td>
+               <td width="70" class="{$job.Job_classe}">{$job.elapsed}</td>
+               <td width="50" class="{$job.Job_classe}">{$job.Level}</td>
+               <td width="80" class="{$job.Job_classe}">{$job.Pool_name}</td>
+         </tr>
+         {/foreach}
+       </table>
+       </div> <!-- end div class=listbox -->
   </div>
 
 </div>