<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Neclog_3_0.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="App_Include/StyleSheet/style.css" rel="stylesheet" />
    <%--    <script src="App_Include/JavaScript/ddaccordion.js"></script>--%>
</head>
<body class="mainbg">
    <form id="form1" runat="server" defaultfocus="txtLoginName">
        <div>
            <asp:Table runat="server" Width="100%" BorderStyle="None" HorizontalAlign="Right" CellPadding="1" CellSpacing="1">

                <asp:TableRow>
                    <asp:TableCell HorizontalAlign="left" VerticalAlign="Top">
                        <div style="padding-top:0.5%">
                            <asp:Image runat="server" ImageUrl="Images/Neclog_Images/neclog-logo.png" />
                        </div>                        
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell HorizontalAlign="left" VerticalAlign="Top" Height="200px">
                        &nbsp;
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell HorizontalAlign="left" VerticalAlign="Bottom">
                        <asp:Table runat="server" Width="20%" BorderStyle="None" HorizontalAlign="Center" CellPadding="1" CellSpacing="1">
                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                      <h1>Login </h1>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                    <asp:Label ID="ErrorMessage" runat="server" Visible="false" CssClass="text-alert"></asp:Label>
                                </asp:TableCell>
                            </asp:TableRow>

                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                      <h3>Login Name</h3>
                                </asp:TableCell>
                            </asp:TableRow>

                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                    <div>
                                        <asp:TextBox runat="server" ID="txtLoginName" autocomplete="off" CssClass="input-login" MaxLength="150" />
                                    </div>
                                    <div>
                                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLoginName"
                                            CssClass="text-alert" ErrorMessage="The Login Name field is required." SetFocusOnError="true" />
                                    </div>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                    <h3>Password</h3>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                    <div>
                                        <asp:TextBox runat="server" ID="txtLoginPassword" TextMode="Password" CssClass="input-login" MaxLength="15" />
                                    </div>
                                    <div>
                                        <asp:RequiredFieldValidator runat="server" ControlToValidate="txtLoginPassword" CssClass="text-alert" ErrorMessage="Password is required."  SetFocusOnError="true"  />
                                    </div>
                                </asp:TableCell>
                            </asp:TableRow>
                            <asp:TableRow>
                                <asp:TableCell HorizontalAlign="Left" Width="70%" VerticalAlign="Top">
                                    <asp:ImageButton ID="ImgBtnLogin" runat="server" align="absmiddle" ToolTip="Login"
                                        BorderWidth="0px" ImageUrl="Images/Neclog_Images/login-bt.png"
                                        border="0" OnClick="LogIn" />
                                </asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
        </div>
    </form>
</body>
</html>
