[122] | 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>AssetExtendedAttribute List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 12 | <span class="menuButton"><g:link class="create" action="create">New AssetExtendedAttribute</g:link></span> |
---|
| 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <h1>AssetExtendedAttribute List</h1> |
---|
| 16 | <g:if test="${flash.message}"> |
---|
| 17 | <div class="message">${flash.message}</div> |
---|
| 18 | </g:if> |
---|
| 19 | <div class="list"> |
---|
| 20 | <table> |
---|
| 21 | <thead> |
---|
| 22 | <tr> |
---|
| 23 | |
---|
| 24 | <g:sortableColumn property="id" title="Id" /> |
---|
| 25 | |
---|
| 26 | <th>Asset Extended Attribute Type</th> |
---|
| 27 | |
---|
[124] | 28 | <th>Asset</th> |
---|
[122] | 29 | |
---|
| 30 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 31 | |
---|
| 32 | <g:sortableColumn property="value" title="Value" /> |
---|
[124] | 33 | |
---|
| 34 | <th></th> |
---|
[122] | 35 | |
---|
| 36 | </tr> |
---|
| 37 | </thead> |
---|
| 38 | <tbody> |
---|
| 39 | <g:each in="${assetExtendedAttributeInstanceList}" status="i" var="assetExtendedAttributeInstance"> |
---|
[124] | 40 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetExtendedAttributeDetailed/show/${assetExtendedAttributeInstance.id}"'/> |
---|
| 41 | |
---|
[122] | 42 | |
---|
| 43 | <td><g:link action="show" id="${assetExtendedAttributeInstance.id}">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</g:link></td> |
---|
| 44 | |
---|
| 45 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetExtendedAttributeType')}</td> |
---|
| 46 | |
---|
[124] | 47 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td> |
---|
[122] | 48 | |
---|
| 49 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td> |
---|
| 50 | |
---|
| 51 | <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> |
---|
[124] | 52 | |
---|
| 53 | <td> |
---|
| 54 | <g:link action="show" id="${assetExtendedAttributeInstance.id}"> |
---|
| 55 | <img src="${createLinkTo(dir:'images/skin',file:'database_table.png')}" alt="Show" /> |
---|
| 56 | </g:link> |
---|
| 57 | </td> |
---|
[122] | 58 | |
---|
| 59 | </tr> |
---|
| 60 | </g:each> |
---|
| 61 | </tbody> |
---|
| 62 | </table> |
---|
| 63 | </div> |
---|
| 64 | <div class="paginateButtons"> |
---|
| 65 | <g:paginate total="${assetExtendedAttributeInstanceTotal}" /> |
---|
| 66 | </div> |
---|
| 67 | </div> |
---|
| 68 | </body> |
---|
| 69 | </html> |
---|