[59] | 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> |
---|
[139] | 6 | <nav:resources override="true"/> |
---|
[59] | 7 | </head> |
---|
| 8 | <body> |
---|
| 9 | <div class="nav"> |
---|
[139] | 10 | <nav:renderSubItems group="nav"/> |
---|
[59] | 11 | </div> |
---|
| 12 | <div class="body"> |
---|
[149] | 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"> |
---|
[237] | 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 | |
---|
[149] | 35 | <br /> |
---|
[237] | 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 | |
---|
[149] | 53 | </td> |
---|
| 54 | </tr> |
---|
| 55 | |
---|
[258] | 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 | |
---|
[149] | 67 | </tbody> |
---|
| 68 | </table> |
---|
| 69 | </div> <!--End dialog--> |
---|
| 70 | <br /> |
---|
| 71 | <br /> |
---|
[84] | 72 | <div class="errors"> |
---|
[91] | 73 | Warning!<br /> |
---|
| 74 | The pages bellow this line are for use by the application admin only and NOT for daily use.<br /> |
---|
[116] | 75 | They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br /> |
---|
[91] | 76 | The manager authorisation and pages should be used for normal daily use.<br /> |
---|
[84] | 77 | </div> |
---|
[59] | 78 | <br/> |
---|
| 79 | <div class="dialog"> |
---|
| 80 | <ul> |
---|
[260] | 81 | <g:each var="c" in="${grailsApplication.controllerClasses.sort { p1, p2 -> p1.fullName.compareToIgnoreCase(p2.fullName) } }"> |
---|
[71] | 82 | <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li> |
---|
[59] | 83 | </g:each> |
---|
| 84 | </ul> |
---|
| 85 | </div> |
---|
| 86 | </div> |
---|
| 87 | </body> |
---|
| 88 | </html> |
---|