[336] | 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>AssetSubItem Search</title> |
---|
| 8 | <nav:resources override="true"/> |
---|
| 9 | <filterpane:includes /> |
---|
| 10 | <export:resource /> |
---|
| 11 | </head> |
---|
| 12 | <body> |
---|
| 13 | <div class="nav"> |
---|
| 14 | <span class="menuButton"><g:link class="create" action="create">New Sub Item</g:link></span> |
---|
| 15 | </div> |
---|
| 16 | <div class="body"> |
---|
| 17 | <h1>Sub Item Search</h1> |
---|
| 18 | <g:render template="/shared/messages" /> |
---|
| 19 | |
---|
| 20 | <filterpane:currentCriteria domainBean="AssetSubItem" |
---|
| 21 | action="search" |
---|
| 22 | dateFormat="${'EEE, dd-MMM-yyyy'}" |
---|
| 23 | removeImgDir="images" |
---|
| 24 | removeImgFile="bullet_delete.png" |
---|
| 25 | title="Search"/> |
---|
| 26 | |
---|
| 27 | <div class="paginateButtons"> |
---|
| 28 | Results: ${assetSubItemInstanceList.size()} / ${assetSubItemInstanceTotal} |
---|
| 29 | <span class="searchButtons"> |
---|
| 30 | <filterpane:filterButton text="Search" appliedText="Change Search" /> |
---|
| 31 | </span> |
---|
| 32 | </div> |
---|
| 33 | |
---|
| 34 | <div class="list"> |
---|
| 35 | <table> |
---|
| 36 | <thead> |
---|
| 37 | <tr> |
---|
| 38 | |
---|
| 39 | <g:sortableColumn property="id" title="Id" params="${filterParams}" /> |
---|
| 40 | |
---|
| 41 | <g:sortableColumn property="name" title="Name" params="${filterParams}" /> |
---|
| 42 | |
---|
| 43 | <g:sortableColumn property="description" title="Description" params="${filterParams}" /> |
---|
| 44 | |
---|
| 45 | <g:sortableColumn property="isActive" title="Is Active" params="${filterParams}" /> |
---|
| 46 | |
---|
| 47 | <th></th> |
---|
| 48 | |
---|
| 49 | </tr> |
---|
| 50 | </thead> |
---|
| 51 | <tbody> |
---|
| 52 | <g:each in="${assetSubItemInstanceList}" status="i" var="assetSubItemInstance"> |
---|
| 53 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetSubItemDetailed/show/${assetSubItemInstance.id}"'/> |
---|
| 54 | |
---|
| 55 | <td>${fieldValue(bean:assetSubItemInstance, field:'id')}</td> |
---|
| 56 | |
---|
| 57 | <td>${fieldValue(bean:assetSubItemInstance, field:'name')}</td> |
---|
| 58 | |
---|
| 59 | <td>${fieldValue(bean:assetSubItemInstance, field:'description')}</td> |
---|
| 60 | |
---|
| 61 | <td>${fieldValue(bean:assetSubItemInstance, field:'isActive')}</td> |
---|
| 62 | |
---|
| 63 | <td> |
---|
| 64 | <g:link action="show" id="${assetSubItemInstance.id}"> |
---|
| 65 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 66 | </g:link> |
---|
| 67 | </td> |
---|
| 68 | |
---|
| 69 | </tr> |
---|
| 70 | </g:each> |
---|
| 71 | </tbody> |
---|
| 72 | </table> |
---|
| 73 | </div> |
---|
| 74 | <div class="paginateButtons"> |
---|
| 75 | <g:paginate total="${assetSubItemInstanceTotal}" params="${filterParams}" /> |
---|
| 76 | </div> |
---|
| 77 | |
---|
| 78 | <export:formats params="${filterParams}" formats="['csv', 'excel', 'pdf', 'rtf']"/> |
---|
| 79 | |
---|
| 80 | <filterpane:filterPane domainBean="AssetSubItem" |
---|
| 81 | title="Search" |
---|
| 82 | action="search" |
---|
| 83 | class="overlayPane" |
---|
| 84 | excludeProperties="" /> |
---|
| 85 | </div> <!-- end body div --> |
---|
| 86 | </body> |
---|
| 87 | </html> |
---|