Last change
on this file since 140 was
122,
checked in by gav, 16 years ago
|
Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.
|
File size:
2.0 KB
|
Rev | Line | |
---|
[118] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
[122] | 7 | <title>Period List</title> |
---|
[118] | 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
[122] | 12 | <span class="menuButton"><g:link class="create" action="create">New Period</g:link></span> |
---|
[118] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
[122] | 15 | <h1>Period List</h1> |
---|
[118] | 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 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 27 | |
---|
[122] | 28 | <g:sortableColumn property="period" title="Period" /> |
---|
| 29 | |
---|
[118] | 30 | </tr> |
---|
| 31 | </thead> |
---|
| 32 | <tbody> |
---|
[122] | 33 | <g:each in="${periodInstanceList}" status="i" var="periodInstance"> |
---|
[118] | 34 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 35 | |
---|
[122] | 36 | <td><g:link action="show" id="${periodInstance.id}">${fieldValue(bean:periodInstance, field:'id')}</g:link></td> |
---|
[118] | 37 | |
---|
[122] | 38 | <td>${fieldValue(bean:periodInstance, field:'isActive')}</td> |
---|
[118] | 39 | |
---|
[122] | 40 | <td>${fieldValue(bean:periodInstance, field:'period')}</td> |
---|
[118] | 41 | |
---|
| 42 | </tr> |
---|
| 43 | </g:each> |
---|
| 44 | </tbody> |
---|
| 45 | </table> |
---|
| 46 | </div> |
---|
| 47 | <div class="paginateButtons"> |
---|
[122] | 48 | <g:paginate total="${periodInstanceTotal}" /> |
---|
[118] | 49 | </div> |
---|
| 50 | </div> |
---|
| 51 | </body> |
---|
| 52 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.