]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/update_media.tpl
ebl Add FileSet view action
[bacula/bacula] / gui / bweb / tpl / update_media.tpl
index 7038f095f2a20a2a7eee2514b817ed424c0baf30..a7e16df7531c312e5a3219b8f7be7b1b7a94293a 100644 (file)
         </td>
     </tr>
     </table>
-<button class='formulaire' name='action' value='do_update_media'>Apply<br/>
- <img src='/bweb/apply.png'>
-</button>
-<button class='formulaire' name='action' title='Update from pool'
-  value='update_from_pool'>Update<br/>
- <img src='/bweb/update.png' title='Update from pool'>
-</button>
-<button class='formulaire' name='action' value='media'>View Pool<br/>
- <img src='/bweb/zoom.png'>
-</button>
-
-   </form>
+<table>
+ <td>
+ <label>
+  <input type="image" name='action' value='do_update_media' src='/bweb/apply.png'> Apply
+  </label>
+  <label>
+  <input type="image" name='action' title='Update from pool'
+    value='update_from_pool' src='/bweb/update.png'> Update
+  </label>
+ </form>
+ </td>
+ <td>
+  <form action='?' method='GET'>
+   <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
+   <label>
+    <input type="image" name='action' value='media'
+     src='/bweb/zoom.png'>View Pool
+   </label>
+  </form>
+ </td>
+</table>
 </div>
 
-<script language='JavaScript'>
+<script type="text/javascript" language='JavaScript'>
 var ok=1;
 for (var i=0; ok && i < document.form1.pool.length; ++i) {
    if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {