Line | |
---|
1 | <head> |
---|
2 | <meta name="layout" content="main" /> |
---|
3 | <title>Authority List</title> |
---|
4 | </head> |
---|
5 | |
---|
6 | <body> |
---|
7 | |
---|
8 | <div class="nav"> |
---|
9 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
10 | <span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span> |
---|
11 | </div> |
---|
12 | |
---|
13 | <div class="body"> |
---|
14 | <h1>Authority 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 | <g:sortableColumn property="id" title="ID" /> |
---|
23 | <g:sortableColumn property="authority" title="Authority Name" /> |
---|
24 | <g:sortableColumn property="description" title="Description" /> |
---|
25 | <th> </th> |
---|
26 | </tr> |
---|
27 | </thead> |
---|
28 | <tbody> |
---|
29 | <g:each in="${authorityList}" status="i" var="authority"> |
---|
30 | <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
31 | <td>${authority.id}</td> |
---|
32 | <td>${authority.authority?.encodeAsHTML()}</td> |
---|
33 | <td>${authority.description?.encodeAsHTML()}</td> |
---|
34 | <td class="actionButtons"> |
---|
35 | <span class="actionButton"> |
---|
36 | <g:link action="show" id="${authority.id}">Show</g:link> |
---|
37 | </span> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | </g:each> |
---|
41 | </tbody> |
---|
42 | </table> |
---|
43 | </div> |
---|
44 | |
---|
45 | <div class="paginateButtons"> |
---|
46 | <g:paginate total="${Authority.count()}" /> |
---|
47 | </div> |
---|
48 | </div> |
---|
49 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.