<%@ Page Title="NIKAI DSR" Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="NikaiDSR.Login" %>

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head id="Head1" runat="server">
    <title>BMW</title>
    <meta charset="UTF-8" />
    <link rel="stylesheet" type="text/css" media="all" href="App_Themes/Default/style.css" />
    <link rel="shortcut icon" href="favicon.ico">
</head>
<body class="loginBody">
    <form id="form2" runat="server">
        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <asp:Login ID="loginControl" runat="server" OnAuthenticate="loginControl_Authenticate"
                        DestinationPageUrl="~/LandingPage.aspx" CssClass="loginControl">
                        <LayoutTemplate>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <div class="login_form bg_shadow">

                                            <table border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td colspan="2" style="padding: 0;">
                                                        <asp:Image ID="imgLogo" runat="server" SkinID="loginLogo" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblUserName" runat="server" AssociatedControlID="UserName">User Name:</asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="UserName" runat="server" MaxLength="50"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                            CssClass="errLogin" ErrorMessage="User Name is required." ToolTip="User Name is required."
                                                            ValidationGroup="loginValidation">*</asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <asp:Label ID="lblPassword" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="Password" runat="server" TextMode="Password" MaxLength="50"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                            CssClass="errLogin" ErrorMessage="Password is required." ToolTip="Password is required."
                                                            ValidationGroup="loginValidation">*</asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="center" colspan="2">
                                                        <table border="0" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td width="25" align="left" valign="middle">
                                                                    <asp:Image ID="imgErr" runat="server" SkinID="loginErr" Visible="false" />
                                                                </td>
                                                                <td align="left" valign="middle" style="color: Red;">
                                                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <table border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td align="left">
                                                        <p>
                                                            <asp:HyperLink ID="hypForgotPwd" runat="server" NavigateUrl="ForgotPassword.aspx">Forgot Password ?</asp:HyperLink>
                                                        </p>
                                                    </td>
                                                    <td width="50" align="right">
                                                        <asp:Button ID="LoginButton" runat="server" Text="Log In" SkinID="submitButton" CommandName="Login" ValidationGroup="loginValidation" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" align="left" class="browsers">Website best viewed in IE - 8.0 & Mozilla Firefox -7.0 Browsers
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </LayoutTemplate>
                    </asp:Login>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
