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:render template="/shared/messages" /> |
---|
14 | <div class="dialog"> |
---|
15 | <table> |
---|
16 | <tbody> |
---|
17 | |
---|
18 | <tr class="prop"> |
---|
19 | <td valign="top" class="name"> |
---|
20 | <label>Log:</label> |
---|
21 | </td> |
---|
22 | <td valign="top" class="value"> |
---|
23 | <g:link action="appLog">View</g:link> - The application log file. |
---|
24 | </td> |
---|
25 | </tr> |
---|
26 | |
---|
27 | <tr class="prop"> |
---|
28 | <td valign="top" class="name"> |
---|
29 | <label>Create:</label> |
---|
30 | </td> |
---|
31 | <td valign="top" class="value"> |
---|
32 | |
---|
33 | <g:if test="${offerBaseDataCreation}"> |
---|
34 | <g:link action="createBaseData">Base</g:link> - Create the base data required for the application to function. |
---|
35 | </g:if> |
---|
36 | <g:else> |
---|
37 | <g:if test="${baseDataCreated}"> |
---|
38 | Base data has been created. |
---|
39 | </g:if> |
---|
40 | </g:else> |
---|
41 | |
---|
42 | <br /> |
---|
43 | |
---|
44 | <g:if test="${demoDataCreationDisabled}"> |
---|
45 | Demo data creation has been disabled. |
---|
46 | </g:if> |
---|
47 | <g:else> |
---|
48 | <g:if test="${offerDemoDataCreation}"> |
---|
49 | <g:link action="createDemoData">Demo</g:link> - Create demo data for some example sites. |
---|
50 | <br /> |
---|
51 | <g:link action="disableDemoDataCreation">Disable</g:link> - Disable demo data creation. |
---|
52 | </g:if> |
---|
53 | <g:else> |
---|
54 | <g:if test="${demoDataCreated}"> |
---|
55 | Demo data has been created. |
---|
56 | </g:if> |
---|
57 | </g:else> |
---|
58 | </g:else> |
---|
59 | |
---|
60 | </td> |
---|
61 | </tr> |
---|
62 | |
---|
63 | <g:if env="development"> |
---|
64 | <tr class="prop"> |
---|
65 | <td valign="top" class="name"> |
---|
66 | <label>Bulk Test:</label> |
---|
67 | </td> |
---|
68 | <td valign="top" class="value"> |
---|
69 | <g:link action="createBulkTestData">All Types</g:link> - Create a large volume of test data. |
---|
70 | <br /> |
---|
71 | <g:link action="createBulkInventoryTestData">Inventory</g:link> - Create a large volume of inventory 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> |
---|