3 <h1 class='newstitle'> Running Jobs </h1>
6 <form action='?' method='GET'>
7 <table id='id<TMPL_VAR NAME=ID>'></table>
10 <input type='image' name='action' value='dsp_cur_job'
11 title='View job' src='/bweb/zoom.png'>
14 <input type="image" type='submit' name='action' value='cancel_job'
15 onclick="return confirm('Do you want to cancel the selected job?')"
16 title='Cancel job' src='/bweb/cancel.png'>
22 <script type="text/javascript" language="JavaScript">
23 var header = new Array("JobId",
35 var data = new Array();
40 a = document.createElement('A');
41 a.href='?action=dsp_cur_job;jobid=<TMPL_VAR JobId>';
43 img = document.createElement("IMG");
44 img.src = '/bweb/<TMPL_VAR NAME=JobStatus>.png';
45 img.title = jobstatus['<TMPL_VAR NAME=JobStatus>'];
49 chkbox = document.createElement('INPUT');
50 chkbox.type = 'radio';
51 chkbox.name = 'jobid';
52 chkbox.value = '<TMPL_VAR NAME=jobid>';
55 "<TMPL_VAR NAME=JobId>",
56 "<TMPL_VAR NAME=ClientName>",
57 "<TMPL_VAR NAME=JobName>",
58 joblevel['<TMPL_VAR NAME=Level>'],
59 "<TMPL_VAR NAME=StartTime>",
60 "<TMPL_VAR NAME=duration>",
61 //"<TMPL_VAR NAME=JobFiles>",
62 //"<TMPL_VAR NAME=JobBytes>",
71 table_name: "id<TMPL_VAR NAME=ID>",
80 // natural_compare: true,
81 even_cell_color: even_cell_color,
82 odd_cell_color: odd_cell_color,
83 header_color: header_color,
85 rows_per_page: rows_per_page,
86 // disable_sorting: new Array(6)
91 // get newest backup first
92 nrsTables['id<TMPL_VAR NAME=ID>'].fieldSort(0);