<%@ page language="C#" autoeventwireup="true" inherits="login, FaxCore.OSA40" uiculture="Auto" %>



<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login</title>
    <meta name="Browser" content="NetFront" />
    <asp:Literal runat="server" ID="activeStyleSheet"></asp:Literal>
    	<style type="text/css">
		.loginPanel
		{
			width: 415px;
			height: 328px;
			margin: auto;
			padding-top: 30px;
		}
		.loginPanelHeader
		{
			position: inherit;
			height: 50px;
			background-repeat: no-repeat;
			background-color: #43588C;
		}
		.loginPanelLeftPane
		{
			position: absolute;
			margin-top: 0px;
			width: 100px;
			height: 288px;
			background-color: #43588C;
		}
		.loginPanelBody
		{
			padding-left: 100px;
			background-color: transparent;
			height: 288px;
		}
		.loginFormElements
		{
			clear: both;
			padding: 10px;
		}
		.loginFormElements .label
		{
			display: block;
			float: left;
			text-align: left;
			padding-right: 5px;
			line-height: 22px;
			width: 90px;
		}
		.loginFormElements .itext
		{
			display: block;
			float: left;
			width: 255px;
			line-height: 22px;
		}
		.goButtonClassHov .rbText
		{
			color: Green !important;
			font-weight: bold;
		}
		.vs
		{
			display: block;
			float: left;
			line-height: 22px;
			padding-left: 8px;			
			text-align: left;
			color: Red;		
		}
		.loginPanelHeader
		{position: static;
			margin-top: 0px;
			width: 435px;
			height: 50px;
			background-color: #43588C;
		  }
	</style>

</head>
<body>
    <form id="form1" runat="server">
    <div class="loginPanel">
    <div class="loginPanelHeader">
    <img alt="faxcore"  src="Images/faxcorelogo_transparent.gif" />
    </div>
    <div class="loginPanelLeftPane">
    
		</div>
		<div class="loginPanelBody">
			<div class="loginFormElements">
				<asp:Label ID="lblUN" runat="server" CssClass="label" Text="Login Name" Width="150px" ></asp:Label>
				<asp:RequiredFieldValidator runat="server" ID="rfvUN" ControlToValidate="txtUN" CssClass="vs" Display="Dynamic"
					Text="*" ErrorMessage="Missing login name!"  ValidationGroup="login"></asp:RequiredFieldValidator>
				<asp:TextBox runat="server" ID="txtUN" CssClass="itext" Width="290px" Text="">
				</asp:TextBox>
			</div>
			<div class="loginFormElements">
				<asp:Label ID="lblPwd" runat="server" CssClass="label" Text="Password" ></asp:Label>
				<asp:RequiredFieldValidator runat="server" ID="rfvPwd" ControlToValidate="txtPwd" CssClass="vs" Display="Dynamic"
					Text="*" ErrorMessage="Missing password!" ValidationGroup="login"></asp:RequiredFieldValidator>
				<asp:TextBox runat="server" ID="txtPwd" TextMode="Password" CssClass="itext" Text="password"
					Width="290px">
				</asp:TextBox>
			</div>
			<div style="padding-top: 50px; padding-left: 8px; display: block; margin: auto;">
				<asp:Button ID="btnSubmit" runat="server" Width="90px" Text="Submit"
					HoveredCssClass="goButtonClassHov" EnableSplitButton="False" ToolTip="Press to login"
					OnClick="btnSubmit_Click" ValidationGroup="login">
					
				</asp:Button>
                <br /><br />
				<asp:Button ID="btnRequestPwd" runat="server" Text="Forgot password?" OnClientClicked="LoadRPPopUp"
					ButtonType="LinkButton" AutoPostBack="false" Visible="false">					
				</asp:Button>
			</div>
			<div class="vs" style="padding-top:25px; padding-left:8px">
				<asp:ValidationSummary ID="vs" runat="server" ValidationGroup="login" CssClass="" ShowSummary="true"
					DisplayMode="List" />
                    <br />
                    <asp:Label ID="lblError" runat="server"></asp:Label>
			</div>
		</div>

    </div>
    </form>
</body>
</html>
