Last change
on this file since 278 was
268,
checked in by gav, 15 years ago
|
Refactor classes for asset tree refinement.
Regenerate views and controllers to suite.
|
File size:
2.6 KB
|
Rev | Line | |
---|
[131] | 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>MaintenanceAction List</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><g:link class="create" action="create">New MaintenanceAction</g:link></span> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <h1>MaintenanceAction List</h1> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <div class="list"> |
---|
| 19 | <table> |
---|
| 20 | <thead> |
---|
| 21 | <tr> |
---|
| 22 | |
---|
| 23 | <g:sortableColumn property="id" title="Id" /> |
---|
| 24 | |
---|
[268] | 25 | <th>Section</th> |
---|
[131] | 26 | |
---|
| 27 | <th>Asset</th> |
---|
| 28 | |
---|
[268] | 29 | <th>Asset Sub Item</th> |
---|
[131] | 30 | |
---|
[268] | 31 | <th>Maintenance Policy</th> |
---|
[131] | 32 | |
---|
[268] | 33 | <g:sortableColumn property="procedureStepNumber" title="Procedure Step Number" /> |
---|
| 34 | |
---|
[131] | 35 | </tr> |
---|
| 36 | </thead> |
---|
| 37 | <tbody> |
---|
| 38 | <g:each in="${maintenanceActionInstanceList}" status="i" var="maintenanceActionInstance"> |
---|
| 39 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
| 40 | |
---|
| 41 | <td><g:link action="show" id="${maintenanceActionInstance.id}">${fieldValue(bean:maintenanceActionInstance, field:'id')}</g:link></td> |
---|
| 42 | |
---|
[268] | 43 | <td>${fieldValue(bean:maintenanceActionInstance, field:'section')}</td> |
---|
[131] | 44 | |
---|
| 45 | <td>${fieldValue(bean:maintenanceActionInstance, field:'asset')}</td> |
---|
| 46 | |
---|
[268] | 47 | <td>${fieldValue(bean:maintenanceActionInstance, field:'assetSubItem')}</td> |
---|
[131] | 48 | |
---|
[268] | 49 | <td>${fieldValue(bean:maintenanceActionInstance, field:'maintenancePolicy')}</td> |
---|
[131] | 50 | |
---|
[268] | 51 | <td>${fieldValue(bean:maintenanceActionInstance, field:'procedureStepNumber')}</td> |
---|
| 52 | |
---|
[131] | 53 | </tr> |
---|
| 54 | </g:each> |
---|
| 55 | </tbody> |
---|
| 56 | </table> |
---|
| 57 | </div> |
---|
| 58 | <div class="paginateButtons"> |
---|
| 59 | <g:paginate total="${maintenanceActionInstanceTotal}" /> |
---|
| 60 | </div> |
---|
| 61 | </div> |
---|
| 62 | </body> |
---|
| 63 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.