1 | <?xml version="1.0"?> |
---|
2 | <!-- $Id: edit.xet 23270 2007-01-12 01:27:37Z ralfbecker $ --> |
---|
3 | <overlay> |
---|
4 | <template id="timesheet.edit.general" template="" lang="" group="0" version="1.3.001"> |
---|
5 | <grid width="100%" height="150"> |
---|
6 | <columns> |
---|
7 | <column width="95"/> |
---|
8 | <column width="120"/> |
---|
9 | <column width="80"/> |
---|
10 | <column/> |
---|
11 | </columns> |
---|
12 | <rows> |
---|
13 | <row class="row"> |
---|
14 | <description options=",,,ts_title" value="Title"/> |
---|
15 | <textbox size="65" maxlength="80" id="ts_title" blur="@ts_title_blur" span="all"/> |
---|
16 | </row> |
---|
17 | <row class="row"> |
---|
18 | <description options=",,,cat_id" value="Category"/> |
---|
19 | <menulist span="all"> |
---|
20 | <menupopup type="select-cat" id="cat_id" options="None"/> |
---|
21 | </menulist> |
---|
22 | </row> |
---|
23 | <row class="row"> |
---|
24 | <description options=",,,ts_start" value="Date"/> |
---|
25 | <date id="ts_start" needed="1" options=",8"/> |
---|
26 | <description value="Starttime"/> |
---|
27 | <date-timeonly id="start_time"/> |
---|
28 | </row> |
---|
29 | <row class="row"> |
---|
30 | <description options=",,,ts_duration" value="Duration"/> |
---|
31 | <date-duration id="ts_duration" options=",hm"/> |
---|
32 | <description value="or endtime" class="noWrap"/> |
---|
33 | <date-timeonly id="end_time"/> |
---|
34 | </row> |
---|
35 | <row class="row"> |
---|
36 | <description options=",,,ts_quantity" value="Quantity"/> |
---|
37 | <textbox type="float" id="ts_quantity" statustext="empty if identical to duration" blur="@ts_quantity_blur" precision="3" span="all"/> |
---|
38 | </row> |
---|
39 | </rows> |
---|
40 | </grid> |
---|
41 | </template> |
---|
42 | <template id="timesheet.edit.notes" template="" lang="" group="0" version="0.1.001"> |
---|
43 | <grid width="100%" height="150"> |
---|
44 | <columns> |
---|
45 | <column/> |
---|
46 | </columns> |
---|
47 | <rows> |
---|
48 | <row class="row" valign="top"> |
---|
49 | <textbox multiline="true" rows="8" cols="70" id="ts_description"/> |
---|
50 | </row> |
---|
51 | </rows> |
---|
52 | </grid> |
---|
53 | </template> |
---|
54 | <template id="timesheet.edit.links" template="" lang="" group="0" version="0.1.001"> |
---|
55 | <grid width="100%" height="150" overflow="auto"> |
---|
56 | <columns> |
---|
57 | <column width="100"/> |
---|
58 | <column/> |
---|
59 | </columns> |
---|
60 | <rows> |
---|
61 | <row class="th" disabled="@view"> |
---|
62 | <description span="all" value="Create new links"/> |
---|
63 | </row> |
---|
64 | <row class="row" disabled="@status_only"> |
---|
65 | <link-to span="all" id="link_to"/> |
---|
66 | </row> |
---|
67 | <row class="th"> |
---|
68 | <description span="all" value="Existing links"/> |
---|
69 | </row> |
---|
70 | <row class="row_off" valign="top"> |
---|
71 | <link-list span="all" id="link_to"/> |
---|
72 | </row> |
---|
73 | </rows> |
---|
74 | </grid> |
---|
75 | </template> |
---|
76 | <template id="timesheet.edit" template="" lang="" group="0" version="1.3.002"> |
---|
77 | <grid width="100%"> |
---|
78 | <columns> |
---|
79 | <column width="100"/> |
---|
80 | <column/> |
---|
81 | </columns> |
---|
82 | <rows> |
---|
83 | <row disabled="!@msg"> |
---|
84 | <description span="all" class="redItalic" id="msg" no_lang="1" align="center"/> |
---|
85 | <description/> |
---|
86 | </row> |
---|
87 | <row class="th" height="28"> |
---|
88 | <description options=",,,ts_owner" value="User"/> |
---|
89 | <menulist span="all"> |
---|
90 | <menupopup id="ts_owner" no_lang="1"/> |
---|
91 | </menulist> |
---|
92 | </row> |
---|
93 | <row class="row"> |
---|
94 | <description options=",,,ts_project" value="Project"/> |
---|
95 | <grid spacing="1" padding="1"> |
---|
96 | <columns> |
---|
97 | <column/> |
---|
98 | </columns> |
---|
99 | <rows> |
---|
100 | <row disabled="@pm_integration=none"> |
---|
101 | <projectmanager-select options="None" id="pm_id" span="all" statustext="Select a project" onchange="1"/> |
---|
102 | </row> |
---|
103 | <row disabled="@pm_integration=full"> |
---|
104 | <textbox id="ts_project" blur="@ts_project_blur" size="65" maxlength="80"/> |
---|
105 | </row> |
---|
106 | </rows> |
---|
107 | </grid> |
---|
108 | </row> |
---|
109 | <row class="row"> |
---|
110 | <description options=",,ts_unitprice" value="Unitprice"/> |
---|
111 | <grid> |
---|
112 | <columns> |
---|
113 | <column disabled="@pm_integration=none"/> |
---|
114 | <column/> |
---|
115 | </columns> |
---|
116 | <rows> |
---|
117 | <row> |
---|
118 | <projectmanager-pricelist id="pl_id" options="None,all_pm_ids,ts_unitprice" onchange="this.form['exec[ts_unitprice]'].value=this.options[this.selectedIndex].text.lastIndexOf('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1);"/> |
---|
119 | <textbox type="float" id="ts_unitprice" span="all"/> |
---|
120 | </row> |
---|
121 | </rows> |
---|
122 | </grid> |
---|
123 | </row> |
---|
124 | <row> |
---|
125 | <tabbox span="all"> |
---|
126 | <tabs> |
---|
127 | <tab label="General" statustext=""/> |
---|
128 | <tab label="Notes" statustext=""/> |
---|
129 | <tab label="Links" statustext=""/> |
---|
130 | </tabs> |
---|
131 | <tabpanels> |
---|
132 | <template id="timesheet.edit.general"/> |
---|
133 | <template id="timesheet.edit.notes"/> |
---|
134 | <template id="timesheet.edit.links"/> |
---|
135 | </tabpanels> |
---|
136 | </tabbox> |
---|
137 | </row> |
---|
138 | <row class="row" disabled="!@ts_modified"> |
---|
139 | <description value="Last modified"/> |
---|
140 | <hbox> |
---|
141 | <date-time id="ts_modified" readonly="true"/> |
---|
142 | <menulist> |
---|
143 | <menupopup type="select-account" id="ts_modifier" label="by" readonly="true"/> |
---|
144 | </menulist> |
---|
145 | </hbox> |
---|
146 | </row> |
---|
147 | <row> |
---|
148 | <hbox options="0" span="2" orient="0"> |
---|
149 | <hbox> |
---|
150 | <button label="Edit" id="button[edit]" statustext="Edit this entry"/> |
---|
151 | <button id="button[save_new]" label="Save & New" statustext="Saves this entry and add a new one"/> |
---|
152 | <button id="button[save]" label="Save" statustext="Saves the changes made"/> |
---|
153 | <button id="button[apply]" label="Apply" statustext="Applies the changes made"/> |
---|
154 | <button id="button[cancel]" label="Cancel" statustext="closes the window without saving the changes" onclick="window.close();"/> |
---|
155 | <html id="js"/> |
---|
156 | </hbox> |
---|
157 | <button label="Delete" align="right" id="button[delete]" statustext="Delete this entry" onclick="return confirm('Delete this entry');"/> |
---|
158 | </hbox> |
---|
159 | </row> |
---|
160 | </rows> |
---|
161 | </grid> |
---|
162 | </template> |
---|
163 | </overlay> |
---|