<%@ page language="C#" masterpagefile="~/APC.master" autoeventwireup="true" inherits="LoginNew, App_Web_yu00t16c" title="APC Management System - Login" enableEventValidation="false" %>

<%@ Register Assembly="DevExpress.Web.ASPxDataControls.v6.3, Version=6.3.1.0, Culture=neutral, PublicKeyToken=79868b8147b5eae4"
    Namespace="DevExpress.Web.ASPxDataControls" TagPrefix="dxwdc" %>
<%@ Register Assembly="DevExpress.Web.ASPxNavBar.v6.3, Version=6.3.1.0, Culture=neutral, PublicKeyToken=79868b8147b5eae4"
    Namespace="DevExpress.Web.ASPxNavBar" TagPrefix="dxwn" %>
<% @Outputcache Location="none" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <dxwn:aspxnavbar id="ASPxNavBar1" runat="server" backcolor="#A2A2B5" groupspacing="5px"
        width="150px"><Groups>
            <dxwn:NavBarGroup AllowDragging="False" AllowExpanding="False" NavigateUrl="~/Login.aspx"
                Text="Login">
            </dxwn:NavBarGroup>
</Groups>

<ItemStyle ForeColor="Black" Height="22px">
<Paddings PaddingTop="3px" PaddingBottom="3px" PaddingLeft="9px"></Paddings>

<HoverStyle BackColor="#FFEEC2">
<BackgroundImage ImageUrl="~/Images/Office2003 Silver/nbHBack.gif"></BackgroundImage>

<Border BorderWidth="1px" BorderColor="#002D96"></Border>
</HoverStyle>

<SelectedStyle BackColor="#FFAD55">
<BackgroundImage Repeat="RepeatX" VerticalPosition="top" ImageUrl="~/Images/Office2003 Silver/nbSBack.gif"></BackgroundImage>

<Border BorderWidth="1px" BorderColor="#002D96"></Border>
</SelectedStyle>
</ItemStyle>

<GroupHeaderStyleCollapsed>
<BorderBottom BorderWidth="1px" BorderColor="#7C7C94"></BorderBottom>
</GroupHeaderStyleCollapsed>

<LoadingPanelImage Url="~/Images/Office2003 Silver/nbLoading.gif"></LoadingPanelImage>

<GroupHeaderStyle BackColor="#F0F0F8" ForeColor="Black">
<Paddings PaddingTop="6px" PaddingRight="7px" PaddingBottom="5px"></Paddings>

<BackgroundImage Repeat="RepeatX" VerticalPosition="bottom" ImageUrl="~/Images/Office2003 Silver/nbGroupHeaderBack.gif"></BackgroundImage>

<Border BorderWidth="1px" BorderColor="#7C7C94"></Border>
</GroupHeaderStyle>

<Paddings Padding="5px"></Paddings>

<BackgroundImage Repeat="RepeatX" VerticalPosition="top" ImageUrl="~/Images/Office2003 Silver/nbBack.gif"></BackgroundImage>

<LoadingPanelStyle ForeColor="#7C7C94" ImageSpacing="6px"></LoadingPanelStyle>

<GroupContentStyle ItemSpacing="1px" BackColor="#E3E3EC">
<Paddings Padding="1px" PaddingLeft="1px"></Paddings>

<BackgroundImage Repeat="RepeatX" VerticalPosition="bottom" ImageUrl="~/Images/Office2003 Silver/nbGroupBack.gif"></BackgroundImage>

<Border BorderWidth="1px" BorderColor="#7C7C94"></Border>
</GroupContentStyle>
</dxwn:aspxnavbar>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <dxwdc:aspxlookandfeelcontroller id="ASPxLookAndFeelController1" runat="server" autoformatname="Office2003 Silver">
<LookAndFeel Kind="Office2003">
<ElementsSettings ScrollBarSize="17px" DropDownButtonWidth="17px" ScrollBarBackColor="240, 242, 246" ScrollBarMargin="1"></ElementsSettings>

