<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>Manage:</label>
                            </td>
                            <td valign="top" class="value">
                                <a href="${createLink(controller:'person', action:'list')}">Application users</a>
                            </td>
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name">
                                <label>Budget:</label>
                            </td>
                            <td valign="top" class="value">
                                <g:link controller="taskDetailed"
                                                action="search"
                                                params="[quickSearch: 'budgetPlanned']">
                                                Planned Tasks
                                </g:link>
                                <br />
                                <g:link controller="taskDetailed" 
                                                action="search"
                                                params="[quickSearch: 'budgetUnplanned']">
                                                Unplanned Tasks
                                </g:link>
                            </td>
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name">
                                <label>Entity Relationship Diagram:</label>
                            </td>
                            <td valign="top" class="value">

                                <a href="${createLink(controller:'classDiagram', action:'model', params:[outputFormat: 'pdf', skin: 'classicSpaced', showMethods: 'false', autoUpdate: 'false'])}">PDF</a>
                                <br />
                                <a href="${createLink(controller:'classDiagram', action:'legend', target:'_blank')}">Legend</a>
                                <br />
                                <a href="${createLink(controller:'classDiagram', action:'show')}">Interactive.</a>
                            </td>
                        </tr>

                    </tbody>
                </table>
            </div> <!--End dialog-->
        </div> <!--End body-->
    </body>
</html>
