source: branches/TaskRewrite/src/grails-app/views/appCore/list.gsp @ 59

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

Lots of changes to setup Acegi, should be complete with all current pages secured.
Added CSS and PersonGroup? and PersonGroupType?.
Adjust BootStrap? to suite.
Add Home and Admin pages.

File size: 1.6 KB
Line 
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>AppCore List</title>
8    </head>
9    <body>
10        <div class="nav">
11            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
12            <span class="menuButton"><g:link class="create" action="create">New AppCore</g:link></span>
13        </div>
14        <div class="body">
15            <h1>AppCore List</h1>
16            <g:if test="${flash.message}">
17            <div class="message">${flash.message}</div>
18            </g:if>
19            <div class="list">
20                <table>
21                    <thead>
22                        <tr>
23                       
24                                <g:sortableColumn property="id" title="Id" />
25                       
26                        </tr>
27                    </thead>
28                    <tbody>
29                    <g:each in="${appCoreInstanceList}" status="i" var="appCoreInstance">
30                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
31                       
32                            <td><g:link action="show" id="${appCoreInstance.id}">${fieldValue(bean:appCoreInstance, field:'id')}</g:link></td>
33                       
34                        </tr>
35                    </g:each>
36                    </tbody>
37                </table>
38            </div>
39            <div class="paginateButtons">
40                <g:paginate total="${AppCore.count()}" />
41            </div>
42        </div>
43    </body>
44</html>
Note: See TracBrowser for help on using the repository browser.