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