[3594] | 1 | <?xml version="1.0"?> |
---|
| 2 | <!-- $Id: elements.edit.xet 23913 2007-05-22 04:04:13Z lkneschke $ --> |
---|
| 3 | <overlay> |
---|
| 4 | <template id="projectmanager.elements.edit.dates" template="" lang="" group="0" version="0.3.001"> |
---|
| 5 | <grid width="100%" height="170"> |
---|
| 6 | <columns> |
---|
| 7 | <column width="95"/> |
---|
| 8 | <column width="51%"/> |
---|
| 9 | <column/> |
---|
| 10 | </columns> |
---|
| 11 | <rows> |
---|
| 12 | <row class="row"> |
---|
| 13 | <description options=",,,pe_real_start" value="Startdate"/> |
---|
| 14 | <date-time id="pe_real_start"/> |
---|
| 15 | <date-time id="ds[pe_real_start]" readonly="true"/> |
---|
| 16 | </row> |
---|
| 17 | <row class="row"> |
---|
| 18 | <description value="- planned" options=",,,pe_planned_end"/> |
---|
| 19 | <date-time id="pe_planned_start"/> |
---|
| 20 | <date-time id="ds[pe_planned_start]" readonly="true"/> |
---|
| 21 | </row> |
---|
| 22 | <row class="row"> |
---|
| 23 | <description options=",,,pe_real_end" value="Enddate"/> |
---|
| 24 | <date-time id="pe_real_end"/> |
---|
| 25 | <date-time id="ds[pe_real_end]" readonly="true"/> |
---|
| 26 | </row> |
---|
| 27 | <row class="row" valign="top" height="50%"> |
---|
| 28 | <description value="- planned" options=",,,pe_planned_end"/> |
---|
| 29 | <date-time id="pe_planned_end"/> |
---|
| 30 | <date-time id="ds[pe_planned_end]" readonly="true"/> |
---|
| 31 | </row> |
---|
| 32 | <row class="row" disabled="!@no_times"> |
---|
| 33 | <description options=",,,pe_share" value="Share"/> |
---|
| 34 | <hbox options="1,1" span="all"> |
---|
| 35 | <textbox id="pe_share" statustext="Share on the whole project" size="10" validator="/^[0-9.]*\.?[0-9%]*$/"/> |
---|
| 36 | <textbox type="float" id="default_percentage" label="default" readonly="true"/> |
---|
| 37 | </hbox> |
---|
| 38 | </row> |
---|
| 39 | </rows> |
---|
| 40 | </grid> |
---|
| 41 | </template> |
---|
| 42 | <template id="projectmanager.elements.edit.times" template="" lang="" group="0" version="0.3.001"> |
---|
| 43 | <grid width="100%" height="170"> |
---|
| 44 | <columns> |
---|
| 45 | <column width="95"/> |
---|
| 46 | <column width="51%"/> |
---|
| 47 | <column/> |
---|
| 48 | </columns> |
---|
| 49 | <rows> |
---|
| 50 | <row class="row"> |
---|
| 51 | <description options=",,,pe_used_time" value="Times"/> |
---|
| 52 | <date-duration id="pe_used_time" options=",$cont[duration_format]"/> |
---|
| 53 | <date-duration id="ds[pe_used_time]" readonly="true" options="@duration_format"/> |
---|
| 54 | </row> |
---|
| 55 | <row class="row"> |
---|
| 56 | <description options=",,,pe_planned_time" value="- planned"/> |
---|
| 57 | <date-duration id="pe_planned_time" options=",$cont[duration_format]"/> |
---|
| 58 | <date-duration id="ds[pe_planned_time]" readonly="true" options="@duration_format"/> |
---|
| 59 | </row> |
---|
| 60 | <row class="row"> |
---|
| 61 | <description options=",,,pe_share" value="Share"/> |
---|
| 62 | <hbox options="0,0"> |
---|
| 63 | <date-duration id="pe_share" statustext="Share on the whole project in hours or percent, defaults to planned time" options=",%$cont[duration_format],1"/> |
---|
| 64 | <date-duration id="share_total" label="/" readonly="true" options=",$cont[duration_format],1"/> |
---|
| 65 | <description id="share_percentage" value="=" no_lang="1"/> |
---|
| 66 | </hbox> |
---|
| 67 | <description/> |
---|
| 68 | </row> |
---|
| 69 | <row class="row" valign="top" height="50%"> |
---|
| 70 | <description value="Default"/> |
---|
| 71 | <hbox> |
---|
| 72 | <date-duration id="default_share" readonly="true" options=",$cont[duration_format]"/> |
---|
| 73 | <date-duration id="default_total" label="/" readonly="true" options=",$cont[duration_format]"/> |
---|
| 74 | <description id="default_percentage" value="=" no_lang="1"/> |
---|
| 75 | </hbox> |
---|
| 76 | <description/> |
---|
| 77 | </row> |
---|
| 78 | </rows> |
---|
| 79 | </grid> |
---|
| 80 | </template> |
---|
| 81 | <template id="projectmanager.elements.edit.budget" template="" lang="" group="0" version="0.5.002"> |
---|
| 82 | <grid width="100%" height="170"> |
---|
| 83 | <columns> |
---|
| 84 | <column width="95"/> |
---|
| 85 | <column width="51%"/> |
---|
| 86 | <column/> |
---|
| 87 | </columns> |
---|
| 88 | <rows> |
---|
| 89 | <row class="th"> |
---|
| 90 | <description span="all" value="Calculate budget by quantity (eg. time) and price"/> |
---|
| 91 | </row> |
---|
| 92 | <row class="row"> |
---|
| 93 | <description options=",,,pe_used_quantity" value="Quantity"/> |
---|
| 94 | <textbox type="float" id="pe_used_quantity" statustext="leave it empty, if identitcal to the time" blur="@used_quantity_blur" onchange="calc_budget(this.form);"/> |
---|
| 95 | <textbox type="float" id="ds[pe_used_quantity]" readonly="true"/> |
---|
| 96 | </row> |
---|
| 97 | <row class="row"> |
---|
| 98 | <description options=",,,pe_planned_quantity" value="- planned"/> |
---|
| 99 | <textbox type="float" id="pe_planned_quantity" statustext="leave it empty, if identitcal to the time" blur="@planned_quantity_blur" onchange="calc_budget(this.form);"/> |
---|
| 100 | <textbox type="float" id="ds[pe_planned_quantity]" readonly="true"/> |
---|
| 101 | </row> |
---|
| 102 | <row class="row" disabled="@no_pricelist"> |
---|
| 103 | <description value="Activity"/> |
---|
| 104 | <projectmanager-pricelist id="pl_id" statustext="select an activity if you want to calculate costs by quantity (time) and price" options="None" onchange="this.form['exec[pe_unitprice]'].value=this.options[this.selectedIndex].text.lastIndexOf('(') < 0 ? '' : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf('(')+1,-1); calc_budget(this.form);"/> |
---|
| 105 | <projectmanager-pricelist span="all" id="ds[pl_id]" readonly="true"/> |
---|
| 106 | </row> |
---|
| 107 | <row class="row" valign="top"> |
---|
| 108 | <description options=",,,pe_cost_per_time" value="Unitprice"/> |
---|
| 109 | <textbox type="float" id="pe_unitprice" blur="@ds[pe_unitprice]" onchange="calc_budget(this.form);"/> |
---|
| 110 | <textbox type="float" min="2" id="ds[pe_unitprice]" readonly="true"/> |
---|
| 111 | </row> |
---|
| 112 | <row class="th"> |
---|
| 113 | <description options=",,,pe_real_budget" value="Budget"/> |
---|
| 114 | <textbox type="float" id="pe_used_budget" blur="@ds[pe_used_budget]"/> |
---|
| 115 | <textbox type="float" min="2" id="ds[pe_used_budget]" readonly="true"/> |
---|
| 116 | </row> |
---|
| 117 | <row class="row"> |
---|
| 118 | <description options=",,,pe_planned_budget" value="- planned"/> |
---|
| 119 | <textbox type="float" id="pe_planned_budget" blur="@ds[pe_planned_budget]"/> |
---|
| 120 | <textbox type="float" min="2" id="ds[pe_planned_budget]" readonly="true"/> |
---|
| 121 | </row> |
---|
| 122 | </rows> |
---|
| 123 | </grid> |
---|
| 124 | </template> |
---|
| 125 | <template id="projectmanager.elements.edit.constraints" template="" lang="" group="0" version="0.4.001"> |
---|
| 126 | <grid width="100%" height="170" overflow="auto"> |
---|
| 127 | <columns> |
---|
| 128 | <column width=" 95"/> |
---|
| 129 | <column/> |
---|
| 130 | </columns> |
---|
| 131 | <rows> |
---|
| 132 | <row class="row" valign="top"> |
---|
| 133 | <description options=",,,end_constraints" value="Start after"/> |
---|
| 134 | <listbox rows="3" id="pe_constraints[start]" statustext="Elements which have to be finished before this can start" no_lang="1"/> |
---|
| 135 | </row> |
---|
| 136 | <row class="row" valign="top"> |
---|
| 137 | <description options=",,,end_constraints" value="End before"/> |
---|
| 138 | <listbox rows="3" id="pe_constraints[end]" statustext="Elements that can't start before this one is finished" no_lang="1"/> |
---|
| 139 | </row> |
---|
| 140 | <row class="row" valign="top"> |
---|
| 141 | <description options=",,,milestone_constraints" value="Milestones"/> |
---|
| 142 | <listbox id="pe_constraints[milestone]" statustext="Milestones before this element has to be finished" rows="3" no_lang="1"/> |
---|
| 143 | </row> |
---|
| 144 | </rows> |
---|
| 145 | </grid> |
---|
| 146 | </template> |
---|
| 147 | <template id="projectmanager.elements.edit.resources" template="" lang="" group="0" version="0.4.001"> |
---|
| 148 | <grid width="100%" height="170"> |
---|
| 149 | <columns> |
---|
| 150 | <column width="95"/> |
---|
| 151 | <column width="51%"/> |
---|
| 152 | <column/> |
---|
| 153 | </columns> |
---|
| 154 | <rows> |
---|
| 155 | <row class="row" valign="top"> |
---|
| 156 | <description rows="1" cols="1" value="Resources"/> |
---|
| 157 | <listbox type="select-account" rows="12" id="pe_resources"/> |
---|
| 158 | <listbox type="select-account" rows="8" id="ds[pe_resources]" readonly="true"/> |
---|
| 159 | </row> |
---|
| 160 | </rows> |
---|
| 161 | </grid> |
---|
| 162 | </template> |
---|
| 163 | <template id="projectmanager.elements.edit.details" template="" lang="" group="0" version="0.4.001"> |
---|
| 164 | <grid width="100%" height="170" overflow="auto"> |
---|
| 165 | <columns> |
---|
| 166 | <column width="95"/> |
---|
| 167 | <column/> |
---|
| 168 | </columns> |
---|
| 169 | <rows> |
---|
| 170 | <row class="row" valign="top"> |
---|
| 171 | <description value="Details"/> |
---|
| 172 | <html id="ds[pe_details]"/> |
---|
| 173 | </row> |
---|
| 174 | </rows> |
---|
| 175 | </grid> |
---|
| 176 | </template> |
---|
| 177 | <template id="projectmanager.elements.edit" template="" lang="" group="0" version="0.4.001"> |
---|
| 178 | <grid width="100%" height="170"> |
---|
| 179 | <columns> |
---|
| 180 | <column width="100"/> |
---|
| 181 | <column width="50%"/> |
---|
| 182 | <column/> |
---|
| 183 | </columns> |
---|
| 184 | <rows> |
---|
| 185 | <row disabled="!@msg"> |
---|
| 186 | <description span="all" class="redItalic" align="center" id="msg" no_lang="1"/> |
---|
| 187 | <description/> |
---|
| 188 | <description/> |
---|
| 189 | </row> |
---|
| 190 | <row class="th"> |
---|
| 191 | <image src="pe_icon" align="center"/> |
---|
| 192 | <description no_lang="1" id="pe_title" span="2"/> |
---|
| 193 | </row> |
---|
| 194 | <row class="row"> |
---|
| 195 | <description options=",,,pe_cat_id" value="Category"/> |
---|
| 196 | <menulist> |
---|
| 197 | <menupopup type="select-cat" options="None" id="cat_id"/> |
---|
| 198 | </menulist> |
---|
| 199 | <checkbox options="ignore,regular" id="pe_status" statustext="do not use that entry as project-element" label="ignore that entry" span="2"/> |
---|
| 200 | </row> |
---|
| 201 | <row class="row"> |
---|
| 202 | <description options=",,,pe_remark" value="Comment"/> |
---|
| 203 | <textbox size="50" maxlength="50" id="pe_remark" span="2"/> |
---|
| 204 | </row> |
---|
| 205 | <row class="th"> |
---|
| 206 | <description value="Value"/> |
---|
| 207 | <description value="Overwrite the datasource"/> |
---|
| 208 | <description value="Datasource"/> |
---|
| 209 | </row> |
---|
| 210 | <row class="row"> |
---|
| 211 | <description options=",,,pe_completion" value="Status"/> |
---|
| 212 | <hbox options="0" orient="0"> |
---|
| 213 | <menulist> |
---|
| 214 | <menupopup type="select-percent" options="None" id="pe_completion"/> |
---|
| 215 | </menulist> |
---|
| 216 | <description/> |
---|
| 217 | </hbox> |
---|
| 218 | <description id="ds[pe_completion]" no_lang="1"/> |
---|
| 219 | </row> |
---|
| 220 | <row> |
---|
| 221 | <tabbox span="all"> |
---|
| 222 | <tabs> |
---|
| 223 | <tab label="Dates" statustext="Start- & Enddate"/> |
---|
| 224 | <tab label="Times" statustext="Times"/> |
---|
| 225 | <tab label="Budget" statustext="Budget"/> |
---|
| 226 | <tab label="Constraints" statustext="Constraints"/> |
---|
| 227 | <tab label="Resources" statustext="Resources"/> |
---|
| 228 | <tab label="Details" statustext="Details"/> |
---|
| 229 | </tabs> |
---|
| 230 | <tabpanels> |
---|
| 231 | <template id="projectmanager.elements.edit.dates"/> |
---|
| 232 | <template id="projectmanager.elements.edit.times"/> |
---|
| 233 | <template id="projectmanager.elements.edit.budget"/> |
---|
| 234 | <template id="projectmanager.elements.edit.constraints"/> |
---|
| 235 | <template id="projectmanager.elements.edit.resources"/> |
---|
| 236 | <template id="projectmanager.elements.edit.details"/> |
---|
| 237 | </tabpanels> |
---|
| 238 | </tabbox> |
---|
| 239 | </row> |
---|
| 240 | <row class="row_on"> |
---|
| 241 | <description value="Modified"/> |
---|
| 242 | <hbox> |
---|
| 243 | <date-time id="pe_modified" readonly="true"/> |
---|
| 244 | <menulist> |
---|
| 245 | <menupopup type="select-account" id="pe_modifier" label="by" readonly="true"/> |
---|
| 246 | </menulist> |
---|
| 247 | </hbox> |
---|
| 248 | <date-time id="pe_synced" readonly="true"/> |
---|
| 249 | </row> |
---|
| 250 | <row> |
---|
| 251 | <hbox span="2"> |
---|
| 252 | <button label="Edit" id="edit" statustext="Edit this project-element"/> |
---|
| 253 | <button id="save" label="Save" statustext="Save this project element"/> |
---|
| 254 | <button id="apply" label="Apply" statustext="Apply the changes"/> |
---|
| 255 | <button id="cancel" label="Cancel" statustext="Close the window, discard the changes made" onclick="window.close();"/> |
---|
| 256 | <html id="js"/> |
---|
| 257 | </hbox> |
---|
| 258 | <button label="Delete" align="right" id="delete" statustext="Delete this project-element, does NOT remove the linked entry" onclick="return confirm('Delete this project-element, does NOT remove the linked entry');"/> |
---|
| 259 | </row> |
---|
| 260 | </rows> |
---|
| 261 | </grid> |
---|
| 262 | </template> |
---|
| 263 | </overlay> |
---|