]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/update_media.tpl
Merge in changes from trunk
[bacula/bacula] / gui / bweb / lang / fr / tpl / update_media.tpl
1 <br/>
2 <div class='titlediv'>
3  <h1 class='newstitle'> Modifier le media <TMPL_VAR volumename></h1>
4 </div>
5 <div class='bodydiv'>
6   <form name='form1' action="?" method='GET'>
7    <table>
8     <tr><td>Nom du volume :</td>
9         <td><input type='text' name='media' class='formulaire' value='<TMPL_VAR volumename>' title='Modifiez ce champs pour mettre à jour un autre média'>
10         </td>
11     </tr>
12     <tr><td>Pool :</td>
13         <td><select name='pool' class='formulaire'>
14 <TMPL_LOOP db_pools>
15              <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
16 </TMPL_LOOP>
17            </select>
18         </td>
19     </tr>
20     <tr><td>Statut :</td>
21         <td><select name='volstatus' class='formulaire'>
22            <option value='Append'>Append</option>
23            <option value='Archive'>Archive</option>
24            <option value='Disabled'>Disabled</option>
25            <option value='Cleaning'>Cleaning</option>
26            <option value='Error'>Error</option>
27            <option value='Full'>Full</option>
28            <option value='Read-Only'>Read-Only</option>
29            <option value='Used'>Used</option>
30            <option value='Recycle'>Recycle</option>
31            </select>
32         </td>
33     </tr>
34
35     <tr><td>Slot :</td>
36         <td> 
37           <input class='formulaire' type='text' 
38                  name='slot' value='<TMPL_VAR slot>'>
39         </td>
40     </tr>
41
42     <tr><td>En ligne :</td>
43         <td> 
44           <input class='formulaire' type='checkbox' 
45                name='inchanger' <TMPL_IF inchanger>checked</TMPL_IF>>
46         </td>
47     </tr>
48
49     <tr><td>Enabled :</td>
50         <td> <select name='enabled' class='formulaire'>
51            <option value='yes'>oui</option>
52            <option value='no'>non</option>
53            <option value='archived'>archive</option>
54            </select>
55         </td>
56     </tr>
57
58     <tr><td> Localisation : </td>
59         <td><select name='location' class='formulaire'>
60       <option value=''></option>
61   <TMPL_LOOP db_locations>
62       <option value='<TMPL_VAR location>'><TMPL_VAR location></option>
63   </TMPL_LOOP>
64     </select>
65         </td>
66     </tr>
67     <tr><td> Période de rétention : </td>
68         <td>
69           <input class='formulaire' type='text' title='ex: 3 days, 1 month'
70                name='volretention' value='<TMPL_VAR volretention>'>
71         </td>
72     </tr>
73     <tr><td> Durée d'utilisation : </td>
74         <td>
75           <input class='formulaire' type='text' title='ex: 3 days, 1 month'
76                name='voluseduration' value='<TMPL_VAR voluseduration>'>
77         </td>
78     </tr>
79     <tr><td> Nombre de jobs maxi : </td>
80         <td>
81           <input class='formulaire' type='text' title='ex: 10'
82                name='maxvoljobs' value='<TMPL_VAR maxvoljobs>'>
83         </td>
84     </tr>
85     <tr><td> Nombre de fichiers maxi : </td>
86         <td>
87           <input class='formulaire' type='text' title='ex: 10000'
88                name='maxvolfiles' value='<TMPL_VAR maxvolfiles>'>
89         </td>
90     </tr>
91     <tr><td> Taille maxi : </td>
92         <td>
93           <input class='formulaire' type='text' title='ex: 10M, 11G'
94                name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
95         </td>
96     </tr>
97     <tr><td>Pool de recyclage :</td>
98         <td><select name='poolrecycle' class='formulaire'>
99 <TMPL_LOOP db_pools>
100              <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
101 </TMPL_LOOP>
102            </select>
103         </td>
104     </tr>
105     <tr><td> Commentaire : </td>
106         <td>
107           <input class='formulaire' type='text' title='un commentaire'
108                name='comment' value='<TMPL_VAR comment>'>
109         </td>
110     </tr>
111     </table>
112 <table>
113  <td>
114  <label>
115   <input type="image" name='action' value='do_update_media' src='/bweb/apply.png'> Appliquer
116   </label>
117   <label>
118   <input type="image" name='action' title='Mettre à jour à partir du pool'
119     value='update_from_pool' src='/bweb/update.png'> Reinitialiser
120   </label>
121  </form>
122  </td>
123  <td>
124   <form action='?' method='GET'>
125    <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
126    <label>
127     <input type="image" name='action' value='media'
128      src='/bweb/zoom.png'>Voir le pool
129    </label>
130   </form>
131  </td>
132 </table>
133 </div>
134
135 <script type="text/javascript" language='JavaScript'>
136 var ok=1;
137 for (var i=0; ok && i < document.form1.pool.length; ++i) {
138    if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {
139       document.form1.pool[i].selected = true;
140       ok=0;
141    }
142 }
143 ok=1;
144 for (var i=0; ok && i < document.form1.poolrecycle.length; ++i) {
145    if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
146       document.form1.poolrecycle[i].selected = true;
147       ok=0;
148    }
149 }
150 ok=1;
151 for (var i=0; ok && i < document.form1.location.length; ++i) {
152    if (document.form1.location[i].value == '<TMPL_VAR location>') {
153       document.form1.location[i].selected = true;
154       ok=0;
155    }
156 }
157
158 ok=1;
159 for (var i=0; ok && i < document.form1.volstatus.length; ++i) {
160    if (document.form1.volstatus[i].value == '<TMPL_VAR volstatus>') {
161       document.form1.volstatus[i].selected = true;
162       ok=0;
163    }
164 }
165 ok=1;
166 for (var i=0; ok && i < document.form1.enabled.length; ++i) {
167    if (document.form1.enabled[i].value == '<TMPL_VAR enabled>') {
168       document.form1.enabled[i].selected = true;
169       ok=0;
170    }
171 }
172
173 </script>