Changeset 157 for trunk/grails-app/views/taskRecurringSchedule
- Timestamp:
- Oct 21, 2009, 5:07:30 PM (15 years ago)
- Location:
- trunk/grails-app/views/taskRecurringSchedule
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskRecurringSchedule/create.gsp
r151 r157 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${ resource(dir:'')}">Home</a></span>11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 </div> … … 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for="recurEvery">Recur Every:</label> 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 34 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 35 </td> 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name"> 40 <label for="taskDuration">Task Duration:</label> 41 </td> 42 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDuration','errors')}"> 43 <input type="text" id="taskDuration" name="taskDuration" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'taskDuration')}" /> 44 </td> 45 </tr> 46 47 <tr class="prop"> 48 <td valign="top" class="name"> 49 <label for="generateAhead">Generate Ahead:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> 52 <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 31 58 <label for="lastGeneratedDate">Last Generated Date:</label> 32 59 </td> … … 42 69 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}"> 43 70 <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select> 44 </td>45 </tr>46 47 <tr class="prop">48 <td valign="top" class="name">49 <label for="generateAhead">Generate Ahead:</label>50 </td>51 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}">52 <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" />53 71 </td> 54 72 </tr> … … 74 92 <tr class="prop"> 75 93 <td valign="top" class="name"> 76 <label for="nextDueDate">Next Due Date:</label>77 </td>78 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextDueDate','errors')}">79 <g:datePicker name="nextDueDate" value="${taskRecurringScheduleInstance?.nextDueDate}" ></g:datePicker>80 </td>81 </tr>82 83 <tr class="prop">84 <td valign="top" class="name">85 94 <label for="nextGenerationDate">Next Generation Date:</label> 86 95 </td> … … 92 101 <tr class="prop"> 93 102 <td valign="top" class="name"> 94 <label for=" recurEvery">Recur Every:</label>103 <label for="nextTargetCompletionDate">Next Target Completion Date:</label> 95 104 </td> 96 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 97 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 105 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}"> 106 <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" ></g:datePicker> 107 </td> 108 </tr> 109 110 <tr class="prop"> 111 <td valign="top" class="name"> 112 <label for="nextTargetStartDate">Next Target Start Date:</label> 113 </td> 114 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> 115 <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" ></g:datePicker> 98 116 </td> 99 117 </tr> … … 126 144 </tr> 127 145 146 <tr class="prop"> 147 <td valign="top" class="name"> 148 <label for="taskDurationPeriod">Task Duration Period:</label> 149 </td> 150 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDurationPeriod','errors')}"> 151 <g:select optionKey="id" from="${Period.list()}" name="taskDurationPeriod.id" value="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}" ></g:select> 152 </td> 153 </tr> 154 128 155 </tbody> 129 156 </table> -
trunk/grails-app/views/taskRecurringSchedule/edit.gsp
r151 r157 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${ resource(dir:'')}">Home</a></span>11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> … … 32 32 <tr class="prop"> 33 33 <td valign="top" class="name"> 34 <label for="recurEvery">Recur Every:</label> 35 </td> 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')}" /> 38 </td> 39 </tr> 40 41 <tr class="prop"> 42 <td valign="top" class="name"> 43 <label for="taskDuration">Task Duration:</label> 44 </td> 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')}" /> 47 </td> 48 </tr> 49 50 <tr class="prop"> 51 <td valign="top" class="name"> 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"> 34 61 <label for="lastGeneratedDate">Last Generated Date:</label> 35 62 </td> … … 45 72 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}"> 46 73 <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select> 47 </td>48 </tr>49 50 <tr class="prop">51 <td valign="top" class="name">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 74 </td> 57 75 </tr> … … 77 95 <tr class="prop"> 78 96 <td valign="top" class="name"> 79 <label for="nextDueDate">Next Due Date:</label>80 </td>81 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextDueDate','errors')}">82 <g:datePicker name="nextDueDate" value="${taskRecurringScheduleInstance?.nextDueDate}" ></g:datePicker>83 </td>84 </tr>85 86 <tr class="prop">87 <td valign="top" class="name">88 97 <label for="nextGenerationDate">Next Generation Date:</label> 89 98 </td> … … 95 104 <tr class="prop"> 96 105 <td valign="top" class="name"> 97 <label for=" recurEvery">Recur Every:</label>106 <label for="nextTargetCompletionDate">Next Target Completion Date:</label> 98 107 </td> 99 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 100 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 108 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}"> 109 <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" ></g:datePicker> 110 </td> 111 </tr> 112 113 <tr class="prop"> 114 <td valign="top" class="name"> 115 <label for="nextTargetStartDate">Next Target Start Date:</label> 116 </td> 117 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> 118 <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" ></g:datePicker> 101 119 </td> 102 120 </tr> … … 129 147 </tr> 130 148 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 131 158 </tbody> 132 159 </table> -
trunk/grails-app/views/taskRecurringSchedule/list.gsp
r151 r157 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${ resource(dir:'')}">Home</a></span>11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 12 <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> 13 13 </div> … … 24 24 <g:sortableColumn property="id" title="Id" /> 25 25 26 <g:sortableColumn property="recurEvery" title="Recur Every" /> 27 28 <g:sortableColumn property="taskDuration" title="Task Duration" /> 29 30 <g:sortableColumn property="generateAhead" title="Generate Ahead" /> 31 26 32 <g:sortableColumn property="lastGeneratedDate" title="Last Generated Date" /> 27 33 28 34 <th>Last Generated Sub Task</th> 29 35 30 <g:sortableColumn property="generateAhead" title="Generate Ahead" />31 32 <th>Generate Ahead Period</th>33 34 <g:sortableColumn property="isEnabled" title="Is Enabled" />35 36 36 </tr> 37 37 </thead> … … 42 42 <td><g:link action="show" id="${taskRecurringScheduleInstance.id}">${fieldValue(bean:taskRecurringScheduleInstance, field:'id')}</g:link></td> 43 43 44 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td> 45 46 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'taskDuration')}</td> 47 48 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td> 49 44 50 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedDate')}</td> 45 51 46 52 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'lastGeneratedSubTask')}</td> 47 48 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td>49 50 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAheadPeriod')}</td>51 52 <td>${fieldValue(bean:taskRecurringScheduleInstance, field:'isEnabled')}</td>53 53 54 54 </tr> -
trunk/grails-app/views/taskRecurringSchedule/show.gsp
r151 r157 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${ resource(dir:'')}">Home</a></span>11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> … … 31 31 32 32 <tr class="prop"> 33 <td valign="top" class="name">Recur Every:</td> 34 35 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td> 36 37 </tr> 38 39 <tr class="prop"> 40 <td valign="top" class="name">Task Duration:</td> 41 42 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'taskDuration')}</td> 43 44 </tr> 45 46 <tr class="prop"> 47 <td valign="top" class="name">Generate Ahead:</td> 48 49 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td> 50 51 </tr> 52 53 <tr class="prop"> 33 54 <td valign="top" class="name">Last Generated Date:</td> 34 55 … … 41 62 42 63 <td valign="top" class="value"><g:link controller="task" action="show" id="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}">${taskRecurringScheduleInstance?.lastGeneratedSubTask?.encodeAsHTML()}</g:link></td> 43 44 </tr>45 46 <tr class="prop">47 <td valign="top" class="name">Generate Ahead:</td>48 49 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'generateAhead')}</td>50 64 51 65 </tr> … … 66 80 67 81 <tr class="prop"> 68 <td valign="top" class="name">Next Due Date:</td>69 70 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'nextDueDate')}</td>71 72 </tr>73 74 <tr class="prop">75 82 <td valign="top" class="name">Next Generation Date:</td> 76 83 … … 80 87 81 88 <tr class="prop"> 82 <td valign="top" class="name"> Recur Every:</td>89 <td valign="top" class="name">Next Target Completion Date:</td> 83 90 84 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'recurEvery')}</td> 91 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'nextTargetCompletionDate')}</td> 92 93 </tr> 94 95 <tr class="prop"> 96 <td valign="top" class="name">Next Target Start Date:</td> 97 98 <td valign="top" class="value">${fieldValue(bean:taskRecurringScheduleInstance, field:'nextTargetStartDate')}</td> 85 99 86 100 </tr> … … 107 121 </tr> 108 122 123 <tr class="prop"> 124 <td valign="top" class="name">Task Duration Period:</td> 125 126 <td valign="top" class="value"><g:link controller="period" action="show" id="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}">${taskRecurringScheduleInstance?.taskDurationPeriod?.encodeAsHTML()}</g:link></td> 127 128 </tr> 129 109 130 </tbody> 110 131 </table>
Note: See TracChangeset
for help on using the changeset viewer.