[133] | 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>TaskProcedure List</title> |
---|
[147] | 8 | <filterpane:includes /> |
---|
| 9 | <nav:resources override="true"/> |
---|
[133] | 10 | </head> |
---|
| 11 | <body> |
---|
| 12 | <div class="nav"> |
---|
[147] | 13 | <nav:renderSubItems group="navAlt"/> |
---|
[133] | 14 | </div> |
---|
| 15 | <div class="body"> |
---|
| 16 | <g:if test="${flash.message}"> |
---|
| 17 | <div class="message">${flash.message}</div> |
---|
| 18 | </g:if> |
---|
[155] | 19 | <filterpane:currentCriteria domainBean="TaskProcedure" |
---|
[147] | 20 | action="list" |
---|
[450] | 21 | dateFormat="EEE, dd-MMM-yyyy" |
---|
[147] | 22 | removeImgDir="images" |
---|
| 23 | removeImgFile="bullet_delete.png" |
---|
| 24 | title="Search"/> |
---|
[155] | 25 | |
---|
| 26 | <div class="paginateButtons"> |
---|
[221] | 27 | <span class="searchButtons"> |
---|
| 28 | <filterpane:filterButton text="Search" appliedText="Change Search" /> |
---|
| 29 | </span> |
---|
[467] | 30 | Results: ${taskProcedureInstanceList.size()} / ${taskProcedureInstanceTotal} |
---|
[155] | 31 | </div> |
---|
| 32 | |
---|
[147] | 33 | |
---|
[467] | 34 | <g:if test="${taskProcedureInstanceList.size() > 0}"> |
---|
| 35 | <div class="list"> |
---|
| 36 | <table> |
---|
| 37 | <thead> |
---|
| 38 | <tr> |
---|
[798] | 39 | |
---|
[467] | 40 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
[798] | 41 | <th>Description</th> |
---|
| 42 | <th>Asset</th> |
---|
[147] | 43 | |
---|
[467] | 44 | <th></th> |
---|
[798] | 45 | |
---|
[467] | 46 | </tr> |
---|
| 47 | </thead> |
---|
| 48 | <tbody> |
---|
| 49 | <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> |
---|
| 50 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> |
---|
[798] | 51 | |
---|
[467] | 52 | <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
---|
[798] | 53 | |
---|
| 54 | <td>${taskProcedureInstance.description.encodeAsHTML()}</td> |
---|
| 55 | |
---|
| 56 | <td>${taskProcedureInstance.asset?.encodeAsHTML()}</td> |
---|
| 57 | |
---|
[467] | 58 | <td> |
---|
| 59 | <g:link action="show" id="${taskProcedureInstance.id}"> |
---|
| 60 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 61 | </g:link> |
---|
| 62 | </td> |
---|
[798] | 63 | |
---|
[467] | 64 | </tr> |
---|
| 65 | </g:each> |
---|
| 66 | </tbody> |
---|
| 67 | </table> |
---|
| 68 | </div> |
---|
| 69 | </g:if> |
---|
| 70 | |
---|
[133] | 71 | <div class="paginateButtons"> |
---|
[147] | 72 | <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> |
---|
[133] | 73 | </div> |
---|
[147] | 74 | |
---|
| 75 | <filterpane:filterPane domainBean="TaskProcedure" |
---|
| 76 | title="Search" |
---|
| 77 | action="list" |
---|
[155] | 78 | class="overlayPane" |
---|
[798] | 79 | additionalProperties="id" |
---|
| 80 | excludeProperties="" |
---|
| 81 | associatedProperties="linkedTask.description" /> |
---|
[133] | 82 | </div> |
---|
| 83 | </body> |
---|
| 84 | </html> |
---|