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