]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl add new autochanger directive
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 22 Aug 2006 17:32:32 +0000 (17:32 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 22 Aug 2006 17:32:32 +0000 (17:32 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3333 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/tpl/ach_add.tpl [new file with mode: 0644]

diff --git a/gui/bweb/tpl/ach_add.tpl b/gui/bweb/tpl/ach_add.tpl
new file mode 100644 (file)
index 0000000..6f11b75
--- /dev/null
@@ -0,0 +1,43 @@
+<br/>
+<div class='titlediv'>
+  <h1 class='newstitle'> New autochanger </h1>
+</div>
+<div class='bodydiv'>
+   <form action="?" method='get'>
+    <table>
+     <tr><td>Name :</td>     
+         <td>
+          <select name='ach' class='formulaire'>
+<TMPL_LOOP devices><option value='<TMPL_VAR name>'><TMPL_VAR name></option></TMPL_LOOP>
+          </select>
+         </td>
+     </tr>
+     <tr><td>Pre-command :</td> 
+         <td> <input class="formulaire" type='text' value='sudo' title='can be "sudo" or "ssh storage@storagehost"...' name='precmd'>
+         </td>
+     </tr>
+     <tr><td>mtx command :</td> 
+         <td> <input class="formulaire" type='text' value='/usr/sbin/mtx' name='mtxcmd' size='32'>
+         </td>
+     </tr>
+     <tr><td>Device :</td> 
+         <td> <input class="formulaire" type='text' value='/dev/changer' name='device'>
+         </td>
+     </tr>
+    <tr><td><b>Drives</b></td><td/></tr>
+    <TMPL_LOOP devices>
+    <tr>
+     <td><input class='formulaire' type='checkbox' 
+                name='drive' value='<TMPL_VAR name>'><TMPL_VAR name>
+     </td>
+     <td>index <input type='text' title='drive index' class='formulaire'
+                value='' name='index_<TMPL_VAR name>' size='3'>
+     </td>
+    </tr>
+    </TMPL_LOOP>
+    </table>
+    <button name='action' value='ach_add' class='formulaire'>
+     <img src='/bweb/save.png'>
+    </button>
+   </form>
+</div>