3 <h1 class='newstitle'>Pools</h1>
6 <form action='?' method='get'>
7 <table id='id<TMPL_VAR ID>'></table>
8 <button class='formulaire' type='submit' name='action' value='media' title='Show content'>
9 <img src='/bweb/zoom.png'>
13 Tips: To modify pool properties, you have to edit your bacula configuration
14 and reload it. After, you have to run "update pool=mypool" on bconsole.
17 <script language="JavaScript">
19 var header = new Array("Name","Recycle","Retention","Use Duration",
20 "Max job per volume","Max file per volume",
21 "Max volume size","Nb volumes", "Usage", "Select");
23 var data = new Array();
29 d = document.createElement('DIV');
31 img = percent_display(d, [
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>';
52 "<TMPL_VAR VolRetention>",
53 "<TMPL_VAR VolUseDuration>",
54 "<TMPL_VAR MaxVolJobs>",
55 "<TMPL_VAR MaxVolFiles>",
56 "<TMPL_VAR MaxVolBytes>",
66 table_name: "id<TMPL_VAR ID>",
75 // natural_compare: false,
76 even_cell_color: even_cell_color,
77 odd_cell_color: odd_cell_color,
78 header_color: header_color,
81 // disable_sorting: new Array(5,6),
82 rows_per_page: rows_per_page