4 Autochanger : <TMPL_VAR Name> (<TMPL_VAR nb_drive> Drives
5 <TMPL_IF nb_io><TMPL_VAR nb_io> IMPORT/EXPORT</TMPL_IF>)</h1>
8 <form action='?' method='get'>
9 <input type='hidden' name='ach' value='<TMPL_VAR name>'>
11 <font color='red'> You must run update slot, Autochanger status is different from bacula slots </font>
17 <div class='otherboxtitle'>
20 <div class='otherbox'>
21 <button type="submit" class="bp" name='action' value='label_barcodes'
22 title='run label barcodes'><img src='/bweb/label.png' alt=''>Label</button>
24 <button type="submit" class="bp" name='action' value='eject'
25 title='put selected media on i/o'><img src='/bweb/extern.png' alt=''>Eject</button>
26 <button type="submit" class="bp" name='action' value='clear_io'
27 title='Clear i/o'> <img src='/bweb/intern.png' alt=''>Clear I/O</button>
29 <button type="submit" class="bp" name='action' value='update_slots'
30 title='run update slots'> <img src='/bweb/update.png' alt=''>Update</button>
32 <button type="submit" class="bp" name='action' value='ach_load'
33 title='mount drive'> <img src='/bweb/load.png' alt=''>Mount</button>
34 <button type="submit" class="bp" name='action' value='ach_unload'
35 title='umount drive'> <img src='/bweb/unload.png' alt=''>Umount</button>
41 <table id='id_drive'></table> <br/>
45 <b> Content: </b><br/>
46 <table id='id_ach'></table>
50 <script type="text/javascript" language="JavaScript">
52 var header = new Array("Real Slot", "Slot", "Volume Name","Vol Bytes","Vol Status",
53 "Media Type","Pool Name","Last Written",
54 "When expire ?", "Select");
56 var data = new Array();
60 chkbox = document.createElement('INPUT');
61 chkbox.type = 'checkbox';
63 chkbox.value = '<TMPL_VAR realslot>';
66 "<TMPL_VAR realslot>",
68 "<TMPL_VAR volumename>",
69 human_size(<TMPL_VAR volbytes>),
70 "<TMPL_VAR volstatus>",
71 "<TMPL_VAR mediatype>",
73 "<TMPL_VAR lastwritten>",
91 // natural_compare: false,
92 even_cell_color: even_cell_color,
93 odd_cell_color: odd_cell_color,
94 header_color: header_color,
96 // rows_per_page: rows_per_page,
97 // disable_sorting: new Array(5,6)
102 var header = new Array("Index", "Drive Name", "Volume Name", "Select");
104 var data = new Array();
108 chkbox = document.createElement('INPUT');
109 chkbox.type = 'checkbox';
110 chkbox.name = 'drive';
111 chkbox.value = '<TMPL_VAR index>';
113 data.push( new Array(
124 table_name: "id_drive",
125 table_header: header,
128 down_icon: down_icon,
129 prev_icon: prev_icon,
130 next_icon: next_icon,
133 // natural_compare: false,
134 even_cell_color: even_cell_color,
135 odd_cell_color: odd_cell_color,
136 header_color: header_color,
138 // rows_per_page: rows_per_page,
139 // disable_sorting: new Array(5,6),