1 | |
---|
2 | <%@ page import="dbnp.studycapturing.EventDescription" %> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
6 | <meta name="layout" content="main" /> |
---|
7 | <g:set var="entityName" value="${message(code: 'eventDescription.label', default: 'EventDescription')}" /> |
---|
8 | <title><g:message code="default.list.label" args="[entityName]" /></title> |
---|
9 | </head> |
---|
10 | <body> |
---|
11 | <div class="nav"> |
---|
12 | <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span> |
---|
13 | <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span> |
---|
14 | </div> |
---|
15 | <div class="body"> |
---|
16 | <h1><g:message code="default.list.label" args="[entityName]" /></h1> |
---|
17 | <g:if test="${flash.message}"> |
---|
18 | <div class="message">${flash.message}</div> |
---|
19 | </g:if> |
---|
20 | <div class="list"> |
---|
21 | <table> |
---|
22 | <thead> |
---|
23 | <tr> |
---|
24 | |
---|
25 | <g:sortableColumn property="id" title="${message(code: 'eventDescription.id.label', default: 'Id')}" /> |
---|
26 | |
---|
27 | <th><g:message code="eventDescription.protocol.label" default="Protocol" /></th> |
---|
28 | |
---|
29 | <g:sortableColumn property="description" title="${message(code: 'eventDescription.description.label', default: 'Description')}" /> |
---|
30 | |
---|
31 | <g:sortableColumn property="name" title="${message(code: 'eventDescription.name.label', default: 'Name')}" /> |
---|
32 | |
---|
33 | <g:sortableColumn property="classification" title="${message(code: 'eventDescription.classification.label', default: 'Classification')}" /> |
---|
34 | |
---|
35 | </tr> |
---|
36 | </thead> |
---|
37 | <tbody> |
---|
38 | <g:each in="${eventDescriptionInstanceList}" status="i" var="eventDescriptionInstance"> |
---|
39 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
40 | |
---|
41 | <td><g:link action="show" id="${eventDescriptionInstance.id}">${fieldValue(bean: eventDescriptionInstance, field: "id")}</g:link></td> |
---|
42 | |
---|
43 | <td>${fieldValue(bean: eventDescriptionInstance, field: "protocol")}</td> |
---|
44 | |
---|
45 | <td>${fieldValue(bean: eventDescriptionInstance, field: "description")}</td> |
---|
46 | |
---|
47 | <td>${fieldValue(bean: eventDescriptionInstance, field: "name")}</td> |
---|
48 | |
---|
49 | <td>${fieldValue(bean: eventDescriptionInstance, field: "classification")}</td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | </g:each> |
---|
53 | </tbody> |
---|
54 | </table> |
---|
55 | </div> |
---|
56 | <div class="paginateButtons"> |
---|
57 | <g:paginate total="${eventDescriptionInstanceTotal}" /> |
---|
58 | </div> |
---|
59 | </div> |
---|
60 | </body> |
---|
61 | </html> |
---|