]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/running_job.tpl
Spelling updates
[bacula/bacula] / gui / bweb / tpl / running_job.tpl
index c3121c57f0c4b17be5d03235ec9f32397fdd7f8c..cf3655d66d258ed87107d06ecb38d6ba322b3119 100644 (file)
@@ -7,12 +7,13 @@
    <table id='id<TMPL_VAR NAME=ID>'></table>
    <br/>
 <label>
-<input type="image" type='submit' name='action' value='cancel_job'
- title='Cancel job' src='/bweb/cancel.png'>
-</label>
-<label>
 <input type='image' name='action' value='dsp_cur_job' 
  title='View job' src='/bweb/zoom.png'>
+</label>
+<label>
+<input type="image" type='submit' name='action' value='cancel_job'
+ onclick="return confirm('Do you want to cancel the selected job?')"
+ title='Cancel job' src='/bweb/cancel.png'>
 </label>
    </form>
 
 
 <script type="text/javascript" language="JavaScript">
 var header = new Array("JobId",
-                      "Client",
-                      "Job Name", 
+                       "Client",
+                       "Job Name", 
                        "Level",
                        "Start Time", 
                        "Duration", 
 //                       "Job Files",
 //                       "Job Bytes", 
-                      "Status",
-                      "Select"
-       );
+                       "Status",
+                       "Select"
+        );
 
 var data = new Array();
 var chkbox;