| [66] | 1 | |
|---|
| 2 | |
|---|
| 3 | <html> |
|---|
| 4 | <head> |
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
|---|
| 6 | <meta name="layout" content="main" /> |
|---|
| 7 | <title>TaskGroup List</title> |
|---|
| [556] | 8 | <nav:resources override="true"/> |
|---|
| [66] | 9 | </head> |
|---|
| 10 | <body> |
|---|
| 11 | <div class="nav"> |
|---|
| [556] | 12 | <nav:renderSubItems group="navAlt"/> |
|---|
| [66] | 13 | </div> |
|---|
| 14 | <div class="body"> |
|---|
| [555] | 15 | <g:render template="/shared/messages" /> |
|---|
| [66] | 16 | <div class="list"> |
|---|
| 17 | <table> |
|---|
| 18 | <thead> |
|---|
| 19 | <tr> |
|---|
| 20 | |
|---|
| 21 | <g:sortableColumn property="id" title="Id" /> |
|---|
| 22 | |
|---|
| 23 | <g:sortableColumn property="name" title="Name" /> |
|---|
| 24 | |
|---|
| 25 | <g:sortableColumn property="description" title="Description" /> |
|---|
| 26 | |
|---|
| 27 | <g:sortableColumn property="isActive" title="Is Active" /> |
|---|
| [556] | 28 | |
|---|
| 29 | <th></th> |
|---|
| [66] | 30 | |
|---|
| 31 | </tr> |
|---|
| 32 | </thead> |
|---|
| 33 | <tbody> |
|---|
| 34 | <g:each in="${taskGroupInstanceList}" status="i" var="taskGroupInstance"> |
|---|
| [556] | 35 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> |
|---|
| [66] | 36 | |
|---|
| [556] | 37 | <td onclick='window.location = "${request.getContextPath()}/taskGroupDetailed/show/${taskGroupInstance.id}"'> |
|---|
| 38 | ${fieldValue(bean:taskGroupInstance, field:'id')} |
|---|
| 39 | </td> |
|---|
| [66] | 40 | |
|---|
| [556] | 41 | <td onclick='window.location = "${request.getContextPath()}/taskGroupDetailed/show/${taskGroupInstance.id}"'> |
|---|
| 42 | ${fieldValue(bean:taskGroupInstance, field:'name')} |
|---|
| 43 | </td> |
|---|
| [66] | 44 | |
|---|
| [556] | 45 | <td onclick='window.location = "${request.getContextPath()}/taskGroupDetailed/show/${taskGroupInstance.id}"'> |
|---|
| 46 | ${fieldValue(bean:taskGroupInstance, field:'description')} |
|---|
| 47 | </td> |
|---|
| [66] | 48 | |
|---|
| [556] | 49 | <td onclick='window.location = "${request.getContextPath()}/taskGroupDetailed/show/${taskGroupInstance.id}"'> |
|---|
| 50 | ${fieldValue(bean:taskGroupInstance, field:'isActive')} |
|---|
| 51 | </td> |
|---|
| 52 | |
|---|
| 53 | <td class="notClickable"> |
|---|
| 54 | <g:link action="show" id="${taskGroupInstance.id}"> |
|---|
| 55 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
|---|
| 56 | </g:link> |
|---|
| 57 | </td> |
|---|
| [66] | 58 | |
|---|
| 59 | </tr> |
|---|
| 60 | </g:each> |
|---|
| 61 | </tbody> |
|---|
| 62 | </table> |
|---|
| 63 | </div> |
|---|
| 64 | <div class="paginateButtons"> |
|---|
| [122] | 65 | <g:paginate total="${taskGroupInstanceTotal}" /> |
|---|
| [66] | 66 | </div> |
|---|
| 67 | </div> |
|---|
| 68 | </body> |
|---|
| 69 | </html> |
|---|