source: trunk/grails-app/views/appCore/appAdmin.gsp @ 548

Last change on this file since 548 was 548, checked in by gav, 14 years ago

Add InventoryItemService savePicture().
Add bulk tests for inventory items.

  • Property svn:executable set to *
File size: 4.5 KB
RevLine 
[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">
[358]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">
[149]29                                <label>Create:</label>
30                            </td>
31                            <td valign="top" class="value">
[237]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
[149]42                                <br />
[237]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
[149]60                            </td>
61                        </tr>
62
[258]63                        <g:if env="development">
64                            <tr class="prop">
65                                <td valign="top" class="name">
[548]66                                    <label>Bulk Test:</label>
[258]67                                </td>
68                                <td valign="top" class="value">
[548]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.
[258]72                                </td>
73                            </tr>
74                        </g:if>
75
[149]76                    </tbody>
77                </table>
78            </div> <!--End dialog-->
79            <br />
80            <br />
[84]81            <div class="errors">
[91]82                Warning!<br />
83                The pages bellow this line are for use by the application admin only and NOT for daily use.<br />
[116]84                They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br />
[91]85                The manager authorisation and pages should be used for normal daily use.<br />
[84]86            </div>
[59]87            <br/>
88            <div class="dialog">
89                <ul>
[260]90                <g:each var="c" in="${grailsApplication.controllerClasses.sort { p1, p2 -> p1.fullName.compareToIgnoreCase(p2.fullName) } }">
[264]91                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.logicalPropertyName[0].toUpperCase() + c.logicalPropertyName[1..-1]}</g:link></li>
[59]92                </g:each>
93                </ul>
94            </div>
95        </div>
96    </body>
97</html>
Note: See TracBrowser for help on using the repository browser.