]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/display_form_job.tpl
Spelling updates
[bacula/bacula] / gui / bweb / tpl / display_form_job.tpl
index 3901fbf152857c1d8155a9cde41144925a49124d..370a8e1493ca7c13ecd7f3e562bae2cf7890abdb 100644 (file)
@@ -1,5 +1,4 @@
 <br/>
-
 <div class="otherboxtitle">
   Filter &nbsp;
 </div>
     </select>     
   </td>
 </tr>
+<tr>
+ <td valign='top'>
+    <h2>Pool</h2>
+    <select name='pool' class='formulaire'>
+      <option id='pool_all' value=''>All</option>
+<TMPL_LOOP NAME=db_pools>
+      <option id='pool_<TMPL_VAR name>'><TMPL_VAR name></option>
+</TMPL_LOOP>
+    </select>
+  </td>
+</tr>
 <tr>
   <td valign='top'>
     <h2>Age</h2>
 </tr>
 -->
 </table>
-  <button name='action' value='job' class='formulaire'>
-   <img src='/bweb/update.png'>
-  </button>
+  <input type="image" name='action' value='job' src='/bweb/update.png'>
 
-</div>
 </form>
-<script language="JavaScript">
+</div>
+<script type="text/javascript" language="JavaScript">
 
   <TMPL_LOOP qclients>
      document.getElementById('client_' + <TMPL_VAR name>).selected = true;
      document.getElementById('fileset_' + <TMPL_VAR name>).selected = true;
   </TMPL_LOOP>
 
+  <TMPL_LOOP qpools>
+     document.getElementById('pool_' + <TMPL_VAR name>).selected = true;
+  </TMPL_LOOP>
+
 </script>