[139] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 4 | <meta name="layout" content="main" /> |
---|
| 5 | <title>Task Search</title> |
---|
| 6 | <nav:resources override="true"/> |
---|
| 7 | <resource:tabView skin="tabviewCustom" /> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <nav:renderSubItems group="nav"/> |
---|
| 12 | </div> |
---|
| 13 | |
---|
| 14 | <div class="body"> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <g:hasErrors bean="${appCore}"> |
---|
| 19 | <div class="errors"> |
---|
| 20 | <g:renderErrors bean="${appCore}" as="list" /> |
---|
| 21 | </div> |
---|
| 22 | </g:hasErrors> |
---|
| 23 | |
---|
| 24 | <richui:tabView id="tabView"> |
---|
| 25 | |
---|
| 26 | <richui:tabLabels> |
---|
| 27 | <richui:tabLabel selected="true" title="Quick" /> |
---|
| 28 | <richui:tabLabel selected="${0}" title="Basic" /> |
---|
| 29 | <richui:tabLabel selected="${0}" title="Advanced" /> |
---|
| 30 | </richui:tabLabels> |
---|
| 31 | |
---|
| 32 | <richui:tabContents> |
---|
| 33 | |
---|
| 34 | <!-- Quick tab --> |
---|
| 35 | <richui:tabContent> |
---|
| 36 | <br /> |
---|
| 37 | <br /> |
---|
| 38 | <g:form controller="taskDetailed"> |
---|
| 39 | Task ID: |
---|
| 40 | <input type="text" name="id" value="${taskInstance?.id}" /> |
---|
| 41 | <span class="button"><g:actionSubmit class="show" value="Show" /></span> |
---|
| 42 | </g:form> |
---|
| 43 | <br /> |
---|
| 44 | <br /> |
---|
| 45 | Show: |
---|
| 46 | <g:link action="searchShowAll">Active</g:link> |
---|
| 47 | / |
---|
| 48 | <g:link action="searchShowDeleted">Inactive</g:link> |
---|
| 49 | </richui:tabContent> |
---|
| 50 | <!-- End Quick tab --> |
---|
| 51 | |
---|
| 52 | <!-- Basic tab --> |
---|
| 53 | <richui:tabContent> |
---|
| 54 | <br /> |
---|
| 55 | <br /> |
---|
| 56 | |
---|
| 57 | </richui:tabContent> |
---|
| 58 | <!-- End Basic tab --> |
---|
| 59 | |
---|
| 60 | <!-- Advanced tab --> |
---|
| 61 | <richui:tabContent> |
---|
| 62 | <br /> |
---|
| 63 | <br /> |
---|
| 64 | </richui:tabContent> |
---|
| 65 | <!-- End Advanced tab --> |
---|
| 66 | |
---|
| 67 | </richui:tabContents> |
---|
| 68 | </richui:tabView> |
---|
| 69 | |
---|
| 70 | <div class="list"> |
---|
| 71 | <table> |
---|
| 72 | <thead> |
---|
| 73 | <tr> |
---|
| 74 | |
---|
| 75 | <g:sortableColumn property="id" title="Id" /> |
---|
| 76 | |
---|
| 77 | <g:sortableColumn property="targetStartDate" title="Target Start Date" /> |
---|
| 78 | |
---|
| 79 | <g:sortableColumn property="description" title="Description" /> |
---|
| 80 | |
---|
| 81 | <g:sortableColumn property="leadPerson" title="Lead Person" /> |
---|
| 82 | |
---|
| 83 | <g:sortableColumn property="taskPriority" title="Task Priority" /> |
---|
| 84 | |
---|
| 85 | <g:sortableColumn property="taskStatus" title="Task Status" /> |
---|
| 86 | |
---|
| 87 | <th></th> |
---|
| 88 | |
---|
| 89 | </tr> |
---|
| 90 | </thead> |
---|
| 91 | <tbody> |
---|
| 92 | <g:each in="${taskInstanceList}" status="i" var="taskInstance"> |
---|
| 93 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/> |
---|
| 94 | |
---|
| 95 | <td>${fieldValue(bean:taskInstance, field:'id')}</td> |
---|
| 96 | |
---|
| 97 | <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> |
---|
| 98 | |
---|
| 99 | <td>${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
| 100 | |
---|
| 101 | <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td> |
---|
| 102 | |
---|
| 103 | <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td> |
---|
| 104 | |
---|
| 105 | <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> |
---|
| 106 | |
---|
| 107 | <td> |
---|
| 108 | <g:link action="show" id="${taskInstance.id}"> |
---|
| 109 | <img src="${createLinkTo(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 110 | </g:link> |
---|
| 111 | </td> |
---|
| 112 | |
---|
| 113 | </tr> |
---|
| 114 | </g:each> |
---|
| 115 | </tbody> |
---|
| 116 | </table> |
---|
| 117 | </div> |
---|
| 118 | <div class="paginateButtons"> |
---|
| 119 | <g:paginate total="${taskInstanceTotal}" /> |
---|
| 120 | </div> |
---|
| 121 | |
---|
| 122 | </div> <!-- end body div --> |
---|
| 123 | </body> |
---|
| 124 | </html> |
---|