3 <h1 class='newstitle'> Media : <TMPL_VAR volumename></h1>
6 <b> Media Infos</b><br/>
7 <table id='id_info_<TMPL_VAR volumename>'></table>
8 <b> Media Stats</b><br/>
9 <table id='id_media_<TMPL_VAR volumename>'></table>
10 <b> Job List </b></br>
11 <table id='id_jobs_<TMPL_VAR volumename>'></table>
13 <form action='?' method='get'>
14 <input type='hidden' name='media' value='<TMPL_VAR volumename>'>
16 <button class='formulaire' type='submit' name='action' value='extern' title='move out'><img src='/bweb/extern.png'></button>
18 <button class='formulaire' type='submit' name='action' value='intern' title='move in'><img src='/bweb/intern.png'></button>
20 <button class='formulaire' type='submit' name='action' value='update_media' title='Update'><img src='/bweb/edit.png'></button>
21 <button class='formulaire' type='submit' name='action' value='purge' title='Purge'><img src='/bweb/purge.png'></button>
22 <button class='formulaire' type='submit' name='action' value='prune' title='Prune'><img src='/bweb/prune.png'></button>
28 <script language="JavaScript">
30 var header = new Array("Pool","Online","Location","Vol Status", "Vol Bytes", "Expire",
31 "Retention","Max use duration", "Max jobs" );
33 var data = new Array();
36 img = document.createElement('IMG');
37 img.src = '/bweb/inflag<TMPL_VAR online>.png';
40 "<TMPL_VAR poolname>",
42 "<TMPL_VAR location>",
43 "<TMPL_VAR volstatus>",
44 "<TMPL_VAR nb_bytes>",
46 "<TMPL_VAR volretention>",
47 "<TMPL_VAR voluseduration>",
48 "<TMPL_VAR maxvoljobs>"
54 table_name: "id_info_<TMPL_VAR volumename>",
63 header_color: header_color,
65 disable_sorting: new Array(1)
69 var header = new Array( "Vol Mounts", "Read time", "Write time", "Read Bytes", "Write Bytes", "Errors");
71 var data = new Array();
73 "<TMPL_VAR nb_mounts>",
74 "<TMPL_VAR volreadtime>",
75 "<TMPL_VAR volwritetime>",
77 "<TMPL_VAR nb_errors>"
83 table_name: "id_media_<TMPL_VAR volumename>",
92 header_color: header_color,
93 // disable_sorting: new Array()
99 var header = new Array("JobId","Name","Start Time","Type",
100 "Level", "Files", "Bytes", "Status");
102 var data = new Array();
107 a = document.createElement('A');
108 a.href='?action=job_zoom;jobid=<TMPL_VAR JobId>';
110 img = document.createElement("IMG");
111 img.src="/bweb/<TMPL_VAR status>.png";
112 img.title=jobstatus['<TMPL_VAR status>'];
116 data.push( new Array(
119 "<TMPL_VAR starttime>",
131 table_name: "id_jobs_<TMPL_VAR volumename>",
132 table_header: header,
135 down_icon: down_icon,
136 prev_icon: prev_icon,
137 next_icon: next_icon,
140 // natural_compare: false,
141 even_cell_color: even_cell_color,
142 odd_cell_color: odd_cell_color,
143 header_color: header_color,
146 // disable_sorting: new Array(5,6),
147 rows_per_page: rows_per_page