[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"> |
---|
[548] | 13 | <g:render template="/shared/messages" /> |
---|
[149] | 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"> |
---|
[237] | 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 | |
---|
[149] | 33 | <br /> |
---|
[237] | 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 | |
---|
[688] | 51 | <br /> |
---|
| 52 | <br /> |
---|
| 53 | |
---|
| 54 | <g:link action="createRecommendedAssetExtendedAttributes">Asset Extended Attributes</g:link> - Create recommended extended attributes for assets. |
---|
| 55 | <br /> |
---|
| 56 | <g:link action="createRecommendedAssetSubItemExtendedAttributes">Sub Asset Extended Attributes</g:link> - Create recommended extended attributes for level 1 sub assets. |
---|
| 57 | |
---|
[149] | 58 | </td> |
---|
| 59 | </tr> |
---|
| 60 | |
---|
[258] | 61 | <g:if env="development"> |
---|
| 62 | <tr class="prop"> |
---|
| 63 | <td valign="top" class="name"> |
---|
[548] | 64 | <label>Bulk Test:</label> |
---|
[258] | 65 | </td> |
---|
| 66 | <td valign="top" class="value"> |
---|
[548] | 67 | <g:link action="createBulkTestData">All Types</g:link> - Create a large volume of test data. |
---|
| 68 | <br /> |
---|
| 69 | <g:link action="createBulkInventoryTestData">Inventory</g:link> - Create a large volume of inventory test data. |
---|
[258] | 70 | </td> |
---|
| 71 | </tr> |
---|
| 72 | </g:if> |
---|
| 73 | |
---|
[149] | 74 | </tbody> |
---|
| 75 | </table> |
---|
| 76 | </div> <!--End dialog--> |
---|
| 77 | <br /> |
---|
| 78 | <br /> |
---|
[84] | 79 | <div class="errors"> |
---|
[91] | 80 | Warning!<br /> |
---|
| 81 | The pages bellow this line are for use by the application admin only and NOT for daily use.<br /> |
---|
[116] | 82 | They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br /> |
---|
[91] | 83 | The manager authorisation and pages should be used for normal daily use.<br /> |
---|
[84] | 84 | </div> |
---|
[59] | 85 | <br/> |
---|
| 86 | <div class="dialog"> |
---|
| 87 | <ul> |
---|
[260] | 88 | <g:each var="c" in="${grailsApplication.controllerClasses.sort { p1, p2 -> p1.fullName.compareToIgnoreCase(p2.fullName) } }"> |
---|
[264] | 89 | <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.logicalPropertyName[0].toUpperCase() + c.logicalPropertyName[1..-1]}</g:link></li> |
---|
[59] | 90 | </g:each> |
---|
| 91 | </ul> |
---|
| 92 | </div> |
---|
| 93 | </div> |
---|
| 94 | </body> |
---|
| 95 | </html> |
---|