119ee4ae79774f8d9d279aa892934f47f3b26d6c
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Resources / Private / Templates / Backend / SchedulerModule / EditTask.html
1 {namespace sched = TYPO3\CMS\Scheduler\ViewHelpers}
2
3 <input type="hidden" name="tx_scheduler[uid]" value="{uid}" />
4 <input type="hidden" name="previousCMD" value="{cmd}" />
5
6 <div class="form-section" id="task_disable_row">
7 <div class="form-group">
8 <f:be.labels.csh table="{csh}" field="task_disable" label="{task_disable_label}"/>
9 <div class="form-control-wrap">
10 <input type="hidden" name="tx_scheduler[disable]" value="0">
11 <input class="checkbox" type="checkbox" name="tx_scheduler[disable]" value="1" id="task_disable" {task_disable}>
12 </div>
13 </div>
14 </div>
15 <div class="form-section" id="task_class_row">
16 <div class="form-group">
17 <f:be.labels.csh table="{csh}" field="task_class" label="{lang}label.class"/>
18 <div class="form-control-wrap">
19 <f:if condition="{task_class}">
20 <f:then>
21 <div>{task_class_title} ({task_class_extension})</div>
22 <input type="hidden" name="tx_scheduler[class]" id="task_class" value="{task_class}">
23 </f:then>
24 <f:else>
25 <select name="tx_scheduler[class]" id="task_class" class="form-control">
26 <f:for each="{groupedClasses}" as="classGroup" key="extension">
27 <optgroup label="{extension}">
28 <f:for each="{classGroup}" as="classInfo" key="class">
29 <option value="{class}" title="{classInfo.description}" {classInfo.selected}>{classInfo.title}</option>
30 </f:for>
31 </optgroup>
32 </f:for>
33 </select>
34 </f:else>
35 </f:if>
36 </div>
37 </div>
38 </div>
39 <div class="form-section" id="task_type_row">
40 <div class="form-group">
41 <f:be.labels.csh table="{csh}" field="task_type" label="{lang}label.type"/>
42 <div class="form-control-wrap">
43 <select name="tx_scheduler[type]" id="task_type" class="form-control">
44 <option value="1" {task_type_selected_1}><f:translate key="{lang}label.type.single" /></option>
45 <option value="2" {task_type_selected_2}><f:translate key="{lang}label.type.recurring" /></option>
46 </select>
47 </div>
48 </div>
49 </div>
50 <div class="form-section" id="task_group_row">
51 <div class="form-group">
52 <f:be.labels.csh table="{csh}" field="task_group" label="{lang}label.group"/>
53 <div class="form-control-wrap">
54 <div class="input-group">
55 <select name="tx_scheduler[task_group]" id="task_class" class="form-control">
56 <option value="0" title=""></option>
57 <f:for each="{registeredTaskGroups}" as="registeredTaskGroup">
58 <option value="{registeredTaskGroup.uid}" title="{registeredTaskGroup.groupName}" {registeredTaskGroup.selected}>
59 {registeredTaskGroup.groupName}
60 </option>
61 </f:for>
62 </select>
63 <div class="input-group-btn" role="group">
64 <a class="btn btn-default" href="{sched:editRecord(parameters: 'edit[tx_scheduler_task_group][0]=new&returnUrl={returnUrl}')}" ><core:icon identifier="actions-add" /></a>
65 </div>
66 </div>
67 </div>
68 </div>
69 </div>
70 <div class="form-section">
71 <div class="row">
72 <div class="form-group col-sm-6" id="task_start_col">
73 <f:be.labels.csh table="{csh}" field="task_start" label="{lang}label.start"/>
74 <div class="form-control-wrap">
75 <div class="input-group" id="tceforms-datetimefield-task_start_row-wrapper">
76 <input name="tx_scheduler[start]_hr" value="{start_value_hr}" class="form-control t3js-datetimepicker t3js-clearable" data-date-type="datetime" data-date-offset="0" type="text" id="tceforms-datetimefield-task_start_row">
77 <input name="tx_scheduler[start]" value="{start_value}" type="hidden">
78 <span class="input-group-btn"><label class="btn btn-default" for="tceforms-datetimefield-task_start_row"><core:icon identifier="actions-edit-pick-date" /></label></span>
79 </div>
80 </div>
81 </div>
82 <div class="form-group col-sm-6" id="task_end_col">
83 <f:be.labels.csh table="{csh}" field="task_end" label="{lang}label.end"/>
84 <div class="form-control-wrap">
85 <div class="input-group" id="tceforms-datetimefield-task_end_row-wrapper">
86 <input name="tx_scheduler[end]_hr" value="{end_value_hr}" class="form-control t3js-datetimepicker t3js-clearable" data-date-type="datetime" data-date-offset="0" type="text" id="tceforms-datetimefield-task_end_row">
87 <input name="tx_scheduler[end]" value="{end_value}" type="hidden">
88 <span class="input-group-btn"><label class="btn btn-default" for="tceforms-datetimefield-task_end_row"><core:icon identifier="actions-edit-pick-date" /></label></span>
89 </div>
90 </div>
91 </div>
92 </div>
93 </div>
94 <div class="form-section" id="task_frequency_row">
95 <div class="form-group">
96 <f:be.labels.csh table="{csh}" field="task_frequency" label="{lang}label.frequency.long"/>
97 <div class="form-control-wrap">
98 <input type="text" name="tx_scheduler[frequency]" class="form-control" id="task_frequency" value="{frequency}">
99 </div>
100 </div>
101 </div>
102 <div class="form-section" id="task_multiple_row">
103 <div class="form-group">
104 <f:be.labels.csh table="{csh}" field="task_multiple" label="{lang}label.parallel.long"/>
105 <div class="form-control-wrap">
106 <input type="hidden" name="tx_scheduler[multiple]" value="0">
107 <input class="checkbox" type="checkbox" name="tx_scheduler[multiple]" value="1" id="task_multiple" {multiple}>
108 </div>
109 </div>
110 </div>
111 <div class="form-section" id="task_description_row">
112 <div class="form-group">
113 <f:be.labels.csh table="{csh}" field="task_description" label="{lang}label.description"/>
114 <div class="form-control-wrap">
115 <textarea class="form-control" name="tx_scheduler[description]">{description}</textarea>
116 </div>
117 </div>
118 </div>
119
120 <f:for each="{additionalFields}" as="field">
121 <f:render section="additionalField" arguments="{field: field}" />
122 </f:for>
123
124 <f:format.raw>{table}</f:format.raw>
125
126
127 <f:render partial="ServerTime" arguments="{now: now}" />
128
129 <f:section name="additionalField">
130 <div class="form-section extraFields extra_fields_{field.htmlClassName}" {field.additionalFieldsStyle} id="{field.fieldID}_row">
131 <div class="form-group">
132 <f:be.labels.csh table="{field.cshKey}" field="{field.cshLabel}" label="{field.langLabel}"/>
133 <div class="form-control-wrap">
134 {field.code -> f:format.raw()}
135 </div>
136 {field.browseButton -> f:format.raw()}
137 </div>
138 </div>
139 </f:section>