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>'>
15 <TMPL_IF online>
16 <input type="image" name='action' value='extern' title='move out' src='/bweb/extern.png'>
18 <input type="image" name='action' value='intern' title='move in' src='/bweb/intern.png'>
20 <input type="image" name='action' value='update_media' title='Update' src='/bweb/edit.png'>
21 <input type="image" name='action' value='purge' title='Purge' src='/bweb/purge.png'>
22 <input type="image" name='action' value='prune' title='Prune' src='/bweb/prune.png'>
28 <script type="text/javascript" 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", "Errors");
71 var data = new Array();
73 "<TMPL_VAR nb_mounts>",
74 "<TMPL_VAR volreadtime>",
75 "<TMPL_VAR volwritetime>",
76 "<TMPL_VAR nb_errors>"
82 table_name: "id_media_<TMPL_VAR volumename>",
91 header_color: header_color,
92 // disable_sorting: new Array()
98 var header = new Array("JobId","Name","Start Time","Type",
99 "Level", "Files", "Bytes", "Status");
101 var data = new Array();
106 a = document.createElement('A');
107 a.href='?action=job_zoom;jobid=<TMPL_VAR JobId>';
109 img = document.createElement("IMG");
110 img.src="/bweb/<TMPL_VAR status>.png";
111 img.title=jobstatus['<TMPL_VAR status>'];
115 data.push( new Array(
118 "<TMPL_VAR starttime>",
130 table_name: "id_jobs_<TMPL_VAR volumename>",
131 table_header: header,
134 down_icon: down_icon,
135 prev_icon: prev_icon,
136 next_icon: next_icon,
139 // natural_compare: false,
140 even_cell_color: even_cell_color,
141 odd_cell_color: odd_cell_color,
142 header_color: header_color,
145 // disable_sorting: new Array(5,6),
146 rows_per_page: rows_per_page