| 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> | 
|---|
| 8 |         <filterpane:includes /> | 
|---|
| 9 |         <nav:resources override="true"/> | 
|---|
| 10 |     </head> | 
|---|
| 11 |     <body> | 
|---|
| 12 |         <div class="nav"> | 
|---|
| 13 |             <nav:renderSubItems group="navAlt"/> | 
|---|
| 14 |         </div> | 
|---|
| 15 |         <div class="body"> | 
|---|
| 16 |             <g:if test="${flash.message}"> | 
|---|
| 17 |             <div class="message">${flash.message}</div> | 
|---|
| 18 |             </g:if> | 
|---|
| 19 |             <filterpane:currentCriteria domainBean="TaskProcedure" | 
|---|
| 20 |                                     action="list" | 
|---|
| 21 |                                     dateFormat="EEE, dd-MMM-yyyy" | 
|---|
| 22 |                                     removeImgDir="images"  | 
|---|
| 23 |                                     removeImgFile="bullet_delete.png" | 
|---|
| 24 |                                     title="Search"/> | 
|---|
| 25 |  | 
|---|
| 26 |             <div class="paginateButtons"> | 
|---|
| 27 |                 <span class="searchButtons"> | 
|---|
| 28 |                     <filterpane:filterButton text="Search" appliedText="Change Search" /> | 
|---|
| 29 |                 </span> | 
|---|
| 30 |                 Results: ${taskProcedureInstanceList.size()} / ${taskProcedureInstanceTotal} | 
|---|
| 31 |             </div> | 
|---|
| 32 |  | 
|---|
| 33 |  | 
|---|
| 34 |             <g:if test="${taskProcedureInstanceList.size() > 0}"> | 
|---|
| 35 |                 <div class="list"> | 
|---|
| 36 |                     <table> | 
|---|
| 37 |                         <thead> | 
|---|
| 38 |                             <tr> | 
|---|
| 39 |                              | 
|---|
| 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}" /> | 
|---|
| 47 |  | 
|---|
| 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 |  | 
|---|
| 77 |             <div class="paginateButtons"> | 
|---|
| 78 |                 <g:paginate total="${taskProcedureInstanceTotal}" params="${filterParams}" /> | 
|---|
| 79 |             </div> | 
|---|
| 80 |  | 
|---|
| 81 |             <filterpane:filterPane domainBean="TaskProcedure" | 
|---|
| 82 |                                     title="Search" | 
|---|
| 83 |                                     action="list" | 
|---|
| 84 |                                     class="overlayPane" | 
|---|
| 85 |                                     excludeProperties="" /> | 
|---|
| 86 |         </div> | 
|---|
| 87 |     </body> | 
|---|
| 88 | </html> | 
|---|