]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/update_media.tpl
ebl add recyclecount + comment to display_media_zoom
[bacula/bacula] / gui / bweb / tpl / update_media.tpl
index a7e16df7531c312e5a3219b8f7be7b1b7a94293a..150842a7d876ec98ed5d7a46861434c1f6e6887e 100644 (file)
                name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
         </td>
     </tr>
+    <tr><td>Recycle Pool:</td>
+        <td><select name='poolrecycle' class='formulaire'>
+<TMPL_LOOP db_pools>
+             <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
+</TMPL_LOOP>
+           </select>
+        </td>
+    </tr>
+    <tr><td> Comment: </td>
+        <td>
+          <input class='formulaire' type='text' title='a comment'
+               name='comment' value='<TMPL_VAR comment>'>
+        </td>
+    </tr>
+
     </table>
 <table>
  <td>
@@ -118,6 +133,14 @@ for (var i=0; ok && i < document.form1.pool.length; ++i) {
    }
 }
 
+ok=1;
+for (var i=0; ok && i < document.form1.pool.length; ++i) {
+   if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
+      document.form1.poolrecycle[i].selected = true;
+      ok=0;
+   }
+}
+
 ok=1;
 for (var i=0; ok && i < document.form1.location.length; ++i) {
    if (document.form1.location[i].value == '<TMPL_VAR location>') {