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

Last change on this file since 264 was 264, checked in by gav, 14 years ago

Remove 'Controller' suffix from app admin view list of controllers.

  • Property svn:executable set to *
File size: 4.0 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
26                                <g:if test="${offerBaseDataCreation}">
27                                    <g:link action="createBaseData">Base</g:link> - Create the base data required for the application to function.
28                                </g:if>
29                                <g:else>
30                                    <g:if test="${baseDataCreated}">
31                                        Base data has been created.
32                                    </g:if>
33                                </g:else>
34
35                                <br />
36
37                                <g:if test="${demoDataCreationDisabled}">
38                                    Demo data creation has been disabled.
39                                </g:if>
40                                <g:else>
41                                    <g:if test="${offerDemoDataCreation}">
42                                        <g:link action="createDemoData">Demo</g:link> - Create demo data for some example sites.
43                                        <br />
44                                        <g:link action="disableDemoDataCreation">Disable</g:link> - Disable demo data creation.
45                                    </g:if>
46                                    <g:else>
47                                        <g:if test="${demoDataCreated}">
48                                            Demo data has been created.
49                                        </g:if>
50                                    </g:else>
51                                </g:else>
52
53                            </td>
54                        </tr>
55
56                        <g:if env="development">
57                            <tr class="prop">
58                                <td valign="top" class="name">
59                                    <label>Test:</label>
60                                </td>
61                                <td valign="top" class="value">
62                                    <g:link action="createBulkTestData">Bulk</g:link> - Create a large volume of test data.
63                                </td>
64                            </tr>
65                        </g:if>
66
67                    </tbody>
68                </table>
69            </div> <!--End dialog-->
70            <br />
71            <br />
72            <div class="errors">
73                Warning!<br />
74                The pages bellow this line are for use by the application admin only and NOT for daily use.<br />
75                They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br />
76                The manager authorisation and pages should be used for normal daily use.<br />
77            </div>
78            <br/>
79            <div class="dialog">
80                <ul>
81                <g:each var="c" in="${grailsApplication.controllerClasses.sort { p1, p2 -> p1.fullName.compareToIgnoreCase(p2.fullName) } }">
82                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.logicalPropertyName[0].toUpperCase() + c.logicalPropertyName[1..-1]}</g:link></li>
83                </g:each>
84                </ul>
85            </div>
86        </div>
87    </body>
88</html>
Note: See TracBrowser for help on using the repository browser.