[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" |
---|
| 21 | dateFormat="${'EEE, dd-MMM-yyyy'}" |
---|
| 22 | removeImgDir="images" |
---|
| 23 | removeImgFile="bullet_delete.png" |
---|
| 24 | title="Search"/> |
---|
[155] | 25 | |
---|
| 26 | <div class="paginateButtons"> |
---|
| 27 | <filterpane:filterButton text="Search" appliedText="Change Search" /> |
---|
| 28 | Results:${taskProcedureInstanceTotal} |
---|
| 29 | </div> |
---|
| 30 | |
---|
[133] | 31 | <div class="list"> |
---|
| 32 | <table> |
---|
| 33 | <thead> |
---|
| 34 | <tr> |
---|
| 35 | |
---|
[147] | 36 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
[133] | 37 | |
---|
[147] | 38 | <g:sortableColumn property="name" title="Name" params="${filterParams}" /> |
---|
[133] | 39 | |
---|
[147] | 40 | <g:sortableColumn property="description" title="Description" params="${filterParams}" /> |
---|
[133] | 41 | |
---|
[147] | 42 | <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> |
---|
| 43 | |
---|
| 44 | <th></th> |
---|
[133] | 45 | |
---|
| 46 | </tr> |
---|
| 47 | </thead> |
---|
| 48 | <tbody> |
---|
| 49 | <g:each in="${taskProcedureInstanceList}" status="i" var="taskProcedureInstance"> |
---|
[147] | 50 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskProcedureDetailed/show/${taskProcedureInstance.id}"'/> |
---|
[133] | 51 | |
---|
[147] | 52 | <td>${fieldValue(bean:taskProcedureInstance, field:'id')}</td> |
---|
[133] | 53 | |
---|
| 54 | <td>${fieldValue(bean:taskProcedureInstance, field:'name')}</td> |
---|
| 55 | |
---|
| 56 | <td>${fieldValue(bean:taskProcedureInstance, field:'description')}</td> |
---|
| 57 | |
---|
| 58 | <td>${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> |
---|
[147] | 59 | |
---|
| 60 | <td> |
---|
| 61 | <g:link action="show" id="${taskProcedureInstance.id}"> |
---|
[151] | 62 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
[147] | 63 | </g:link> |
---|
| 64 | </td> |
---|
[133] | 65 | |
---|
| 66 | </tr> |
---|
| 67 | </g:each> |
---|
| 68 | </tbody> |
---|
| 69 | </table> |
---|
| 70 | </div> |
---|
[147] | 71 | |
---|
[133] | 72 | <div class="paginateButtons"> |
---|
[147] | 73 | <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> |
---|
[133] | 74 | </div> |
---|
[147] | 75 | |
---|
| 76 | <filterpane:filterPane domainBean="TaskProcedure" |
---|
| 77 | title="Search" |
---|
| 78 | action="list" |
---|
[155] | 79 | class="overlayPane" |
---|
[147] | 80 | excludeProperties="" /> |
---|
[133] | 81 | </div> |
---|
| 82 | </body> |
---|
| 83 | </html> |
---|