<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Login.aspx.vb" Inherits="WebFoundations.WFPortal.UI.Login" %>

<%@ Register Assembly="WebFoundations.WFPortal.Controls" Namespace="WebFoundations.WFPortal.Controls.Content" TagPrefix="WFC" %>
<%@ Register Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" TagPrefix="WFF" %>

<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title>Login</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="/%%PORTAL%%WFResources/THemes/js/html5.min.js" type="text/javascript"></script>
    <link href="/%%PORTAL%%theme/styles" rel="stylesheet" type="text/css" />
    <script src="/%%PORTAL%%theme/scripts"></script>
</head>
<body class="root-page login">
    <form id="form1" runat="server">
        <header>
            <a href="/" class="logo">
                <h1><%:WebFoundations.WFPortal.Management.Settings.AppSettings.SiteTitle%></h1>
            </a>
            <nav>
                <WFF:menu menualias="public" runat="server" />
            </nav>
            <aside>
                <WFC:HeaderFooter runat="server" Alias="header" />
            </aside>
        </header>
        <!-- CONTEUDO -->

        <main class="message">
            <section class="login">
                <h2>Login</h2>
                <div>
                    <asp:Literal runat="server" ID="litChangeMessage" />
                </div>
                <label>
                    <asp:Label ID="lbllogin" runat="server" /><asp:TextBox 
                        ID="txtlogin" runat="server" />
                    <asp:RequiredFieldValidator ID="reqLoginReset" runat="server" ControlToValidate="txtlogin" ValidationGroup="reset" Display="Dynamic" />
                </label>
                <label>
                    <asp:Label ID="lblpwd" runat="server" /><asp:TextBox 
                        ID="txtpwd" runat="server" TextMode="Password" />
                </label>
                <asp:PlaceHolder ID="phExpired" runat="server" Visible="false">
                    <label>
                        <asp:Label ID="lblNewPass" runat="server" /><asp:TextBox 
                            ID="txtnewpwd" runat="server" TextMode="Password" />
                    </label>
                    <label>
                        <asp:Label ID="lblNewPass2" runat="server" /><asp:TextBox 
                            ID="txtnewpwd2" runat="server" TextMode="Password" />
                    </label>
                </asp:PlaceHolder>
                <div class="no-label">
                    <asp:CheckBox ID="chkremember" CssClass="checkbox" runat="server" />
                </div>
                <asp:PlaceHolder ID="phReset" runat="server" Visible="false">
                    <div class="no-label login-reset">
                        <asp:LinkButton ID="lnkResetPwd" runat="server" ValidationGroup="reset" />
                    </div>
                </asp:PlaceHolder>
                <asp:Button ID="btnok" CssClass="ok" runat="server" />
            </section>

        </main>

        <footer>
            <WFC:HeaderFooter runat="server" Alias="footer" />
        </footer>
    </form>
</body>
</html>

