[122] | 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>MaintenancePolicy List</title> |
---|
[363] | 8 | <nav:resources override="true"/> |
---|
[122] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[363] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[122] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <div class="list"> |
---|
| 19 | <table> |
---|
| 20 | <thead> |
---|
| 21 | <tr> |
---|
| 22 | |
---|
[384] | 23 | <g:sortableColumn property="id" title="Id" /> |
---|
| 24 | |
---|
| 25 | <g:sortableColumn property="name" title="Name" /> |
---|
| 26 | |
---|
| 27 | <g:sortableColumn property="description" title="Description" /> |
---|
| 28 | |
---|
| 29 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 30 | |
---|
[363] | 31 | <th></th> |
---|
[122] | 32 | </tr> |
---|
| 33 | </thead> |
---|
| 34 | <tbody> |
---|
| 35 | <g:each in="${maintenancePolicyInstanceList}" status="i" var="maintenancePolicyInstance"> |
---|
[836] | 36 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"> |
---|
[122] | 37 | |
---|
[498] | 38 | <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'> |
---|
| 39 | ${fieldValue(bean:maintenancePolicyInstance, field:'id')} |
---|
| 40 | </td> |
---|
[122] | 41 | |
---|
[498] | 42 | <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'> |
---|
| 43 | ${fieldValue(bean:maintenancePolicyInstance, field:'name')} |
---|
| 44 | </td> |
---|
[268] | 45 | |
---|
[498] | 46 | <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'> |
---|
| 47 | ${fieldValue(bean:maintenancePolicyInstance, field:'description')} |
---|
| 48 | </td> |
---|
[122] | 49 | |
---|
[498] | 50 | <td onclick='window.location = "${request.getContextPath()}/maintenancePolicyDetailed/show/${maintenancePolicyInstance.id}"'> |
---|
| 51 | ${fieldValue(bean:maintenancePolicyInstance, field:'isActive')} |
---|
| 52 | </td> |
---|
[363] | 53 | |
---|
[498] | 54 | <td class="notClickable"> |
---|
[363] | 55 | <g:link action="show" id="${maintenancePolicyInstance.id}"> |
---|
| 56 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 57 | </g:link> |
---|
| 58 | </td> |
---|
[122] | 59 | |
---|
| 60 | </tr> |
---|
| 61 | </g:each> |
---|
| 62 | </tbody> |
---|
| 63 | </table> |
---|
| 64 | </div> |
---|
| 65 | <div class="paginateButtons"> |
---|
| 66 | <g:paginate total="${maintenancePolicyInstanceTotal}" /> |
---|
| 67 | </div> |
---|
| 68 | </div> |
---|
| 69 | </body> |
---|
| 70 | </html> |
---|