4 <h1 class='newstitle'> Media : <TMPL_VAR volumename> <TMPL_VAR comment></h1>
7 <b> Informations </b><br/>
8 <table id='id_info_<TMPL_VAR volumename>'></table>
9 <b> Statistiques </b><br/>
10 <table id='id_media_<TMPL_VAR volumename>'></table>
12 <table id='id_jobs_<TMPL_VAR volumename>'></table>
14 <form action='?' method='get'>
15 <input type='hidden' name='media' value='<TMPL_VAR volumename>'>
16 <TMPL_IF online>
17 <input type="image" name='action' value='extern' onclick='return confirm("Voulez vous vraiment éjecter ce média ?");' title='Externaliser' src='/bweb/extern.png'>
19 <input type="image" name='action' value='intern' title='Internaliser' src='/bweb/intern.png'>
21 <input type="image" name='action' value='update_media' title='Mettre à jour' src='/bweb/edit.png'>
22 <input type="image" name='action' value='purge' title='Purger' src='/bweb/purge.png' onclick="return confirm('Vous voulez vraiment purger ce volume ?')">
23 <input type="image" name='action' value='prune' title='Prune' src='/bweb/prune.png'>
25 <a href='#' onclick='document.getElementById("locationlog").style.visibility="visible";'><img title='Voir les déplacements' src='/bweb/zoom.png'></a>
30 <td valign='top'style="visibility:hidden;" id='locationlog'>
31 <div class='titlediv'>
32 <h1 class='newstitle'> Log sur les déplacements </h1>
36 <TMPL_VAR LocationLog>
41 <script type="text/javascript" language="JavaScript">
43 var header = new Array("Pool","En ligne","Localisation","Statut", "Taille", "Expiration",
44 "Rétention","Temps maxi d'utilisation", "Nb de job maxi" );
46 var data = new Array();
49 img = document.createElement('IMG');
50 img.src = '/bweb/inflag<TMPL_VAR online>.png';
53 "<TMPL_VAR poolname>",
55 "<TMPL_VAR location>",
56 "<TMPL_VAR volstatus>",
57 human_size(<TMPL_VAR nb_bytes>),
59 human_sec(<TMPL_VAR volretention>),
60 human_sec(<TMPL_VAR voluseduration>),
61 "<TMPL_VAR maxvoljobs>"
67 table_name: "id_info_<TMPL_VAR volumename>",
76 header_color: header_color,
78 disable_sorting: new Array(1)
82 var header = new Array( "Nb montages", "Nb recyclages", "Temps de lecture", "Temps d'écriture", "Erreurs");
84 var data = new Array();
86 "<TMPL_VAR nb_mounts>",
87 "<TMPL_VAR recyclecount>",
88 human_sec(<TMPL_VAR volreadtime>),
89 human_sec(<TMPL_VAR volwritetime>),
90 "<TMPL_VAR nb_errors>"
96 table_name: "id_media_<TMPL_VAR volumename>",
100 prev_icon: prev_icon,
101 next_icon: next_icon,
105 header_color: header_color,
106 // disable_sorting: new Array()
112 var header = new Array("JobId","Nom","Début","Type",
113 "Niveau", "Nb Fichiers", "Taille", "Statut");
115 var data = new Array();
120 a = document.createElement('A');
121 a.href='?action=job_zoom;jobid=<TMPL_VAR JobId>';
123 img = document.createElement("IMG");
124 img.src="/bweb/<TMPL_VAR status>.png";
125 img.title=jobstatus['<TMPL_VAR status>'];
129 data.push( new Array(
132 "<TMPL_VAR starttime>",
136 human_size(<TMPL_VAR bytes>),
144 table_name: "id_jobs_<TMPL_VAR volumename>",
145 table_header: header,
148 down_icon: down_icon,
149 prev_icon: prev_icon,
150 next_icon: next_icon,
153 // natural_compare: false,
154 even_cell_color: even_cell_color,
155 odd_cell_color: odd_cell_color,
156 header_color: header_color,
159 // disable_sorting: new Array(5,6),
160 rows_per_page: rows_per_page