]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/running_job.tpl
Spelling updates
[bacula/bacula] / gui / bweb / tpl / running_job.tpl
index 451fd402c8d3abe821abb0e1046d9b69f08e5208..cf3655d66d258ed87107d06ecb38d6ba322b3119 100644 (file)
@@ -6,30 +6,31 @@
    <form action='?' method='GET'>
    <table id='id<TMPL_VAR NAME=ID>'></table>
    <br/>
-<button type='submit' name='action' value='cancel_job'
-        class='formulaire'
-        title='Cancel job'><img src='/bweb/cancel.png'>
-</button>
-<button type='submit' name='action' value='dsp_cur_job' 
-        class='formulaire'
-        title='View job'><img src='/bweb/zoom.png'>
-</button>
+<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>
 
  </div>
 
-<script language="JavaScript">
+<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;