[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> |
---|
[147] | 39 | |
---|
[467] | 40 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
| 41 | |
---|
| 42 | <g:sortableColumn property="name" title="Name" params="${filterParams}" /> |
---|
| 43 | |
---|
| 44 | <g:sortableColumn property="description" title="Description" params="${filterParams}" /> |
---|
| 45 | |
---|
| 46 | <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> |
---|
[147] | 47 | |
---|
[467] | 48 | <th></th> |
---|
| 49 | |
---|
| 50 | </tr> |
---|
| 51 | </thead> |
---|
| 52 | <tbody> |
---|
| 53 | <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> |
---|
| 54 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> |
---|
| 55 | |
---|
| 56 | <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
---|
| 57 | |
---|
| 58 | <td>${fieldValue(bean:taskProcedureInstance, field:'name')}</td> |
---|
| 59 | |
---|
| 60 | <td>${fieldValue(bean:taskProcedureInstance, field:'description')}</td> |
---|
| 61 | |
---|
| 62 | <td>${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> |
---|
| 63 | |
---|
| 64 | <td> |
---|
| 65 | <g:link action="show" id="${taskProcedureInstance.id}"> |
---|
| 66 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 67 | </g:link> |
---|
| 68 | </td> |
---|
| 69 | |
---|
| 70 | </tr> |
---|
| 71 | </g:each> |
---|
| 72 | </tbody> |
---|
| 73 | </table> |
---|
| 74 | </div> |
---|
| 75 | </g:if> |
---|
| 76 | |
---|
[133] | 77 | <div class="paginateButtons"> |
---|
[147] | 78 | <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> |
---|
[133] | 79 | </div> |
---|
[147] | 80 | |
---|
| 81 | <filterpane:filterPane domainBean="TaskProcedure" |
---|
| 82 | title="Search" |
---|
| 83 | action="list" |
---|
[155] | 84 | class="overlayPane" |
---|
[147] | 85 | excludeProperties="" /> |
---|
[133] | 86 | </div> |
---|
| 87 | </body> |
---|
| 88 | </html> |
---|