]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/tpl/client_edit.tpl
Renamed cleanup goto target into bail_out which is the prefered name from the develop...
[bacula/bacula] / gui / bweb / tpl / client_edit.tpl
1 <br/>
2  <div class='titlediv'>
3   <h1 class='newstitle'>Client <TMPL_VAR Name></h1>
4  </div>
5  <div class='bodydiv'>
6 <form name="client" action='?' method='GET'>
7      <input type='hidden' name='client' value=<TMPL_VAR qclient>>
8      <table id='id<TMPL_VAR ID>'></table>
9         <div class="otherboxtitle">
10           Actions &nbsp;
11         </div>
12         <div class="otherbox">
13        <button type="submit" class="bp" name='action' value='client_save' title="__Apply__"> <img src='/bweb/apply.png' alt=''>__Apply__</button>
14         </div>
15
16 </form>
17  </div>
18
19 <script type="text/javascript" language="JavaScript">
20 var header = new Array("__Group Name__", "__Description__", "__Selection__");
21
22 var data = new Array();
23 var chkbox ;
24
25 <TMPL_LOOP client_group>
26 chkbox = document.createElement('INPUT');
27 chkbox.type  = 'checkbox';
28 chkbox.name = 'client_group';
29 chkbox.value = '<TMPL_VAR client_group_name>';
30 chkbox.checked = <TMPL_IF here>1<TMPL_ELSE>0</TMPL_IF>;
31
32 data.push( 
33   new Array( "<TMPL_VAR client_group_name>", 
34              "<TMPL_VAR comment>",
35              chkbox
36               )
37 ) ; 
38 </TMPL_LOOP>
39
40 nrsTable.setup(
41 {
42  table_name:     "id<TMPL_VAR ID>",
43  table_header: header,
44  table_data: data,
45  up_icon: up_icon,
46  down_icon: down_icon,
47  prev_icon: prev_icon,
48  next_icon: next_icon,
49  rew_icon:  rew_icon,
50  fwd_icon:  fwd_icon,
51 // natural_compare: false,
52  even_cell_color: even_cell_color,
53  odd_cell_color: odd_cell_color, 
54  header_color: header_color,
55  page_nav: true,
56  rows_per_page: rows_per_page,
57  disable_sorting: new Array(1)
58 }
59 );
60 </script>