]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/run_job_mod.tpl
Renamed cleanup goto target into bail_out which is the prefered name from the develop...
[bacula/bacula] / gui / bweb / tpl / run_job_mod.tpl
index 5a353987657b2cfffd607a1988882f3159719e55..8ba90c7a7c1df8f54731f48f0ee374342c7c3ed7 100644 (file)
@@ -1,12 +1,12 @@
 <br/>
  <div class='titlediv'>
-  <h1 class='newstitle'> Run job : <TMPL_VAR job> on <TMPL_VAR client></h1>
+  <h1 class='newstitle'> __Run job:__ <TMPL_VAR job> __on__ <TMPL_VAR client></h1>
  </div>
  <div class='bodydiv'>
   <form name='form1' action='?' method='GET'>  
   <table border='0'>
 
-   <tr><td>Job Name: </td><td>
+   <tr><td>__Job Name:__ </td><td>
    <select name='job'>
     <TMPL_LOOP jobs>
      <option value='<TMPL_VAR name>'>
@@ -14,7 +14,7 @@
      </option>
     </TMPL_LOOP>
    </select>
-   </td></tr><tr><td>Pool: </td><td>
+   </td></tr><tr><td>__Pool:__ </td><td>
 
    <select name='pool'>        
      <option value=''></option>
@@ -24,7 +24,7 @@
      </option>
     </TMPL_LOOP>
    </select>
-   </td></tr><tr><td>Client: </td><td>
+   </td></tr><tr><td>__Client:__ </td><td>
 
    <select name='client'>
     <TMPL_LOOP clients>
@@ -34,7 +34,7 @@
     </TMPL_LOOP>
    </select>
 
-   </td></tr><tr><td>FileSet: </td><td>
+   </td></tr><tr><td>__FileSet:__ </td><td>
    <select name='fileset'>
     <TMPL_LOOP filesets>
      <option value='<TMPL_VAR name>'>
@@ -43,7 +43,7 @@
     </TMPL_LOOP>
    </select>
 
-   </td></tr><tr><td>Storage: </td><td>
+   </td></tr><tr><td>__Storage:__ </td><td>
    <select name='storage'>
     <TMPL_LOOP storages>
      <option value='<TMPL_VAR name>'>
     </TMPL_LOOP>
    </select>
 
-   </td></tr><tr><td>Level: </td><td>
+   </td></tr><tr><td>__Level:__ </td><td>
    <select name='level'>
-     <option id='level_Incremental' value='Incremental'>Incremental</option>
-     <option id='level_Full' value='Full'>Full</option>
-     <option id='level_Differential' value='Differential'>Differential</option>
+     <option id='level_Incremental' value='Incremental'>__Incremental__</option>
+     <option id='level_Full' value='Full'>__Full__</option>
+     <option id='level_Differential' value='Differential'>__Differential__</option>
    </select>
 
-   </td></tr><tr><td>Priority: </td><td>
-   <input class='formulaire' type='text' 
+   </td></tr><tr id='more1' style="visibility:hidden"><td>__Start Time:__ </td><td>
+   <input type='text' title='YYYY-MM-DD HH:MM:SS'
+          size='17' name='when' value='<TMPL_VAR when>'>
+
+   </td></tr><tr id='more2' style="visibility:hidden"><td>__Priority:__ </td><td>
+   <input type='text' 
           size='3' name='priority' value='<TMPL_VAR priority>'>
 
    </td></tr>
    </table>
    <br/>
-  <button name='action' value='run_job_now' title='Run job' class='formulaire'>
-   <img src='/bweb/R.png'>
-   </button>
+
+  <label onclick='
+           document.getElementById("more1").style.visibility="visible";
+           document.getElementById("more2").style.visibility="visible";'>
+  <img title="__Display more options__" src='/bweb/add.png'>__More options__</label>
+
+  <button type="submit" class="bp" name='action' value='run_job_now' title='__Run job__'><img src='/bweb/R.png' alt=''>__Run now__</button>
+  <button type="submit" class="bp" name='action' value='fileset_view' title='__View FileSet__'><img src='/bweb/zoom.png' alt=''>__View FileSet__</button>
   </form>
  </div>
 
-<script language="JavaScript">
+<script type="text/javascript" language="JavaScript">
   <TMPL_IF job>
      ok=1;
      for(var i=0; ok && i < document.form1.job.length; i++) {
      }
   </TMPL_IF>
   <TMPL_IF level>
-<!--     document.getElementById('level_<TMPL_VAR level>').selected=true; -->
+     document.getElementById('level_<TMPL_VAR level>').selected=true; 
   </TMPL_IF>
   <TMPL_IF fileset>
      ok=1;
        }
      }
   </TMPL_IF>
-</script>
\ No newline at end of file
+</script>