[122] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
[131] | 7 | <title>Edit TaskRecurringSchedule</title> |
---|
[122] | 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[159] | 11 | <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span> |
---|
[131] | 12 | <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> |
---|
| 13 | <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> |
---|
[122] | 14 | </div> |
---|
| 15 | <div class="body"> |
---|
[131] | 16 | <h1>Edit TaskRecurringSchedule</h1> |
---|
[122] | 17 | <g:if test="${flash.message}"> |
---|
| 18 | <div class="message">${flash.message}</div> |
---|
| 19 | </g:if> |
---|
[131] | 20 | <g:hasErrors bean="${taskRecurringScheduleInstance}"> |
---|
[122] | 21 | <div class="errors"> |
---|
[131] | 22 | <g:renderErrors bean="${taskRecurringScheduleInstance}" as="list" /> |
---|
[122] | 23 | </div> |
---|
| 24 | </g:hasErrors> |
---|
| 25 | <g:form method="post" > |
---|
[131] | 26 | <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" /> |
---|
| 27 | <input type="hidden" name="version" value="${taskRecurringScheduleInstance?.version}" /> |
---|
[122] | 28 | <div class="dialog"> |
---|
| 29 | <table> |
---|
| 30 | <tbody> |
---|
| 31 | |
---|
| 32 | <tr class="prop"> |
---|
| 33 | <td valign="top" class="name"> |
---|
[157] | 34 | <label for="recurEvery">Recur Every:</label> |
---|
[122] | 35 | </td> |
---|
[157] | 36 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> |
---|
| 37 | <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> |
---|
[122] | 38 | </td> |
---|
| 39 | </tr> |
---|
| 40 | |
---|
| 41 | <tr class="prop"> |
---|
| 42 | <td valign="top" class="name"> |
---|
[157] | 43 | <label for="taskDuration">Task Duration:</label> |
---|
[123] | 44 | </td> |
---|
[157] | 45 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDuration','errors')}"> |
---|
| 46 | <input type="text" id="taskDuration" name="taskDuration" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'taskDuration')}" /> |
---|
[123] | 47 | </td> |
---|
| 48 | </tr> |
---|
| 49 | |
---|
| 50 | <tr class="prop"> |
---|
| 51 | <td valign="top" class="name"> |
---|
[137] | 52 | <label for="generateAhead">Generate Ahead:</label> |
---|
| 53 | </td> |
---|
| 54 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> |
---|
| 55 | <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> |
---|
| 56 | </td> |
---|
| 57 | </tr> |
---|
| 58 | |
---|
| 59 | <tr class="prop"> |
---|
| 60 | <td valign="top" class="name"> |
---|
[157] | 61 | <label for="lastGeneratedDate">Last Generated Date:</label> |
---|
| 62 | </td> |
---|
| 63 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}"> |
---|
[159] | 64 | <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" precision="minute" noSelection="['':'']"></g:datePicker> |
---|
[157] | 65 | </td> |
---|
| 66 | </tr> |
---|
| 67 | |
---|
| 68 | <tr class="prop"> |
---|
| 69 | <td valign="top" class="name"> |
---|
| 70 | <label for="lastGeneratedSubTask">Last Generated Sub Task:</label> |
---|
| 71 | </td> |
---|
| 72 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}"> |
---|
| 73 | <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select> |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | |
---|
| 77 | <tr class="prop"> |
---|
| 78 | <td valign="top" class="name"> |
---|
[137] | 79 | <label for="generateAheadPeriod">Generate Ahead Period:</label> |
---|
| 80 | </td> |
---|
| 81 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAheadPeriod','errors')}"> |
---|
| 82 | <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> |
---|
| 83 | </td> |
---|
| 84 | </tr> |
---|
| 85 | |
---|
| 86 | <tr class="prop"> |
---|
| 87 | <td valign="top" class="name"> |
---|
[131] | 88 | <label for="isEnabled">Is Enabled:</label> |
---|
[123] | 89 | </td> |
---|
[131] | 90 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'isEnabled','errors')}"> |
---|
| 91 | <g:checkBox name="isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox> |
---|
[123] | 92 | </td> |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | <tr class="prop"> |
---|
| 96 | <td valign="top" class="name"> |
---|
[157] | 97 | <label for="nextGenerationDate">Next Generation Date:</label> |
---|
[122] | 98 | </td> |
---|
[157] | 99 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}"> |
---|
[159] | 100 | <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" precision="minute" ></g:datePicker> |
---|
[122] | 101 | </td> |
---|
| 102 | </tr> |
---|
| 103 | |
---|
| 104 | <tr class="prop"> |
---|
| 105 | <td valign="top" class="name"> |
---|
[157] | 106 | <label for="nextTargetCompletionDate">Next Target Completion Date:</label> |
---|
[122] | 107 | </td> |
---|
[157] | 108 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}"> |
---|
[159] | 109 | <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" precision="minute" ></g:datePicker> |
---|
[122] | 110 | </td> |
---|
| 111 | </tr> |
---|
| 112 | |
---|
| 113 | <tr class="prop"> |
---|
| 114 | <td valign="top" class="name"> |
---|
[157] | 115 | <label for="nextTargetStartDate">Next Target Start Date:</label> |
---|
[122] | 116 | </td> |
---|
[157] | 117 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> |
---|
[159] | 118 | <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" precision="minute" ></g:datePicker> |
---|
[122] | 119 | </td> |
---|
| 120 | </tr> |
---|
| 121 | |
---|
| 122 | <tr class="prop"> |
---|
| 123 | <td valign="top" class="name"> |
---|
[137] | 124 | <label for="recurPeriod">Recur Period:</label> |
---|
| 125 | </td> |
---|
| 126 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurPeriod','errors')}"> |
---|
| 127 | <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> |
---|
| 128 | </td> |
---|
| 129 | </tr> |
---|
| 130 | |
---|
| 131 | <tr class="prop"> |
---|
| 132 | <td valign="top" class="name"> |
---|
[122] | 133 | <label for="startDate">Start Date:</label> |
---|
| 134 | </td> |
---|
[131] | 135 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'startDate','errors')}"> |
---|
[159] | 136 | <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" precision="minute" ></g:datePicker> |
---|
[122] | 137 | </td> |
---|
| 138 | </tr> |
---|
| 139 | |
---|
| 140 | <tr class="prop"> |
---|
| 141 | <td valign="top" class="name"> |
---|
| 142 | <label for="task">Task:</label> |
---|
| 143 | </td> |
---|
[131] | 144 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'task','errors')}"> |
---|
| 145 | <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${taskRecurringScheduleInstance?.task?.id}" ></g:select> |
---|
[122] | 146 | </td> |
---|
| 147 | </tr> |
---|
| 148 | |
---|
[157] | 149 | <tr class="prop"> |
---|
| 150 | <td valign="top" class="name"> |
---|
| 151 | <label for="taskDurationPeriod">Task Duration Period:</label> |
---|
| 152 | </td> |
---|
| 153 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDurationPeriod','errors')}"> |
---|
| 154 | <g:select optionKey="id" from="${Period.list()}" name="taskDurationPeriod.id" value="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}" ></g:select> |
---|
| 155 | </td> |
---|
| 156 | </tr> |
---|
| 157 | |
---|
[122] | 158 | </tbody> |
---|
| 159 | </table> |
---|
| 160 | </div> |
---|
| 161 | <div class="buttons"> |
---|
| 162 | <span class="button"><g:actionSubmit class="save" value="Update" /></span> |
---|
| 163 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 164 | </div> |
---|
| 165 | </g:form> |
---|
| 166 | </div> |
---|
| 167 | </body> |
---|
| 168 | </html> |
---|