]> git.sur5r.net Git - bacula/bacula/blob - gui/baculum/protected/Web/Portlets/DirectiveSchedule.tpl
baculum: Add link to go back from job configuration window
[bacula/bacula] / gui / baculum / protected / Web / Portlets / DirectiveSchedule.tpl
1 <fieldset class="directive">
2         <legend><%[ Run ]%></legend>
3         <com:TPanel ID="DirectiveContainer">
4                 <com:Application.Web.Portlets.DirectiveComboBox
5                         ID="Level"
6                 />
7                 <com:Application.Web.Portlets.DirectiveComboBox
8                         ID="Pool"
9                 />
10                 <com:Application.Web.Portlets.DirectiveComboBox
11                         ID="Storage"
12                 />
13                 <com:Application.Web.Portlets.DirectiveComboBox
14                         ID="Messages"
15                 />
16                 <com:Application.Web.Portlets.DirectiveComboBox
17                         ID="NextPool"
18                 />
19                 <com:Application.Web.Portlets.DirectiveComboBox
20                         ID="FullPool"
21                 />
22                 <com:Application.Web.Portlets.DirectiveComboBox
23                         ID="DifferentialPool"
24                 />
25                 <com:Application.Web.Portlets.DirectiveComboBox
26                         ID="IncrementalPool"
27                 />
28                 <com:Application.Web.Portlets.DirectiveBoolean
29                         ID="Accurate"
30                 />
31                 <com:Application.Web.Portlets.DirectiveText
32                         ID="Priority"
33                 />
34                 <com:Application.Web.Portlets.DirectiveBoolean
35                         ID="SpoolData"
36                 />
37                 <com:Application.Web.Portlets.DirectiveBoolean
38                         ID="writepartafterjob"
39                 />
40                 <com:Application.Web.Portlets.DirectiveTimePeriod
41                         ID="MaxRunSchedTime"
42                 />
43         </com:TPanel>
44         <com:TRadioButton
45                 ID="MonthDisable"
46                 GroupName="Month"
47                 Attributes.onclick="$('.month<%=$this->MonthSingle->ClientID%>').hide();"
48                 Checked="true" />
49         <com:TLabel ForControl="MonthDisable" Text="<%[ Disabled ]%>" />
50         <com:TRadioButton
51                 ID="MonthSingle"
52                 GroupName="Month"
53                 Attributes.onclick="$('.month<%=$this->MonthSingle->ClientID%>').hide();$('#month<%=$this->MonthSingle->ClientID%>').show()" />
54         <com:TLabel ForControl="MonthSingle" Text="<%[ Single month ]%>" />
55         <com:TRadioButton
56                 ID="MonthRange"
57                 GroupName="Month"
58                 Attributes.onclick="$('.month<%=$this->MonthSingle->ClientID%>').hide();$('#month_range<%=$this->MonthSingle->ClientID%>').show()" />
59         <com:TLabel ForControl="MonthRange" Text="<%[ Month range ]%>" />
60         <div id="month<%=$this->MonthSingle->ClientID%>" class="month<%=$this->MonthSingle->ClientID%>" style="display: <%=$this->MonthSingle->Checked ? 'block' : 'none'%>">
61                 <com:Application.Web.Portlets.DirectiveComboBox
62                         ID="Month"
63                         Label="<%[ Month ]%>"
64                         InConfig="true"
65                         Show="true"
66                 />
67         </div>
68         <div id="month_range<%=$this->MonthSingle->ClientID%>" class="month<%=$this->MonthSingle->ClientID%>" style="display: <%=$this->MonthRange->Checked ? 'block' : 'none'%>">
69                 <com:Application.Web.Portlets.DirectiveComboBox
70                         ID="MonthRangeFrom"
71                         Label="<%[ From month ]%>"
72                         InConfig="true"
73                         Show="true"
74                 />
75                 <com:Application.Web.Portlets.DirectiveComboBox
76                         ID="MonthRangeTo"
77                         Label="<%[ To month ]%>"
78                         InConfig="true"
79                         Show="true"
80                 />
81         </div>
82         <hr />
83         <com:TRadioButton
84                 ID="WeekDisable"
85                 GroupName="Week"
86                 Attributes.onclick="$('.week<%=$this->WeekSingle->ClientID%>').hide();"
87                 Checked="true" />
88         <com:TLabel ForControl="WeekDisable" Text="<%[ Disabled ]%>" />
89         <com:TRadioButton
90                 ID="WeekSingle"
91                 GroupName="Week"
92                 Attributes.onclick="$('.week<%=$this->WeekSingle->ClientID%>').hide();$('#week<%=$this->WeekSingle->ClientID%>').show()" />
93         <com:TLabel ForControl="WeekSingle" Text="<%[ Single week ]%>" />
94         <com:TRadioButton
95                 ID="WeekRange"
96                 GroupName="Week"
97                 Attributes.onclick="$('.week<%=$this->WeekSingle->ClientID%>').hide();$('#week_range<%=$this->WeekSingle->ClientID%>').show()" />
98         <com:TLabel ForControl="WeekRange" Text="<%[ Week range ]%>" />
99         <div id="week<%=$this->WeekSingle->ClientID%>" class="week<%=$this->WeekSingle->ClientID%>" style="display: <%=$this->WeekSingle->Checked ? 'block' : 'none'%>">
100                 <com:Application.Web.Portlets.DirectiveComboBox
101                         ID="Week"
102                         Label="<%[ Week ]%>"
103                         InConfig="true"
104                         Show="true"
105                 />
106         </div>
107         <div id="week_range<%=$this->WeekSingle->ClientID%>" class="week<%=$this->WeekSingle->ClientID%>" style="display: <%=$this->WeekRange->Checked ? 'block' : 'none'%>">
108                 <com:Application.Web.Portlets.DirectiveComboBox
109                         ID="WeekRangeFrom"
110                         Label="<%[ From week ]%>"
111                         InConfig="true"
112                         Show="true"
113                 />
114                 <com:Application.Web.Portlets.DirectiveComboBox
115                         ID="WeekRangeTo"
116                         Label="<%[ To week ]%>"
117                         InConfig="true"
118                         Show="true"
119                 />
120         </div>
121
122         <hr />
123         <com:TRadioButton
124                 ID="DayDisable"
125                 GroupName="Day"
126                 Attributes.onclick="$('.day<%=$this->DaySingle->ClientID%>').hide();"
127                 Checked="true" />
128         <com:TLabel ForControl="DayDisable" Text="<%[ Disabled ]%>" />
129         <com:TRadioButton
130                 ID="DaySingle"
131                 GroupName="Day"
132                 Attributes.onclick="$('.day<%=$this->DaySingle->ClientID%>').hide();$('#day<%=$this->DaySingle->ClientID%>').show()" />
133         <com:TLabel ForControl="DaySingle" Text="<%[ Single day ]%>" />
134         <com:TRadioButton
135                 ID="DayRange"
136                 GroupName="Day"
137                 Attributes.onclick="$('.day<%=$this->DaySingle->ClientID%>').hide();$('#day_range<%=$this->DaySingle->ClientID%>').show()" />
138         <com:TLabel ForControl="DayRange" Text="<%[ Day range ]%>" />
139         <div id="day<%=$this->DaySingle->ClientID%>" class="day<%=$this->DaySingle->ClientID%>" style="display: <%=$this->DaySingle->Checked ? 'block' : 'none'%>">
140                 <com:Application.Web.Portlets.DirectiveComboBox
141                         ID="Day"
142                         Label="<%[ Day ]%>"
143                         InConfig="true"
144                         Show="true"
145                 />
146         </div>
147         <div id="day_range<%=$this->DaySingle->ClientID%>" class="day<%=$this->DaySingle->ClientID%>" style="display: <%=$this->DayRange->Checked ? 'block' : 'none'%>">
148                 <com:Application.Web.Portlets.DirectiveComboBox
149                         ID="DayRangeFrom"
150                         Label="<%[ From day ]%>"
151                         InConfig="true"
152                         Show="true"
153                 />
154                 <com:Application.Web.Portlets.DirectiveComboBox
155                         ID="DayRangeTo"
156                         Label="<%[ To day ]%>"
157                         InConfig="true"
158                         Show="true"
159                 />
160         </div>
161         <hr />
162         <com:TRadioButton
163                 ID="WdayDisable"
164                 GroupName="Wday"
165                 Attributes.onclick="$('.day<%=$this->WdaySingle->ClientID%>').hide();"
166                 Checked="true" />
167         <com:TLabel ForControl="WdayDisable" Text="<%[ Disabled ]%>" />
168         <com:TRadioButton
169                 ID="WdaySingle"
170                 GroupName="Wday"
171                 Attributes.onclick="$('.day<%=$this->WdaySingle->ClientID%>').hide();$('#day<%=$this->WdaySingle->ClientID%>').show()" />
172         <com:TLabel ForControl="WdaySingle" Text="<%[ Single day of week ]%>" />
173         <com:TRadioButton
174                 ID="WdayRange"
175                 GroupName="Wday"
176                 Attributes.onclick="$('.day<%=$this->WdaySingle->ClientID%>').hide();$('#day_range<%=$this->WdaySingle->ClientID%>').show()" />
177         <com:TLabel ForControl="WdayRange" Text="<%[ Day of week range ]%>" />
178         <div id="day<%=$this->WdaySingle->ClientID%>" class="day<%=$this->WdaySingle->ClientID%>" style="display: <%=$this->WdaySingle->Checked ? 'block' : 'none'%>">
179                 <com:Application.Web.Portlets.DirectiveComboBox
180                         ID="Wday"
181                         Label="<%[ Day of week ]%>"
182                         InConfig="true"
183                         Show="true"
184                 />
185         </div>
186         <div id="day_range<%=$this->WdaySingle->ClientID%>" class="day<%=$this->WdaySingle->ClientID%>" style="display: <%=$this->WdayRange->Checked ? 'block' : 'none'%>">
187                 <com:Application.Web.Portlets.DirectiveComboBox
188                         ID="WdayRangeFrom"
189                         Label="<%[ From day of week ]%>"
190                         InConfig="true"
191                         Show="true"
192                 />
193                 <com:Application.Web.Portlets.DirectiveComboBox
194                         ID="WdayRangeTo"
195                         Label="<%[ To day of week ]%>"
196                         InConfig="true"
197                         Show="true"
198                 />
199         </div>
200         <hr />
201         <com:TRadioButton
202                 ID="TimeDisable"
203                 GroupName="Time"
204                 Attributes.onclick="$('.day<%=$this->TimeAt->ClientID%>').hide();"
205                 Checked="true" />
206         <com:TLabel ForControl="TimeDisable" Text="<%[ Disabled ]%>" />
207         <com:TRadioButton
208                 ID="TimeAt"
209                 GroupName="Time"
210                 Attributes.onclick="$('.day<%=$this->TimeAt->ClientID%>').hide();$('#day<%=$this->TimeAt->ClientID%>').show()" />
211         <com:TLabel ForControl="TimeAt" Text="<%[ At HH:MM ]%>" />
212         <com:TRadioButton
213                 ID="TimeHourly"
214                 GroupName="Time"
215                 Attributes.onclick="$('.day<%=$this->TimeAt->ClientID%>').hide();$('#day_range<%=$this->TimeAt->ClientID%>').show()" />
216         <com:TLabel ForControl="TimeHourly" Text="<%[ Hourly at ]%>" />
217         <div id="day<%=$this->TimeAt->ClientID%>" class="day<%=$this->TimeAt->ClientID%>" style="display: <%=$this->TimeAt->Checked ? 'block' : 'none'%>">
218                 <com:Application.Web.Portlets.DirectiveText
219                         ID="TimeHourAt"
220                         Label="<%[ Hour ]%>"
221                         InConfig="true"
222                         Show="true"
223                 />
224                 <com:Application.Web.Portlets.DirectiveText
225                         ID="TimeMinAt"
226                         Label="<%[ Minute ]%>"
227                         InConfig="true"
228                         Show="true"
229                 />
230         </div>
231         <div id="day_range<%=$this->TimeAt->ClientID%>" class="day<%=$this->TimeAt->ClientID%>" style="display: <%=$this->TimeHourly->Checked ? 'block' : 'none'%>">
232                 <com:Application.Web.Portlets.DirectiveText
233                         ID="TimeMinHourly"
234                         Label="<%[ Minute ]%>"
235                         InConfig="true"
236                         Show="true"
237                 />
238         </div>
239 </fieldset>