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>Create:</label> |
---|
21 | </td> |
---|
22 | <td valign="top" class="value"> |
---|
23 | |
---|
24 | <g:if test="${offerBaseDataCreation}"> |
---|
25 | <g:link action="createBaseData">Base</g:link> - Create the base data required for the application to function. |
---|
26 | </g:if> |
---|
27 | <g:else> |
---|
28 | <g:if test="${baseDataCreated}"> |
---|
29 | Base data has been created. |
---|
30 | </g:if> |
---|
31 | </g:else> |
---|
32 | |
---|
33 | <br /> |
---|
34 | |
---|
35 | <g:if test="${demoDataCreationDisabled}"> |
---|
36 | Demo data creation has been disabled. |
---|
37 | </g:if> |
---|
38 | <g:else> |
---|
39 | <g:if test="${offerDemoDataCreation}"> |
---|
40 | <g:link action="createDemoData">Demo</g:link> - Create demo data for some example sites. |
---|
41 | <br /> |
---|
42 | <g:link action="disableDemoDataCreation">Disable</g:link> - Disable demo data creation. |
---|
43 | </g:if> |
---|
44 | <g:else> |
---|
45 | <g:if test="${demoDataCreated}"> |
---|
46 | Demo data has been created. |
---|
47 | </g:if> |
---|
48 | </g:else> |
---|
49 | </g:else> |
---|
50 | |
---|
51 | </td> |
---|
52 | </tr> |
---|
53 | |
---|
54 | <g:if env="development"> |
---|
55 | <tr class="prop"> |
---|
56 | <td valign="top" class="name"> |
---|
57 | <label>Bulk Test:</label> |
---|
58 | </td> |
---|
59 | <td valign="top" class="value"> |
---|
60 | <g:link action="createBulkTestData">All Types</g:link> - Create a large volume of test data. |
---|
61 | <br /> |
---|
62 | <g:link action="createBulkInventoryTestData">Inventory</g:link> - Create a large volume of inventory 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> |
---|