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>${requestmapClassName} 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 ${requestmapClassName}</g:link></span> |
---|
11 | </div> |
---|
12 | |
---|
13 | <div class="body"> |
---|
14 | <h1>${requestmapClassName} 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="url" title="URL Pattern" /> |
---|
24 | <g:sortableColumn property="configAttribute" title="Roles" /> |
---|
25 | <th> </th> |
---|
26 | </tr> |
---|
27 | </thead> |
---|
28 | <tbody> |
---|
29 | <g:each in="\${requestmapList}" status="i" var="requestmap"> |
---|
30 | <tr class="\${(i % 2) == 0 ? 'odd' : 'even'}"> |
---|
31 | <td>\${requestmap.id}</td> |
---|
32 | <td>\${requestmap.url?.encodeAsHTML()}</td> |
---|
33 | <td>\${requestmap.configAttribute}</td> |
---|
34 | <td class="actionButtons"> |
---|
35 | <span class="actionButton"> |
---|
36 | <g:link action="show" id="\${requestmap.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="\${${requestmapClass}.count()}" /> |
---|
47 | </div> |
---|
48 | |
---|
49 | </div> |
---|
50 | </body> |
---|
Note: See
TracBrowser
for help on using the repository browser.