source: trunk/grails-app/views/appCore/appAdmin.gsp @ 149

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

Refactor bootstrap data generation to new CreateDataService?.
Tweak security annotations so that ROLE_AppAdmin gives access to all areas.
Rework DataSource? to allow building of prod and dev WARs.
Include MySQL jdbc connector which is GNU GPL'd and used in the prod WAR.

  • Property svn:executable set to *
File size: 2.1 KB
Line 
1<html>
2    <head>
3        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4        <meta name="layout" content="main" />
5        <title>Admin</title>
6        <nav:resources override="true"/>
7    </head>
8    <body>
9        <div class="nav">
10            <nav:renderSubItems group="nav"/>
11        </div>
12        <div class="body">
13            <g:if test="${flash.message}">
14                <div class="message">${flash.message}</div>
15            </g:if>
16            <div class="dialog">
17                <table>
18                    <tbody>
19
20                        <tr class="prop">
21                            <td valign="top" class="name">
22                                <label>Create:</label>
23                            </td>
24                            <td valign="top" class="value">
25                                <g:link action="createBaseData">Base</g:link> - Create the base data required for the application to function.
26                                <br />
27                                <g:link action="createDemoData">Demo</g:link> - Create demo data for some example sites.
28                            </td>
29                        </tr>
30
31                    </tbody>
32                </table>
33            </div> <!--End dialog-->
34            <br />
35            <br />
36            <div class="errors">
37                Warning!<br />
38                The pages bellow this line are for use by the application admin only and NOT for daily use.<br />
39                They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br />
40                The manager authorisation and pages should be used for normal daily use.<br />
41            </div>
42            <br/>
43            <div class="dialog">
44                <ul>
45                <g:each var="c" in="${grailsApplication.controllerClasses}">
46                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
47                </g:each>
48                </ul>
49            </div>
50        </div>
51    </body>
52</html>
Note: See TracBrowser for help on using the repository browser.