]> git.sur5r.net Git - bacula/bacula/blob - gui/bweb/lang/es/tpl/run_job_mod.tpl
ebl cosmetic fix
[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 type='text' title='YYYY-MM-DD HH:MM:SS'
64           size='17' name='when' value='<TMPL_VAR when>'>
65
66    </td></tr><tr id='more2' style="visibility:hidden"><td>Prioridad: </td><td>
67    <input type='text' 
68           size='3' name='priority' value='<TMPL_VAR priority>'>
69
70    </td></tr>
71    </table>
72    <br/>
73   <label onclick='
74            document.getElementById("more1").style.visibility="visible";
75            document.getElementById("more2").style.visibility="visible";'>
76   <img title='Muestra más opciones' src='/bweb/add.png'>Más opciones</label>
77   <label>
78   <input type="image" name='action' value='run_job_now' title='Ejecutar job'
79    src='/bweb/R.png'>Ejecutar Ahora
80   </label>
81   <label>
82   <input type="image" name='action' value='fileset_view' title='Ver FileSet'
83    src='/bweb/zoom.png'>Ver FileSet
84   </label>
85   </form>
86  </div>
87
88 <script type="text/javascript" language="JavaScript">
89   <TMPL_IF job>
90      ok=1;
91      for(var i=0; ok && i < document.form1.job.length; i++) {
92         if (document.form1.job[i].value == '<TMPL_VAR job>') {
93             document.form1.job[i].selected=true;
94             ok=0;
95         }
96      }
97   </TMPL_IF>
98   <TMPL_IF client>
99      ok=1;
100      for(var i=0; ok && i < document.form1.client.length; i++) {
101         if (document.form1.client[i].value == '<TMPL_VAR client>') {
102             document.form1.client[i].selected=true;
103             ok=0;
104         }
105      }
106   </TMPL_IF>
107   <TMPL_IF pool>
108      ok=1;
109      for(var i=0; ok && i < document.form1.pool.length; i++) {
110         if (document.form1.pool[i].value == '<TMPL_VAR pool>') {
111             document.form1.pool[i].selected=true;
112             ok=0;
113         }
114      }
115   </TMPL_IF>
116   <TMPL_IF storage>
117      ok=1;
118      for(var i=0; ok && i < document.form1.storage.length; i++) {
119         if (document.form1.storage[i].value == '<TMPL_VAR storage>') {
120             document.form1.storage[i].selected=true;
121             ok=0;
122         }
123      }
124   </TMPL_IF>
125   <TMPL_IF level>
126      document.getElementById('level_<TMPL_VAR level>').selected=true;
127   </TMPL_IF>
128   <TMPL_IF fileset>
129      ok=1;
130      for(var i=0; ok && i < document.form1.fileset.length; i++) {
131         if (document.form1.fileset[i].value == '<TMPL_VAR fileset>') {
132             document.form1.fileset[i].selected=true;
133             ok=0;
134         }
135      }
136   </TMPL_IF>
137 </script>