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>
40 <b> __Drives:__ </b><br/>
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__",
53 "__Vol Bytes__","__Vol Status__",
54 "__Media Type__","__Pool Name__","__Last Written__",
55 "__When expire ?__", "__Select__");
57 var data = new Array();
61 chkbox = document.createElement('INPUT');
62 chkbox.type = 'checkbox';
64 chkbox.value = '<TMPL_VAR realslot>';
67 "<TMPL_VAR realslot>",
69 "<TMPL_VAR volumename>",
70 human_size(<TMPL_VAR volbytes>),
71 "<TMPL_VAR volstatus>",
72 "<TMPL_VAR mediatype>",
74 "<TMPL_VAR lastwritten>",
92 // natural_compare: false,
93 even_cell_color: even_cell_color,
94 odd_cell_color: odd_cell_color,
95 header_color: header_color,
97 // rows_per_page: rows_per_page,
98 // disable_sorting: new Array(5,6)
103 var header = new Array("__Index__", "__Drive Name__",
104 "__Volume Name__", "__Select__");
106 var data = new Array();
110 chkbox = document.createElement('INPUT');
111 chkbox.type = 'checkbox';
112 chkbox.name = 'drive';
113 chkbox.value = '<TMPL_VAR index>';
115 data.push( new Array(
126 table_name: "id_drive",
127 table_header: header,
130 down_icon: down_icon,
131 prev_icon: prev_icon,
132 next_icon: next_icon,
135 // natural_compare: false,
136 even_cell_color: even_cell_color,
137 odd_cell_color: odd_cell_color,
138 header_color: header_color,
140 // rows_per_page: rows_per_page,
141 // disable_sorting: new Array(5,6),