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 | </tbody> |
---|
57 | </table> |
---|
58 | </div> <!--End dialog--> |
---|
59 | <br /> |
---|
60 | <br /> |
---|
61 | <div class="errors"> |
---|
62 | Warning!<br /> |
---|
63 | The pages bellow this line are for use by the application admin only and NOT for daily use.<br /> |
---|
64 | They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br /> |
---|
65 | The manager authorisation and pages should be used for normal daily use.<br /> |
---|
66 | </div> |
---|
67 | <br/> |
---|
68 | <div class="dialog"> |
---|
69 | <ul> |
---|
70 | <g:each var="c" in="${grailsApplication.controllerClasses}"> |
---|
71 | <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li> |
---|
72 | </g:each> |
---|
73 | </ul> |
---|
74 | </div> |
---|
75 | </div> |
---|
76 | </body> |
---|
77 | </html> |
---|