source: branches/TaskRewrite/src/plugins/acegi-0.5.1/src/templates/manager/views/role/list.gsp @ 58

Last change on this file since 58 was 58, checked in by gav, 15 years ago

Configure BootStrap? with latest concepts.
Install and setup Acegi plugin with custom views.
Test Fixture plugin in a test app but couldn't get it to work with Acegi encodePassword() so gave up.

File size: 1.4 KB
Line 
1<head>
2        <meta name="layout" content="main" />
3        <title>${authorityClassName} 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 ${authorityClassName}</g:link></span>
11        </div>
12
13        <div class="body">
14                <h1>${authorityClassName} 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="${authorityClassName} Name" />
24                                        <g:sortableColumn property="description" title="Description" />
25                                        <th>&nbsp;</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="\${${authorityClass}.count()}" />
47                </div>
48        </div>
49</body>
Note: See TracBrowser for help on using the repository browser.