<div id="completeContent" dojoType="dijit.layout.BorderContainer" persist="true"
 style="width: 100%; height: 1000px;">
    <!-- Left Content -->
    <div id="navigation-container" dojoType="dijit.layout.ContentPane" region="left" splitter="false" minSize="180"
    maxSize="300"
    style="width: 15%; overflow: hidden;">
        <div region="center" dojoType="dijit.layout.ContentPane">
            <div id="tree-navigation">
                <div dojoType="dijit.layout.ContentPane" id="treeBox"
                 style="height: 100%;">
                </div>
            </div>
        </div>
    </div>

    <!-- Top Bar menu -->
    <div dojoType="dijit.layout.ContentPane" region="top" id="header"
    style="height: 55px; overflow: hidden;">
        <img class="left" src="<?php echo $this->webpath; ?>img/logo.png" alt="PHProjekt 6" />
        <div id="mainNavigation"  class="right align-right" dojoType="dijit.Toolbar">
        </div>
    </div>

    <!-- Center Content -->
    <div id="completeCenterContent" dojoType="dijit.layout.ContentPane" region="center"
    style="height: 1000px;">
        <div dojoType="dijit.layout.BorderContainer" design="sidebar"
        style="height: 100%;">
            <!-- Second Top Bar -->
            <div dojoType="dijit.layout.ContentPane" region="top" class="block" splitter="false"
            style="height: 100%;">
                <div class="column">
                    <img src="<?php echo $this->webpath; ?>img/subheaderborder.png" alt="" />
                </div>
                <div dojoType="dijit.layout.ContentPane" region="top" class="block"
                style="height: 7%;" splitter="false">
                </div>
                <!-- Exception Form -->
                <div id="serverFeedback" class="prepend-1 append-1">
                <?php
                if ($this->message) {
                    echo '<div class="error">'.$this->message.'</div>';
                }
                if ($this->errors) {
                    echo '<div class="error">'.$this->errors.'</div>';
                }
                ?>
                </div>
                <!-- Main Content -->
                <div dojoType="dijit.layout.ContentPane" region="center" id="centerMainContent">
                <form dojoType="dijit.form.Form" id="loginForm" name="loginForm" method="post"
                action="<?php echo $this->webpath; ?>index.php/login/login">
                    <input dojoType="dijit.form.TextBox" id="hash" type="hidden" name="hash" value="" />
                    <table width="100%" align="center" class="form">
                    <col class="col1" />
                        <tr>
                            <td class="label"><label for="username">Username:</label></td>
                            <td>
                                <input type="text" name="username" autocomplete="on"
                                class="dijit dijitReset dijitLeft dijitTextBox dijitTextBoxFocused dijitFocused"
                                id="username" tabindex="0" value="<?php echo $this->username; ?>"
                                style="outline: none;" />
                            </td>
                        </tr>
                        <tr>
                            <td class="label"><label for="password">Password:</label></td>
                            <td>
                                <input type="password" name="password" autocomplete="on"
                                class="dijit dijitReset dijitLeft dijitTextBox dijitTextBoxFocused dijitFocused"
                                id="password" tabindex="0" value=""
                                style="outline: none;" />
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <input dojoType="dijit.form.CheckBox" id="keepLogged" name="keepLogged" value="1" />
                                &nbsp;
                                <label for="keepLogged">Keep me logged in</label>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <button dojoType="dijit.form.Button" baseClass="positive" id="loginButton"
                                type="submit" iconClass="tick">
                                    Login
                                </button>
                            </td>
                        </tr>
                    </table>
                </form>
                </div>
            </div>
        </div>
    </div>
</div>
