Changeset 476 for trunk/grails-app/views
- Timestamp:
- Apr 7, 2010, 1:49:22 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/appCore/manager.gsp
r165 r476 33 33 <td valign="top" class="value"> 34 34 <g:link controller="taskDetailed" 35 action=" budget"35 action="search" 36 36 params="[quickSearch: 'budgetPlanned']"> 37 37 Planned Tasks … … 39 39 <br /> 40 40 <g:link controller="taskDetailed" 41 action=" budget"41 action="search" 42 42 params="[quickSearch: 'budgetUnplanned']"> 43 43 Unplanned Tasks -
trunk/grails-app/views/appCore/start.gsp
r155 r476 47 47 <g:link controller="taskDetailed" 48 48 action="search" 49 params="[quickSearch: 'searchMyTodays']"> 50 Today's 51 </g:link> 52 <br /> 53 <g:link controller="taskDetailed" 54 action="search" 55 params="[quickSearch: 'searchMyInTheLastWeek']"> 56 In the last week 49 params="[quickSearch: 'myTodays']"> 50 Today 57 51 </g:link> 58 52 </td> … … 61 55 <tr class="prop"> 62 56 <td valign="top" class="name"> 63 <label> Tasks:</label>57 <label>All Tasks:</label> 64 58 </td> 65 59 <td valign="top" class="value"> 66 60 <g:link controller="taskDetailed" 61 action="search" 62 params="[quickSearch: 'pastWeek']"> 63 Past Week 64 </g:link> 65 <br /> 66 <g:link controller="taskDetailed" 67 67 action="searchCalendar" 68 params="[quickSearch: 'search InTheLastWeek']">68 params="[quickSearch: 'searchPlannersRange']"> 69 69 Calendar 70 70 </g:link> -
trunk/grails-app/views/taskDetailed/search.gsp
r467 r476 15 15 <div class="body"> 16 16 <g:render template="/shared/messages" /> 17 <g:if test="${params.message}">18 <div class="message">${params.message}</div>19 </g:if>20 17 <g:hasErrors bean="${appCore}"> 21 18 <div class="errors"> … … 142 139 </g:if> 143 140 <div class="paginateButtons"> 144 <g:paginate total="${taskInstanceTotal}" params="${filterParams}" />141 <g:paginate action="search" total="${taskInstanceTotal}" params="${filterParams}" /> 145 142 </div> 146 143 … … 169 166 targetStartDate:[years:2020..2000,precision:'day'] 170 167 ]}"/> 168 169 <g:render template="quickSearchPane" /> 170 171 171 </div> <!-- end body --> 172 173 <!-- Start Search Pane -->174 <div class="overlayPane" id="searchPane" style="display:none;">175 <h2>Quick Search</h2>176 <g:form method="post" id="searchForm" name="searchForm" >177 <table>178 <tbody>179 180 <tr class="prop">181 <td valign="top" class="name">182 <label>My Tasks:</label>183 </td>184 <td valign="top" class="value">185 <g:link controller="taskDetailed"186 action="search"187 params="[quickSearch: 'searchMyTodays']">188 Today's189 </g:link>190 <br />191 <g:link controller="taskDetailed"192 action="search"193 params="[quickSearch: 'searchMyInTheLastWeek']">194 In the last week195 </g:link>196 </td>197 </tr>198 199 <tr class="prop">200 <td valign="top" class="name">201 <label>Tasks:</label>202 </td>203 <td valign="top" class="value">204 <g:link controller="taskDetailed"205 action="search"206 params="[quickSearch: 'searchTodays']">207 Today's208 </g:link>209 <br />210 <g:link controller="taskDetailed"211 action="search"212 params="[quickSearch: 'searchInTheLastWeek']">213 In the last week214 </g:link>215 </td>216 </tr>217 218 </tbody>219 </table>220 <div class="buttons">221 <span class="button">222 <input type="button" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />223 </span>224 </div>225 </g:form>226 </div> <!-- end search pane -->227 228 172 </body> 229 173 </html> -
trunk/grails-app/views/taskDetailed/searchCalendar.gsp
r474 r476 3 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 4 4 <meta name="layout" content="main" /> 5 <title>Task Search </title>5 <title>Task Search Calendar</title> 6 6 <filterpane:includes /> 7 7 <nav:resources override="true"/> 8 <resource:calendarMonthView /> 8 <resource:calendarMonthView skin="calendarmonthviewCustom"/> 9 <export:resource /> 9 10 </head> 10 11 <body> … … 14 15 15 16 <div class="body"> 16 <g:if test="${params.message}">17 <div class="message">${params.message}</div>18 </g:if>19 17 <g:render template="/shared/messages" /> 20 <g:hasErrors bean="${appCore}"> 21 <div class="errors"> 22 <g:renderErrors bean="${appCore}" as="list" /> 23 </div> 24 </g:hasErrors> 18 25 19 <filterpane:currentCriteria domainBean="Task" 26 20 action="searchCalendar" … … 41 35 </div> 42 36 43 <br /> 44 <g:link action="searchCalendar" params="[previousMonth:'true']"> 45 < Previous 46 </g:link> 47 <span style="font-size: 17px; font-weight: bold;"> 48 <g:formatDate date="${showMonth}" format="MMMM"/> 49 </span> 50 <g:link action="searchCalendar" params="[nextMonth:'true']"> 51 Next > 52 </g:link> 53 <br /> 37 <jsUtil:toggleControl toggleId="options" 38 imageId="optionsImg" 39 closedImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_right.png')}" 40 openImgUrl="${resource(dir:'images/skin',file:'bullet_arrow_down.png')}" 41 text="${g.message(code: 'default.options.text')}" 42 /> 43 44 <div id="options" style="display:none;"> 45 <g:form method="post" > 46 <g:hiddenField name="params" value="${filterParams}" /> 47 <div class="dialog"> 48 <table> 49 <tbody> 50 51 <tr class="prop"> 52 <td valign="top" class="name"> 53 <label for="max">Results per page:</label> 54 </td> 55 <td valign="top" class="value"> 56 <input type="text" maxlength="4" id="description" name="newMax" value="${params.max}"/> 57 58 <span class="buttons"> 59 <g:actionSubmit action="setSearchCalendarParamsMax" class="go" value="Update" /> 60 </span> 61 </td> 62 </tr> 63 64 </tbody> 65 </table> 66 </div> 67 <export:formats params="${filterParams}" formats="['csv', 'excel', 'pdf', 'rtf']"/> 68 </g:form> 69 </div> 70 54 71 <br /> 55 72 56 73 <g:if test="${taskInstanceList.size() > 0}"> 74 <div class="paginateButtons"> 75 <g:link action="searchCalendar" 76 params="[showMonth: previousYear.month, showYear: previousYear.year]"> 77 << 78 </g:link> 79 <g:link action="searchCalendar" 80 params="[showMonth: previousMonth.month, showYear: previousMonth.year]"> 81 < 82 </g:link> 83 <span class="calendarMonthControlTitle"> 84 <g:formatDate date="${showDate}" format="MMMM, yyyy"/> 85 </span> 86 <g:link action="searchCalendar" 87 params="[showMonth: nextMonth.month, showYear: nextMonth.year]"> 88 > 89 </g:link> 90 <g:link action="searchCalendar" 91 params="[showMonth: nextYear.month, showYear: nextYear.year]"> 92 >> 93 </g:link> 94 </div> 95 <div> 96 <g:link action="searchCalendar" 97 params="[showMonth: today.month, showYear: today.year]"> 98 Today: <g:formatDate date="${today.date}" format="MMMM, yyyy"/> 99 </g:link> 100 </div> 101 <br /> 102 57 103 <richui:calendarMonthView items="${taskInstanceList}" 58 104 createLink="true" 59 105 constraintDateFields="['targetStartDate']" 60 month="${show Month}"106 month="${showDate}" 61 107 controller="taskDetailed" 62 108 action="show" … … 70 116 additionalProperties="id" 71 117 excludeProperties="trash, comment, targetCompletionDate" 72 associatedProperties="leadPerson.lastName, taskPriority.name"118 associatedProperties="leadPerson.lastName, leadPerson.firstName, taskPriority.name" 73 119 filterPropertyValues="${['taskPriority.name':[values:TaskPriority.list()], 74 120 'leadPerson.lastName':[values:Person.executeQuery('select t.lastName from Person t')], 121 'leadPerson.firstName':[values:Person.executeQuery('select distinct t.firstName from Person t')], 75 122 targetStartDate:[years:2020..2000,precision:'day']]}"/> 76 123 124 <g:render template="quickSearchPane" /> 125 77 126 </div> <!-- end body div --> 78 79 <!-- Start Search Pane -->80 <div class="overlayPane" id="searchPane" style="display:none;">81 <h2>Quick Search</h2>82 <g:form method="post" id="searchForm" name="searchForm" >83 <table>84 <tbody>85 86 <tr class="prop">87 <td valign="top" class="name">88 <label>My Tasks:</label>89 </td>90 <td valign="top" class="value">91 <g:link controller="taskDetailed"92 action="searchCalendar"93 params="[quickSearch: 'searchMyTodays']">94 Today's95 </g:link>96 <br />97 <g:link controller="taskDetailed"98 action="searchCalendar"99 params="[quickSearch: 'searchMyInTheLastWeek']">100 In the last week101 </g:link>102 </td>103 </tr>104 105 <tr class="prop">106 <td valign="top" class="name">107 <label>Tasks:</label>108 </td>109 <td valign="top" class="value">110 <g:link controller="taskDetailed"111 action="searchCalendar"112 params="[quickSearch: 'searchTodays']">113 Today's114 </g:link>115 <br />116 <g:link controller="taskDetailed"117 action="searchCalendar"118 params="[quickSearch: 'searchInTheLastWeek']">119 In the last week120 </g:link>121 </td>122 </tr>123 124 </tbody>125 </table>126 <div class="buttons">127 <span class="button">128 <input type="button" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" />129 </span>130 </div>131 </g:form>132 </div> <!-- end search pane -->133 134 127 </body> 135 128 </html>
Note: See TracChangeset
for help on using the changeset viewer.