Changeset 467 for trunk/grails-app/views/taskDetailed
- Timestamp:
- Mar 30, 2010, 7:29:54 PM (15 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/budget.gsp
r324 r467 27 27 <div class="paginateButtons"> 28 28 <a href='' onclick="showElement('searchPane'); return false;">Quick</a> 29 Results: ${taskInstanceTotal}29 Results: ${taskInstanceList.size()} / ${taskInstanceTotal} 30 30 </div> 31 31 32 <div class="list"> 33 <table> 34 <thead> 35 <tr> 32 <g:if test="${taskInstanceList.size() > 0}"> 33 <div class="list"> 34 <table> 35 <thead> 36 <tr> 36 37 37 <g:sortableColumn property="id" title="Id" params="${filterParams}" />38 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 38 39 39 <g:sortableColumn property="targetStartDate" title="Target Start Date" params="${filterParams}" />40 <g:sortableColumn property="targetStartDate" title="Target Start Date" params="${filterParams}" /> 40 41 41 <g:sortableColumn property="description" title="Description" params="${filterParams}" />42 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 42 43 43 <g:sortableColumn property="leadPerson" title="Lead Person" params="${filterParams}" />44 <g:sortableColumn property="leadPerson" title="Lead Person" params="${filterParams}" /> 44 45 45 <g:sortableColumn property="taskPriority" title="Task Priority" params="${filterParams}" />46 <g:sortableColumn property="taskPriority" title="Task Priority" params="${filterParams}" /> 46 47 47 <g:sortableColumn property="taskStatus" title="Task Status" params="${filterParams}" />48 <g:sortableColumn property="taskStatus" title="Task Status" params="${filterParams}" /> 48 49 49 <th></th>50 <th></th> 50 51 51 </tr>52 </thead>53 <tbody>54 <g:each in="${taskInstanceList}" status="i" var="taskInstance">55 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/>52 </tr> 53 </thead> 54 <tbody> 55 <g:each in="${taskInstanceList}" status="i" var="taskInstance"> 56 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/> 56 57 57 <td>${fieldValue(bean:taskInstance, field:'id')}</td>58 <td>${fieldValue(bean:taskInstance, field:'id')}</td> 58 59 59 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>60 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> 60 61 61 <td>${fieldValue(bean:taskInstance, field:'description')}</td>62 <td>${fieldValue(bean:taskInstance, field:'description')}</td> 62 63 63 <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td>64 <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td> 64 65 65 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td>66 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td> 66 67 67 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td>68 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 68 69 69 <td>70 <g:link action="show" id="${taskInstance.id}">71 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />72 </g:link>73 </td>70 <td> 71 <g:link action="show" id="${taskInstance.id}"> 72 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 73 </g:link> 74 </td> 74 75 75 </tr> 76 </g:each> 77 </tbody> 78 </table> 79 </div> 76 </tr> 77 </g:each> 78 </tbody> 79 </table> 80 </div> 81 </g:if> 80 82 <div class="paginateButtons"> 81 83 <g:paginate total="${taskInstanceTotal}" params="${filterParams}" /> -
trunk/grails-app/views/taskDetailed/search.gsp
r466 r467 84 84 </g:if> 85 85 86 <div class="list"> 87 <table> 88 <thead> 89 <tr> 90 91 <custom:sortableColumnWithImg property="attentionFlag" 92 imgSrc="${resource(dir:'images/skin',file:'flag_red.png')}" 93 imgAlt="Flag" params="${filterParams}" /> 94 95 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 96 97 <g:sortableColumn property="targetStartDate" title="Target Start Date" params="${filterParams}" /> 98 99 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 100 101 <g:sortableColumn property="taskPriority" title="Task Priority" params="${filterParams}" /> 102 103 <g:sortableColumn property="taskStatus" title="Task Status" params="${filterParams}" /> 104 105 <th></th> 106 107 </tr> 108 </thead> 109 <tbody> 110 <g:each in="${taskInstanceList}" status="i" var="taskInstance"> 111 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/> 112 113 <td class="idColumn"> 114 <g:if test="${taskInstance.attentionFlag}"> 115 <img src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" /> 116 </g:if> 117 </td> 118 119 <td class="idColumn">${fieldValue(bean:taskInstance, field:'id')}</td> 120 121 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> 122 123 <td>${fieldValue(bean:taskInstance, field:'description')}</td> 124 125 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td> 126 127 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 128 129 <td> 130 <g:link action="show" id="${taskInstance.id}"> 131 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 132 </g:link> 133 </td> 134 135 </tr> 136 </g:each> 137 </tbody> 138 </table> 139 </div> 86 <g:if test="${taskInstanceList.size() > 0}"> 87 <div class="list"> 88 <table> 89 <thead> 90 <tr> 91 92 <custom:sortableColumnWithImg property="attentionFlag" 93 imgSrc="${resource(dir:'images/skin',file:'flag_red.png')}" 94 imgAlt="Flag" params="${filterParams}" /> 95 96 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 97 98 <g:sortableColumn property="targetStartDate" title="Target Start Date" params="${filterParams}" /> 99 100 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 101 102 <g:sortableColumn property="taskPriority" title="Task Priority" params="${filterParams}" /> 103 104 <g:sortableColumn property="taskStatus" title="Task Status" params="${filterParams}" /> 105 106 <th></th> 107 108 </tr> 109 </thead> 110 </tbody> 111 <tbody> 112 <g:each in="${taskInstanceList}" status="i" var="taskInstance"> 113 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/> 114 115 <td class="idColumn"> 116 <g:if test="${taskInstance.attentionFlag}"> 117 <img src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" /> 118 </g:if> 119 </td> 120 121 <td class="idColumn">${fieldValue(bean:taskInstance, field:'id')}</td> 122 123 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> 124 125 <td>${fieldValue(bean:taskInstance, field:'description')}</td> 126 127 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td> 128 129 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 130 131 <td> 132 <g:link action="show" id="${taskInstance.id}"> 133 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 134 </g:link> 135 </td> 136 137 </tr> 138 </g:each> 139 </tbody> 140 </table> 141 </div> 142 </g:if> 140 143 <div class="paginateButtons"> 141 144 <g:paginate total="${taskInstanceTotal}" params="${filterParams}" /> -
trunk/grails-app/views/taskDetailed/searchCalendar.gsp
r450 r467 14 14 15 15 <div class="body"> 16 <g:if test="${flash.message}">17 <div class="message">${flash.message}</div>18 </g:if>19 16 <g:if test="${params.message}"> 20 17 <div class="message">${params.message}</div> 21 18 </g:if> 19 <g:render template="/shared/messages" /> 22 20 <g:hasErrors bean="${appCore}"> 23 21 <div class="errors"> … … 37 35 <a href='' onclick="showElement('searchPane'); return false;">Quick</a> 38 36 </span> 39 Results: ${taskInstanceTotal}37 Results: ${taskInstanceList.size()} / ${taskInstanceTotal} 40 38 <span class="searchButtons"> 41 39 <filterpane:filterButton text="Advanced" appliedText="Advanced" /> 42 40 </span> 43 41 </div> 44 <richui:calendarMonthView items="${taskInstanceList}" 45 createLink="true" 46 constraintDateFields="['targetStartDate']" 47 month="${new Date()}" 48 controller="taskDetailed" 49 action="show" 50 dayAction="create"/> 42 <g:if test="${taskInstanceList.size() > 0}"> 43 <richui:calendarMonthView items="${taskInstanceList}" 44 createLink="true" 45 constraintDateFields="['targetStartDate']" 46 month="${new Date()}" 47 controller="taskDetailed" 48 action="show" 49 dayAction="create"/> 50 </g:if> 51 51 52 <filterpane:filterPane domainBean="Task" 52 53 title="Advanced Search" … … 113 114 <input type="button" value="${g.message(code:'fp.tag.filterPane.button.cancel.text', default:'Cancel')}" onclick="return hideElement('searchPane');" /> 114 115 </span> 115 <!-- <span class="button">116 <input type="button" value="${g.message(code:'fp.tag.filterPane.button.clear.text', default:'Clear')}" onclick="return clearFilterPane('searchForm');" />117 </span>118 <span class="button">119 <g:actionSubmit class="search" value="Search" />120 </span>-->121 116 </div> 122 117 </g:form> 123 118 </div> <!-- end search pane --> 124 119 125 120 </body> 126 121 </html>
Note: See TracChangeset
for help on using the changeset viewer.