3 <h1 class='newstitle'>__Pools__</h1>
6 <form action='?' method='get'>
7 <table id='id<TMPL_VAR ID>'></table>
8 <button type="submit" class="bp" type='submit' name='action' value='media' title='__Show content__'> <img src='/bweb/zoom.png' alt=''>__View__</button>
9 <input id="mediatype" type='hidden' name='mediatype' value=''>
12 __Tips: To modify pool properties, you have to edit your Bacula configuration and reload it. After, you have to run "update pool=mypool" with bconsole.__
15 <script type="text/javascript" language="JavaScript">
17 var header = new Array("__Name__","__Media Type__", "__Recycle__","__Retention__","__Use Duration__",
18 "__Max jobs per volume__","__Max files per volume__",
19 "__Max volume size__","__Nb volumes__", "__Vol Status__", "__Usage__", "__Select__");
21 var data = new Array();
28 img = percent_display([
29 <TMPL_IF nb_recycle>{ name: "Recycle", nb: <TMPL_VAR nb_recycle> },</TMPL_IF>
30 <TMPL_IF nb_purged> { name: "Purged", nb: <TMPL_VAR nb_purged> },</TMPL_IF>
31 <TMPL_IF nb_append> { name: "Append", nb: <TMPL_VAR nb_append> },</TMPL_IF>
32 <TMPL_IF nb_full> { name: "Full", nb: <TMPL_VAR nb_full> }, </TMPL_IF>
33 <TMPL_IF nb_disabled> { name: "Disabled", nb: <TMPL_VAR nb_disabled> }, </TMPL_IF>
34 <TMPL_IF nb_error> { name: "Error", nb: <TMPL_VAR nb_error> }, </TMPL_IF>
35 <TMPL_IF nb_archive>{ name: "Archive", nb: <TMPL_VAR nb_archive> },</TMPL_IF>
36 <TMPL_IF nb_used> { name: "Used", nb: <TMPL_VAR nb_used> }, </TMPL_IF>
37 <TMPL_IF NAME='nb_read-only'> { name: "Read-Only", nb: <TMPL_VAR NAME='nb_read-only'> }, </TMPL_IF>
41 chkbox = document.createElement('INPUT');
42 chkbox.type = 'radio';
43 chkbox.value = '<TMPL_VAR Name>';
45 chkbox.setAttribute('onclick','document.getElementById("mediatype").value="<TMPL_VAR mediatype>";');
47 img2 = percent_usage(<TMPL_VAR poolusage>);
51 "<TMPL_VAR mediatype>",
53 human_sec(<TMPL_VAR VolRetention>),
54 human_sec(<TMPL_VAR VolUseDuration>),
55 "<TMPL_VAR MaxVolJobs>",
56 "<TMPL_VAR MaxVolFiles>",
57 human_size(<TMPL_VAR MaxVolBytes>),
68 table_name: "id<TMPL_VAR ID>",
77 // natural_compare: false,
78 even_cell_color: even_cell_color,
79 odd_cell_color: odd_cell_color,
80 header_color: header_color,
83 // disable_sorting: new Array(5,6),
84 rows_per_page: rows_per_page