Last change
on this file since 157 was
151,
checked in by gav, 15 years ago
|
Replace all deprecated "createLinkTo" links with "resource".
|
File size:
2.2 KB
|
Rev | Line | |
---|
[66] | 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>TaskGroup List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[151] | 11 | <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span> |
---|
[66] | 12 | <span class="menuButton"><g:link class="create" action="create">New TaskGroup</g:link></span> |
---|
| 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <h1>TaskGroup 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 | <g:sortableColumn property="name" title="Name" /> |
---|
| 27 | |
---|
| 28 | <g:sortableColumn property="description" title="Description" /> |
---|
| 29 | |
---|
| 30 | <g:sortableColumn property="isActive" title="Is Active" /> |
---|
| 31 | |
---|
| 32 | </tr> |
---|
| 33 | </thead> |
---|
| 34 | <tbody> |
---|
| 35 | <g:each in="${taskGroupInstanceList}" status="i" var="taskGroupInstance"> |
---|
| 36 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 37 | |
---|
| 38 | <td><g:link action="show" id="${taskGroupInstance.id}">${fieldValue(bean:taskGroupInstance, field:'id')}</g:link></td> |
---|
| 39 | |
---|
| 40 | <td>${fieldValue(bean:taskGroupInstance, field:'name')}</td> |
---|
| 41 | |
---|
| 42 | <td>${fieldValue(bean:taskGroupInstance, field:'description')}</td> |
---|
| 43 | |
---|
| 44 | <td>${fieldValue(bean:taskGroupInstance, field:'isActive')}</td> |
---|
| 45 | |
---|
| 46 | </tr> |
---|
| 47 | </g:each> |
---|
| 48 | </tbody> |
---|
| 49 | </table> |
---|
| 50 | </div> |
---|
| 51 | <div class="paginateButtons"> |
---|
[122] | 52 | <g:paginate total="${taskGroupInstanceTotal}" /> |
---|
[66] | 53 | </div> |
---|
| 54 | </div> |
---|
| 55 | </body> |
---|
| 56 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.