]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/es/tpl/run_job_mod.tpl
ebl release file on sf
[bacula/bacula] / gui / bweb / lang / es / tpl / run_job_mod.tpl
1 <br/>
2  <div class='titlediv'>
3   <h1 class='newstitle'> Ejecutar Job : <TMPL_VAR job> on <TMPL_VAR client></h1>
4  </div>
5  <div class='bodydiv'>
6   <form name='form1' action='?' method='GET'>  
7   <table border='0'>
8
9    <tr><td>Nombre del Job: </td><td>
10    <select name='job'>
11     <TMPL_LOOP jobs>
12      <option value='<TMPL_VAR name>'>
13        <TMPL_VAR name>
14      </option>
15     </TMPL_LOOP>
16    </select>
17    </td></tr><tr><td>Pool: </td><td>
18
19    <select name='pool'> 
20      <option value=''></option>
21     <TMPL_LOOP pools>
22      <option value='<TMPL_VAR name>'>
23        <TMPL_VAR name>
24      </option>
25     </TMPL_LOOP>
26    </select>
27    </td></tr><tr><td>Cliente: </td><td>
28
29    <select name='client'>
30     <TMPL_LOOP clients>
31      <option value='<TMPL_VAR name>'>
32        <TMPL_VAR name>
33      </option>
34     </TMPL_LOOP>
35    </select>
36
37    </td></tr><tr><td>FileSet: </td><td>
38    <select name='fileset'>
39     <TMPL_LOOP filesets>
40      <option value='<TMPL_VAR name>'>
41        <TMPL_VAR name>
42      </option>
43     </TMPL_LOOP>
44    </select>
45
46    </td></tr><tr><td>Almacenamiento: </td><td>
47    <select name='storage'>
48     <TMPL_LOOP storages>
49      <option value='<TMPL_VAR name>'>
50        <TMPL_VAR name>
51      </option>
52     </TMPL_LOOP>
53    </select>
54
55    </td></tr><tr><td>Nivel: </td><td>
56    <select name='level'>
57      <option id='level_Incremental' value='Incremental'>Incremental</option>
58      <option id='level_Full' value='Full'>Completo</option>
59      <option id='level_Differential' value='Differential'>Diferencial</option>
60    </select>
61
62    </td></tr><tr id='more1' style="visibility:hidden"><td>Hora Inicio: </td><td>
63    <input class='formulaire' 
64           type='text' title='YYYY-MM-DD HH:MM:SS'
65           size='17' name='when' value='<TMPL_VAR when>'>
66
67    </td></tr><tr id='more2' style="visibility:hidden"><td>Prioridad: </td><td>
68    <input class='formulaire' type='text' 
69           size='3' name='priority' value='<TMPL_VAR priority>'>
70
71    </td></tr>
72    </table>
73    <br/>
74   <label onclick='
75            document.getElementById("more1").style.visibility="visible";
76            document.getElementById("more2").style.visibility="visible";'>
77   <img title='Muestra más opciones' src='/bweb/add.png'>Más opciones</label>
78   <label>
79   <input type="image" name='action' value='run_job_now' title='Ejecutar job'
80    src='/bweb/R.png'>Ejecutar Ahora
81   </label>
82   <label>
83   <input type="image" name='action' value='fileset_view' title='Ver FileSet'
84    src='/bweb/zoom.png'>Ver FileSet
85   </label>
86   </form>
87  </div>
88
89 <script type="text/javascript" language="JavaScript">
90   <TMPL_IF job>
91      ok=1;
92      for(var i=0; ok && i < document.form1.job.length; i++) {
93         if (document.form1.job[i].value == '<TMPL_VAR job>') {
94             document.form1.job[i].selected=true;
95             ok=0;
96         }
97      }
98   </TMPL_IF>
99   <TMPL_IF client>
100      ok=1;
101      for(var i=0; ok && i < document.form1.client.length; i++) {
102         if (document.form1.client[i].value == '<TMPL_VAR client>') {
103             document.form1.client[i].selected=true;
104             ok=0;
105         }
106      }
107   </TMPL_IF>
108   <TMPL_IF pool>
109      ok=1;
110      for(var i=0; ok && i < document.form1.pool.length; i++) {
111         if (document.form1.pool[i].value == '<TMPL_VAR pool>') {
112             document.form1.pool[i].selected=true;
113             ok=0;
114         }
115      }
116   </TMPL_IF>
117   <TMPL_IF storage>
118      ok=1;
119      for(var i=0; ok && i < document.form1.storage.length; i++) {
120         if (document.form1.storage[i].value == '<TMPL_VAR storage>') {
121             document.form1.storage[i].selected=true;
122             ok=0;
123         }
124      }
125   </TMPL_IF>
126   <TMPL_IF level>
127 <!--     document.getElementById('level_<TMPL_VAR level>').selected=true; -->
128   </TMPL_IF>
129   <TMPL_IF fileset>
130      ok=1;
131      for(var i=0; ok && i < document.form1.fileset.length; i++) {
132         if (document.form1.fileset[i].value == '<TMPL_VAR fileset>') {
133             document.form1.fileset[i].selected=true;
134             ok=0;
135         }
136      }
137   </TMPL_IF>
138 </script>