]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/scheduled_job.tpl
bacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size
[bacula/bacula] / gui / bweb / tpl / scheduled_job.tpl
index aa7d3a3f35514f19178253c335044828b1375854..ed8f5b79628974127fcf3f6b10131517f022db0e 100644 (file)
@@ -3,13 +3,17 @@
   <h1 class='newstitle'> <TMPL_IF title><TMPL_VAR title><TMPL_ELSE>__Next Jobs__ </TMPL_IF></h1>
  </div>
  <div class='bodydiv'>
-    <form name='form1' action='<TMPL_VAR cginame>?' method='GET'>
+    <form name='form1' action='?' method='GET'>
      <table id='id<TMPL_VAR ID>'></table>
      <button type="submit" class="bp" name='action' title='__Run now__' value='run_job_mod'>
        <img src='/bweb/R.png' alt=''>  __Run now__ </button>
       <button type="submit" class="bp" name='action' title='__Disable__' value='disable_job'>
        <img src='/bweb/inflag0.png' alt=''> __Disable__ </button>
        <button type="submit" onsubmit='document.form1.level.value="all"' class="bp" name='action' value='job' title='__view__ <TMPL_VAR Client> __jobs__'><img src='/bweb/zoom.png'>__View jobs__</button>
+<TMPL_IF missing_mode>
+      <button type="submit" class="bp" name='action' title='__Mark this job as canceled in job history__' value='cancel_future_job'>
+       <img src='/bweb/f.png' alt=''> __Mark it as canceled__ </button>
+</TMPL_IF>
 <TMPL_IF wiki_url>
        <a id='wiki' href="<TMPL_VAR wiki_url>" title='__View doc__'><img src='/bweb/doc.png' alt='__View doc__'></a>__View doc__
 </TMPL_IF>
@@ -17,6 +21,7 @@
      <input type='hidden' name='level' value=''>
      <input type='hidden' name='media' value=''>
      <input type='hidden' name='client' value=''>
+     <input type='hidden' name='when' value=''>
     </form>
  </div>
 
@@ -45,6 +50,7 @@ chkbox.onclick = function() {
  document.form1.pool.value = '<TMPL_VAR pool>';
  document.form1.media.value = '<TMPL_VAR volume>';
  document.form1.client.value = '<TMPL_VAR client>';
+ document.form1.when.value = '<TMPL_VAR date>';
  if (wiki_url) {
    document.getElementById('wiki').href=wiki_url + '<TMPL_VAR client>';
  }