3 <h1 class='newstitle'>Pools</h1>
6 <form action='?' method='get'>
7 <table id='id<TMPL_VAR ID>'></table>
8 <input type="image" type='submit' name='action' value='media' title='Show content' src='/bweb/zoom.png'>
10 <input type='hidden' name='mediatype' value=<TMPL_VAR name>>
14 Tips: To modify pool properties, you have to edit your Bacula configuration
15 and reload it. After, you have to run "update pool=mypool" with bconsole.
18 <script type="text/javascript" language="JavaScript">
20 var header = new Array("Name","Recycle","Retention","Use Duration",
21 "Max jobs per volume","Max files per volume",
22 "Max volume size","Nb volumes", "Vol Status", "Usage", "Select");
24 var data = new Array();
31 img = percent_display([
32 <TMPL_IF nb_recycle>{ name: "Recycle", nb: <TMPL_VAR nb_recycle> },</TMPL_IF>
33 <TMPL_IF nb_purged> { name: "Purged", nb: <TMPL_VAR nb_purged> },</TMPL_IF>
34 <TMPL_IF nb_append> { name: "Append", nb: <TMPL_VAR nb_append> },</TMPL_IF>
35 <TMPL_IF nb_full> { name: "Full", nb: <TMPL_VAR nb_full> }, </TMPL_IF>
36 <TMPL_IF nb_disabled> { name: "Disabled", nb: <TMPL_VAR nb_disabled> }, </TMPL_IF>
37 <TMPL_IF nb_error> { name: "Error", nb: <TMPL_VAR nb_error> }, </TMPL_IF>
38 <TMPL_IF nb_archive>{ name: "Archive", nb: <TMPL_VAR nb_archive> },</TMPL_IF>
39 <TMPL_IF nb_used> { name: "Used", nb: <TMPL_VAR nb_used> }, </TMPL_IF>
40 <TMPL_IF NAME='nb_read-only'> { name: "Read-Only", nb: <TMPL_VAR NAME='nb_read-only'> }, </TMPL_IF>
44 chkbox = document.createElement('INPUT');
45 chkbox.type = 'radio';
46 chkbox.value = '<TMPL_VAR Name>';
49 img2 = percent_usage(<TMPL_VAR poolusage>);
54 human_sec(<TMPL_VAR VolRetention>),
55 human_sec(<TMPL_VAR VolUseDuration>),
56 "<TMPL_VAR MaxVolJobs>",
57 "<TMPL_VAR MaxVolFiles>",
58 human_size(<TMPL_VAR MaxVolBytes>),
69 table_name: "id<TMPL_VAR ID>",
78 // natural_compare: false,
79 even_cell_color: even_cell_color,
80 odd_cell_color: odd_cell_color,
81 header_color: header_color,
84 // disable_sorting: new Array(5,6),
85 rows_per_page: rows_per_page