]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/help_intern_compute.tpl
ebl release file on sf
[bacula/bacula] / gui / bweb / lang / fr / tpl / help_intern_compute.tpl
1 <br/>
2  <div class='titlediv'>
3   <h1 class='newstitle'> Assistant d'internalisation de médias (partie 2/2)</h1>
4  </div>
5  <div class='bodydiv'>
6   Maintenant vous devez vérifier la sélection et charger les médias.
7
8    <form action='?' method='get'>
9     <table id='compute'></table>
10     <table><tr>
11     <td style='align: left;'>
12     <input type="image" onclick='javascript:window.history.go(-2);' title='Précédent' src='/bweb/prev.png'>
13     </td><td style='align: right;'>
14     <input type="image" name='action' value='move_media'
15      src='/bweb/intern.png'>
16    </td></tr>
17    </form>
18  </div>
19
20 <script type="text/javascript" language="JavaScript">
21
22 var header = new Array("Nom de volume","Statut",
23                        "Type de media","Pool","Dernière écriture", 
24                        "Expiration", "Sélection");
25
26 var data = new Array();
27 var chkbox;
28
29 <TMPL_LOOP NAME=Medias>
30 chkbox = document.createElement('INPUT');
31 chkbox.type  = 'checkbox';
32 chkbox.name = 'media';
33 chkbox.value= '<TMPL_VAR NAME=volumename>';
34 chkbox.checked = 'on';
35
36 data.push( new Array(
37 "<TMPL_VAR NAME=volumename>",
38 "<TMPL_VAR NAME=volstatus>",
39 "<TMPL_VAR NAME=mediatype>",
40 "<TMPL_VAR NAME=name>",
41 "<TMPL_VAR NAME=lastwritten>",
42 "<TMPL_VAR NAME=expire>",
43 chkbox
44  )
45 );
46 </TMPL_LOOP>
47
48 nrsTable.setup(
49 {
50  table_name:     "compute",
51  table_header: header,
52  table_data: data,
53  up_icon: up_icon,
54  down_icon: down_icon,
55  prev_icon: prev_icon,
56  next_icon: next_icon,
57  rew_icon:  rew_icon,
58  fwd_icon:  fwd_icon,
59 // natural_compare: false,
60  even_cell_color: even_cell_color,
61  odd_cell_color: odd_cell_color, 
62  header_color: header_color,
63  page_nav: true,
64  padding: 3,
65 // disable_sorting: new Array(5,6)
66  rows_per_page: rows_per_page
67 }
68 );
69 </script>