<PopupStyle BorderColor="#9595AA" Font-Size="8pt" Font-Names="Verdana"></PopupStyle>

<ButtonStyle UseHotTrackStyle="True" UsePressedStyle="True" Wrap="False" Margin="1" BorderColor="#9595AA" Font-Size="8pt" Font-Names="Verdana" BackColor="#9997B6" ForeColor="Black">
<PressedStyle BorderColor="Navy" ForeColor="Black" BackColor="#FFCA86"><Filters>
    <dxwdc:LookAndFeelStyleGradientFilter EndColor="255, 202, 134" StartColor="254, 148, 80" />
</Filters>
</PressedStyle>
<Filters>
    <dxwdc:LookAndFeelStyleGradientFilter EndColor="153, 151, 182" StartColor="242, 243, 249" />
</Filters>

<HotTrackStyle BorderColor="Navy" ForeColor="Black" BackColor="#FFD599"><Filters>
    <dxwdc:LookAndFeelStyleGradientFilter EndColor="255, 213, 153" StartColor="255, 243, 202" />
</Filters>
</HotTrackStyle>
</ButtonStyle>

<LabelStyle ForeColor="Black" Font-Size="8pt" Font-Names="Verdana"></LabelStyle>

<EditorStyle BorderColor="#9595AA" ForeColor="Black" BackColor="White" Font-Size="8pt" Font-Names="Verdana"></EditorStyle>

<ScrollBarButtonStyle><Filters>
    <dxwdc:LookAndFeelStyleGradientFilter EndColor="153, 151, 182" GradientMode="Horizontal"
        StartColor="242, 243, 249" />
</Filters>
</ScrollBarButtonStyle>
</LookAndFeel>
</dxwdc:aspxlookandfeelcontroller>
    <div style="width: 100%; height: 100%; background-color: #339966">
        <dxwdc:ASPxLabel ID="headerLabel" runat="server" Font-Bold="True"
        Text="Login" ForeColor="White">
    </dxwdc:ASPxLabel>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="DynamicBody" Runat="Server">
    <table style="width: 860px">
        <tr>
            <td style="width: 33px; height: 62px">
            </td>
            <td style="width: 97px; height: 62px">
                <dxwdc:aspxlabel id="lblUser" runat="server" enablekeyboardprocessing="False"
                    font-bold="True" text="User Name:">
                </dxwdc:aspxlabel>
            </td>
            <td style="height: 62px">
                <dxwdc:aspxtextbox id="txtUser" runat="server" text="" width="349px">
                </dxwdc:aspxtextbox>
            </td>
        </tr>
        <tr>
            <td style="width: 33px">
            </td>
            <td style="width: 97px">
                <dxwdc:aspxlabel id="lblPassword" runat="server" enablekeyboardprocessing="False"
                    font-bold="True" text="Password:">
                </dxwdc:aspxlabel>
            </td>
            <td>
                <dxwdc:aspxtextbox id="txtPassword" runat="server" tabindex="0" width="349px">
                <EditorProperties TextMode="Password">
                </EditorProperties>
            </dxwdc:aspxtextbox>
            </td>
        </tr>
        <tr>
            <td style="width: 33px">
            </td>
            <td style="width: 97px">
            </td>
            <td>
                <dxwdc:aspxbutton id="btnLogin" runat="server" text="Login" width="355px" OnClick="btnLogin_Click" TabIndex="0" Default="True">
                    <ClientSideEvents>
                        <Click>
                            function(source,e) {e.processOnServer = false; if (document.forms[0].ctl00$DynamicBody$txtUser.value
                            == '') { alert('Please enter a user name'); document.forms[0].ctl00$DynamicBody$txtUser.focus();
                            return false; } if (document.forms[0].ctl00$DynamicBody$txtPassword.value ==
                            '') { alert('Please enter a password'); document.forms[0].ctl00$DynamicBody$txtPassword.focus();
                            return false; } e.processOnServer = true; }</Click>
                    </ClientSideEvents>
                </dxwdc:aspxbutton>
            </td>
        </tr>
    </table>
</asp:Content>

