Last change
on this file since 430 was
402,
checked in by gav, 15 years ago
|
Add contacts to Person, Supplier, Manufacturer and Site.
|
File size:
1.8 KB
|
Rev | Line | |
---|
[402] | 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>Contact List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <h1>Contact List</h1> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <g:render template="/shared/messages" /> |
---|
| 15 | <div class="list"> |
---|
| 16 | <table> |
---|
| 17 | <thead> |
---|
| 18 | <tr> |
---|
| 19 | |
---|
| 20 | <g:sortableColumn property="id" title="Id" /> |
---|
| 21 | |
---|
| 22 | <g:sortableColumn property="value" title="Value" /> |
---|
| 23 | |
---|
| 24 | <th></th> |
---|
| 25 | |
---|
| 26 | </tr> |
---|
| 27 | </thead> |
---|
| 28 | <tbody> |
---|
| 29 | <g:each in="${contactInstanceList}" status="i" var="contactInstance"> |
---|
| 30 | <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/contactDetailed/show/${contactInstance.id}"'/> |
---|
| 31 | |
---|
| 32 | <td>${fieldValue(bean:contactInstance, field:'id')}</td> |
---|
| 33 | |
---|
| 34 | <td>${fieldValue(bean:contactInstance, field:'value')}</td> |
---|
| 35 | |
---|
| 36 | <td> |
---|
| 37 | <g:link action="show" id="${contactInstance.id}"> |
---|
| 38 | <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> |
---|
| 39 | </g:link> |
---|
| 40 | </td> |
---|
| 41 | |
---|
| 42 | </tr> |
---|
| 43 | </g:each> |
---|
| 44 | </tbody> |
---|
| 45 | </table> |
---|
| 46 | </div> |
---|
| 47 | <div class="paginateButtons"> |
---|
| 48 | <g:paginate total="${contactInstanceTotal}" /> |
---|
| 49 | </div> |
---|
| 50 | </div> |
---|
| 51 | </body> |
---|
| 52 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.