1 | <?xml version="1.0"?> |
---|
2 | <!-- $Id: edit.xet 24288 2007-07-11 15:43:09Z ralfbecker $ --> |
---|
3 | <overlay> |
---|
4 | <template id="projectmanager.edit.general" template="" lang="" group="0" version="0.4.001"> |
---|
5 | <grid width="100%" height="260"> |
---|
6 | <columns> |
---|
7 | <column width="95"/> |
---|
8 | <column width="40%"/> |
---|
9 | <column width="8%"/> |
---|
10 | <column/> |
---|
11 | </columns> |
---|
12 | <rows> |
---|
13 | <row class="row"> |
---|
14 | <description options=",,,cat_id" value="Category"/> |
---|
15 | <menulist> |
---|
16 | <menupopup type="select-cat" options="None" id="cat_id"/> |
---|
17 | </menulist> |
---|
18 | <description value="Access" options=",,,pm_access"/> |
---|
19 | <menulist> |
---|
20 | <menupopup id="pm_access" no_lang="1"/> |
---|
21 | </menulist> |
---|
22 | </row> |
---|
23 | <row class="row"> |
---|
24 | <description options=",,,pm_priority" value="Priority"/> |
---|
25 | <menulist> |
---|
26 | <menupopup type="select-number" options=",1,10" id="pm_priority"/> |
---|
27 | </menulist> |
---|
28 | <description value="State" options=",,,pm_status"/> |
---|
29 | <menulist> |
---|
30 | <menupopup id="pm_status" no_lang="1"/> |
---|
31 | </menulist> |
---|
32 | </row> |
---|
33 | <row class="th"> |
---|
34 | <description value="Value"/> |
---|
35 | <description value="Project"/> |
---|
36 | <description value="Elementlist" span="all"/> |
---|
37 | </row> |
---|
38 | <row class="row"> |
---|
39 | <description options=",,,pm_real_start" value="Startdate"/> |
---|
40 | <date-time id="pm_real_start"/> |
---|
41 | <date-time id="ds[pe_real_start]" readonly="true" span="all"/> |
---|
42 | </row> |
---|
43 | <row class="row"> |
---|
44 | <description value="- planned" options=",,,pm_planned_end"/> |
---|
45 | <date-time id="pm_planned_start"/> |
---|
46 | <date-time id="ds[pe_planned_start]" readonly="true" span="all"/> |
---|
47 | </row> |
---|
48 | <row class="row"> |
---|
49 | <description options=",,,pm_real_end" value="Enddate"/> |
---|
50 | <date-time id="pm_real_end"/> |
---|
51 | <date-time id="ds[pe_real_end]" readonly="true" span="all"/> |
---|
52 | </row> |
---|
53 | <row class="row"> |
---|
54 | <description value="- planned" options=",,,pm_planned_end"/> |
---|
55 | <date-time id="pm_planned_end"/> |
---|
56 | <date-time id="ds[pe_planned_end]" readonly="true" span="all"/> |
---|
57 | </row> |
---|
58 | <row class="row" disabled="@pm_accounting_type=status"> |
---|
59 | <description options=",,,pm_used_time" value="Times"/> |
---|
60 | <date-duration id="pm_used_time" options="@duration_format"/> |
---|
61 | <date-duration id="ds[pe_used_time]" readonly="true" span="all" options="@duration_format"/> |
---|
62 | </row> |
---|
63 | <row class="row" disabled="@pm_accounting_type=status"> |
---|
64 | <description options=",,,pm_planned_time" value="- planned"/> |
---|
65 | <date-duration id="pm_planned_time" options="@duration_format"/> |
---|
66 | <date-duration id="ds[pe_planned_time]" readonly="true" span="all" options="@duration_format"/> |
---|
67 | </row> |
---|
68 | <row class="row"> |
---|
69 | <description options=",,,pm_completion" value="Status"/> |
---|
70 | <menulist> |
---|
71 | <menupopup type="select-percent" options="None" id="pm_completion"/> |
---|
72 | </menulist> |
---|
73 | <description no_lang="1" id="ds[pe_completion]" readonly="true" span="all"/> |
---|
74 | </row> |
---|
75 | </rows> |
---|
76 | </grid> |
---|
77 | </template> |
---|
78 | <template id="projectmanager.edit.description" template="" lang="" group="0" version="0.4.001"> |
---|
79 | <grid width="100%" height="260"> |
---|
80 | <columns> |
---|
81 | <column/> |
---|
82 | </columns> |
---|
83 | <rows> |
---|
84 | <row valign="top"> |
---|
85 | <htmlarea id="pm_description" mode="extended" height="250px" width="100%" toolbar="true"/> |
---|
86 | </row> |
---|
87 | </rows> |
---|
88 | </grid> |
---|
89 | </template> |
---|
90 | <template id="projectmanager.edit.members" template="" lang="" group="0" version="0.4.002"> |
---|
91 | <grid width="100%" height="260" overflow="auto"> |
---|
92 | <columns> |
---|
93 | <column/> |
---|
94 | <column/> |
---|
95 | <column/> |
---|
96 | <column width="70%"/> |
---|
97 | </columns> |
---|
98 | <rows> |
---|
99 | <row class="th" height="12"> |
---|
100 | <description value="Members"/> |
---|
101 | <description value="General availibility"/> |
---|
102 | <description value="Project availibility"/> |
---|
103 | <hbox> |
---|
104 | <description value="Role"/> |
---|
105 | <button label="Edit" onclick="window.open(egw::link('/index.php','menuaction=projectmanager.uiroles.roles&pm_id=$cont[pm_id]'),'roles','dependent=yes,width=740,height=450,scrollbars=yes,status=yes'); return false;" statustext="Add or edit roles and their ACL" id="edit_roles"/> |
---|
106 | </hbox> |
---|
107 | </row> |
---|
108 | <row class="row" height="12" disabled="@view"> |
---|
109 | <menulist> |
---|
110 | <menupopup type="select-account" id="member[1]" options="select one"/> |
---|
111 | </menulist> |
---|
112 | <textbox type="float" id="general_avail[1]" statustext="Percentage the member is availible for projects"/> |
---|
113 | <textbox type="float" id="availibility[1]" statustext="Percentage the member is availible for this project"/> |
---|
114 | <hbox options="0,0"> |
---|
115 | <menulist> |
---|
116 | <menupopup id="role[1]"/> |
---|
117 | </menulist> |
---|
118 | <button label="Add" id="add"/> |
---|
119 | </hbox> |
---|
120 | </row> |
---|
121 | <row class="row" valign="top" disabled="!@member"> |
---|
122 | <menulist> |
---|
123 | <menupopup type="select-account" readonly="true" id="member[$row]"/> |
---|
124 | </menulist> |
---|
125 | <textbox type="float" id="general_avail[$row]" statustext="Percentage the member is availible for projects"/> |
---|
126 | <textbox type="float" id="availibility[$row]" statustext="Percentage the member is availible for this project"/> |
---|
127 | <menulist> |
---|
128 | <menupopup id="role[$row]" options="None"/> |
---|
129 | </menulist> |
---|
130 | </row> |
---|
131 | </rows> |
---|
132 | </grid> |
---|
133 | </template> |
---|
134 | <template id="projectmanager.edit.accounting" template="" lang="" group="0" version="0.4.001"> |
---|
135 | <grid width="100%" height="260"> |
---|
136 | <columns> |
---|
137 | <column width="95"/> |
---|
138 | <column width="40%"/> |
---|
139 | <column/> |
---|
140 | </columns> |
---|
141 | <rows> |
---|
142 | <row class="row" valign="top" height="12"> |
---|
143 | <description options=",,,pm_accounting_type" value="Accounting type"/> |
---|
144 | <menulist span="all"> |
---|
145 | <menupopup id="pm_accounting_type" onchange="1"/> |
---|
146 | </menulist> |
---|
147 | </row> |
---|
148 | <row class="th" height="12" disabled="@no_budget"> |
---|
149 | <description value="Value"/> |
---|
150 | <description value="Project"/> |
---|
151 | <description value="Elementlist"/> |
---|
152 | </row> |
---|
153 | <row class="row" height="12" disabled="@no_budget"> |
---|
154 | <description options=",,,pm_used_budget" value="Budget"/> |
---|
155 | <textbox type="float" id="pm_used_budget"/> |
---|
156 | <textbox type="float" min="2" id="ds[pe_used_budget]" readonly="true"/> |
---|
157 | </row> |
---|
158 | <row class="row" valign="top" height="12" disabled="@no_budget"> |
---|
159 | <description options=",,,pm_planned_budget" value="- planned"/> |
---|
160 | <textbox type="float" id="pm_planned_budget"/> |
---|
161 | <textbox type="float" min="2" id="ds[pe_planned_budget]" readonly="true"/> |
---|
162 | </row> |
---|
163 | <row valign="top"> |
---|
164 | <description/> |
---|
165 | <description/> |
---|
166 | <description/> |
---|
167 | </row> |
---|
168 | </rows> |
---|
169 | </grid> |
---|
170 | </template> |
---|
171 | <template id="projectmanager.edit.custom" template="" lang="" group="0" version="0.4.001"> |
---|
172 | <grid width="100%" height="260" overflow="auto"> |
---|
173 | <columns> |
---|
174 | <column/> |
---|
175 | </columns> |
---|
176 | <rows> |
---|
177 | <row class="row" valign="top"> |
---|
178 | <customfields/> |
---|
179 | </row> |
---|
180 | </rows> |
---|
181 | </grid> |
---|
182 | </template> |
---|
183 | <template id="projectmanager.edit.links" template="" lang="" group="0" version="0.4.001"> |
---|
184 | <grid width="100%" height="260" overflow="auto"> |
---|
185 | <columns> |
---|
186 | <column width="95"/> |
---|
187 | <column/> |
---|
188 | </columns> |
---|
189 | <rows> |
---|
190 | <row class="th" disabled="@view"> |
---|
191 | <description span="all" value="Create new links"/> |
---|
192 | </row> |
---|
193 | <row class="row" disabled="@view"> |
---|
194 | <link-to span="all" id="link_to"/> |
---|
195 | </row> |
---|
196 | <row class="th"> |
---|
197 | <description span="all" value="Existing links"/> |
---|
198 | </row> |
---|
199 | <row class="row_off" valign="top" height="164"> |
---|
200 | <link-list span="all" id="link_to"/> |
---|
201 | </row> |
---|
202 | </rows> |
---|
203 | </grid> |
---|
204 | </template> |
---|
205 | <template id="projectmanager.edit" template="" lang="" group="0" version="0.2.001"> |
---|
206 | <grid width="100%"> |
---|
207 | <columns> |
---|
208 | <column width="100"/> |
---|
209 | <column width="150"/> |
---|
210 | <column width="10%"/> |
---|
211 | <column/> |
---|
212 | </columns> |
---|
213 | <rows> |
---|
214 | <row disabled="!@msg"> |
---|
215 | <description span="all" class="redItalic" no_lang="1" align="center" id="msg"/> |
---|
216 | <description/> |
---|
217 | <description/> |
---|
218 | <description/> |
---|
219 | </row> |
---|
220 | <row class="th"> |
---|
221 | <description options=",,,pm_number" value="Project ID"/> |
---|
222 | <textbox size="20" maxlength="64" no_lang="1" id="pm_number" statustext="leave it empty to have one generated"/> |
---|
223 | <description options=",,,pm_title" value="Title"/> |
---|
224 | <textbox size="64" maxlength="255" needed="1" id="pm_title" statustext="a describtive title for the project, must not be empty"/> |
---|
225 | </row> |
---|
226 | <row> |
---|
227 | <tabbox span="all"> |
---|
228 | <tabs> |
---|
229 | <tab label="General" statustext="Start, End, Category, ..."/> |
---|
230 | <tab label="Description" statustext="free descriptiv text"/> |
---|
231 | <tab label="Members" statustext="Project members and roles"/> |
---|
232 | <tab label="Accounting" statustext="Accounting options"/> |
---|
233 | <tab label="Custom" statustext="Custom fields"/> |
---|
234 | <tab label="Links" statustext="Linked elements"/> |
---|
235 | </tabs> |
---|
236 | <tabpanels> |
---|
237 | <template id="projectmanager.edit.general"/> |
---|
238 | <template id="projectmanager.edit.description"/> |
---|
239 | <template id="projectmanager.edit.members"/> |
---|
240 | <template id="projectmanager.edit.accounting"/> |
---|
241 | <template id="projectmanager.edit.custom"/> |
---|
242 | <template id="projectmanager.edit.links"/> |
---|
243 | </tabpanels> |
---|
244 | </tabbox> |
---|
245 | </row> |
---|
246 | <row class="row" disabled="!@pm_id"> |
---|
247 | <description value="Modified"/> |
---|
248 | <hbox span="2" options="2,0"> |
---|
249 | <date-time readonly="true" id="pm_modified"/> |
---|
250 | <menulist> |
---|
251 | <menupopup type="select-account" label="by" readonly="true" id="pm_modifier"/> |
---|
252 | </menulist> |
---|
253 | </hbox> |
---|
254 | <hbox span="2" options="2,0" align="right"> |
---|
255 | <date-time readonly="true" label="created" no_lang="1" id="pm_created"/> |
---|
256 | <menulist> |
---|
257 | <menupopup type="select-account" label="by" readonly="true" id="pm_creator"/> |
---|
258 | </menulist> |
---|
259 | </hbox> |
---|
260 | </row> |
---|
261 | <row> |
---|
262 | <hbox span="3"> |
---|
263 | <button label="Edit" id="edit" statustext="Edit this project"/> |
---|
264 | <button label="Save" id="save" statustext="Save the changes made"/> |
---|
265 | <button label="Apply" id="apply" statustext="Apply the changes"/> |
---|
266 | <button label="Cancel" id="cancel" statustext="Exit without saving"/> |
---|
267 | </hbox> |
---|
268 | <button label="Delete" align="right" onclick="return confirm('Delete this project');" id="delete" statustext="Delete this project"/> |
---|
269 | </row> |
---|
270 | </rows> |
---|
271 | </grid> |
---|
272 | </template> |
---|
273 | </overlay> |
---|