]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/fr/tpl/update_media.tpl
a1a60eefb0e5cc9ea809c2ee50b44772c92358c1
[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            <option value='Purged'>Purged</option>
32            </select>
33         </td>
34     </tr>
35
36     <tr><td>Slot :</td>
37         <td> 
38           <input class='formulaire' type='text' 
39                  name='slot' value='<TMPL_VAR slot>'>
40         </td>
41     </tr>
42
43     <tr><td>En ligne :</td>
44         <td> 
45           <input class='formulaire' type='checkbox' 
46                name='inchanger' <TMPL_IF inchanger>checked</TMPL_IF>>
47         </td>
48     </tr>
49
50     <tr><td>En ligne :</td>
51         <td> <select name='enabled' class='formulaire'>
52            <option value='yes'>oui</option>
53            <option value='no'>non</option>
54            <option value='archived'>archivé</option>
55            </select>
56         </td>
57     </tr>
58
59     <tr><td> Localisation : </td>
60         <td><select name='location' class='formulaire'>
61         <option value=''></option>
62   <TMPL_LOOP db_locations>
63       <option value='<TMPL_VAR location>'><TMPL_VAR location></option>
64   </TMPL_LOOP>
65     </select>
66         </td>
67     </tr>
68     <tr><td> Période de rétention : </td>
69         <td>
70           <input class='formulaire' type='text' title='ex: 3 days, 1 month'
71                name='volretention' value='<TMPL_VAR volretention>'>
72         </td>
73     </tr>
74     <tr><td> Durée d'utilisation : </td>
75         <td>
76           <input class='formulaire' type='text' title='ex: 3 days, 1 month'
77                name='voluseduration' value='<TMPL_VAR voluseduration>'>
78         </td>
79     </tr>
80     <tr><td> Nombre de jobs maxi : </td>
81         <td>
82           <input class='formulaire' type='text' title='ex: 10'
83                name='maxvoljobs' value='<TMPL_VAR maxvoljobs>'>
84         </td>
85     </tr>
86     <tr><td> Nombre de fichiers maxi : </td>
87         <td>
88           <input class='formulaire' type='text' title='ex: 10000'
89                name='maxvolfiles' value='<TMPL_VAR maxvolfiles>'>
90         </td>
91     </tr>
92     <tr><td> Taille maxi : </td>
93         <td>
94           <input class='formulaire' type='text' title='ex: 10M, 11G'
95                name='maxvolbytes' value='<TMPL_VAR maxvolbytes>'>
96         </td>
97     </tr>
98     <tr><td>Pool de recyclage :</td>
99         <td><select name='poolrecycle' class='formulaire'>
100 <TMPL_LOOP db_pools>
101              <option value='<TMPL_VAR name>'><TMPL_VAR name></option>
102 </TMPL_LOOP>
103            </select>
104         </td>
105     </tr>
106     <tr><td> Commentaire : </td>
107         <td>
108           <input class='formulaire' type='text' title='un commentaire'
109                name='comment' value='<TMPL_VAR comment>'>
110         </td>
111     </tr>
112
113     </table>
114 <table>
115  <td>
116   <button type="submit" class="bp" name='action' value='do_update_media'> <img src='/bweb/apply.png' alt=''> Appliquer </button>
117   <button type="submit" class="bp" name='action' title='Mettre à jour à partir du pool'
118     value='update_from_pool'> <img src='/bweb/update.png' alt=''> Mettre à jour à partir du pool </button>
119  </form>
120  </td>
121  <td>
122   <form action='?' method='GET'>
123    <input type='hidden' name='pool' value='<TMPL_VAR poolname>'>
124     <button type="submit" class="bp" name='action' value='media'>
125      <img src='/bweb/zoom.png' alt=''>Voir le pool </button>
126   </form>
127  </td>
128 </table>
129 </div>
130
131 <script type="text/javascript" language='JavaScript'>
132 var ok=1;
133 for (var i=0; ok && i < document.form1.pool.length; ++i) {
134    if (document.form1.pool[i].value == '<TMPL_VAR poolname>') {
135       document.form1.pool[i].selected = true;
136       ok=0;
137    }
138 }
139
140 ok=1;
141 for (var i=0; ok && i < document.form1.pool.length; ++i) {
142    if (document.form1.poolrecycle[i].value == '<TMPL_VAR poolrecycle>') {
143       document.form1.poolrecycle[i].selected = true;
144       ok=0;
145    }
146 }
147
148 ok=1;
149 for (var i=0; ok && i < document.form1.location.length; ++i) {
150    if (document.form1.location[i].value == '<TMPL_VAR location>') {
151       document.form1.location[i].selected = true;
152       ok=0;
153    }
154 }
155
156 ok=1;
157 for (var i=0; ok && i < document.form1.volstatus.length; ++i) {
158    if (document.form1.volstatus[i].value == '<TMPL_VAR volstatus>') {
159       document.form1.volstatus[i].selected = true;
160       ok=0;
161    }
162 }
163 ok=1;
164 for (var i=0; ok && i < document.form1.enabled.length; ++i) {
165    if (document.form1.enabled[i].value == '<TMPL_VAR enabled>') {
166       document.form1.enabled[i].selected = true;
167       ok=0;
168    }
169 }
170
171 </script>