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