<br/>
-
<div class="otherboxtitle">
Filter
</div>
<select name='status' class='formulaire'>
<option id='status_Any' value='Any'>Any</option>
<option id='status_T' value='T'>Ok</option>
+ <option id='status_W' value='W'>Warning</option>
<option id='status_f' value='f'>Error</option>
<option id='status_A' value='A'>Canceled</option>
</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>