<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Admin</title>
        <nav:resources override="true"/>
    </head>
    <body>
        <div class="nav">
            <nav:renderSubItems group="nav"/>
        </div>
        <div class="body">
            <g:if test="${flash.message}">
                <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>

                        <tr class="prop">
                            <td valign="top" class="name">
                                <label>Create:</label>
                            </td>
                            <td valign="top" class="value">
                                <g:link action="createBaseData">Base</g:link> - Create the base data required for the application to function.
                                <br />
                                <g:link action="createDemoData">Demo</g:link> - Create demo data for some example sites.
                            </td>
                        </tr>

                    </tbody>
                </table>
            </div> <!--End dialog-->
            <br />
            <br />
            <div class="errors">
                Warning!<br />
                The pages bellow this line are for use by the application admin only and NOT for daily use.<br />
                They allow direct administration of the back-end data, uncontrolled cascade deletion and updates may occur.<br />
                The manager authorisation and pages should be used for normal daily use.<br />
            </div>
            <br/>
            <div class="dialog">
                <ul>
                <g:each var="c" in="${grailsApplication.controllerClasses}">
                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
                </g:each>
                </ul>
            </div>
        </div>
    </body>
</html>
