<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginOldVersion.aspx.cs" Inherits="Axium.Web.LoginOldVersion" EnableSessionState="True"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head id="Head1" runat="server">
    <title></title>
    <script type="text/javascript">
        function RefreshParent()
        {
            window.parent.location.href = window.parent.location.href;
        }
        function RefreshParentDefault() {
            window.parent.location.href = '/PatientAccess/Default.aspx';
        }
        function RefreshParentDefaultWithParam(param) {
            window.parent.location.href = '/PatientAccess/Default.aspx' + param;
        }
    </script>

    <script src="Includes/Scripts/jquery-3.5.1.min.js" type="text/javascript"></script>
    <script src="Includes/Scripts/jquery-migrate-3.3.2.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id = "Login">
        <h1 class="HideHeader">.</h1>
        <div id="LoginArea">
            <ul>
                <li class="message2"><asp:Label ID="LoginInstructionText" runat="server"></asp:Label></li>
                <li class="userLabel"><asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" EnableViewState="false">Username</asp:Label></li>
                <li class="userField"><asp:TextBox ID="Username" runat="server" AccessKey="u" MaxLength="100" EnableViewState="false" autocomplete="off" /></li>
                <li class="passLabel"><asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" EnableViewState="false">Password</asp:Label></li>
                <li class="passField"><asp:TextBox ID="Password" runat="server" AccessKey="p" TextMode="Password" MaxLength="16" EnableViewState="false" autocomplete="off" /></li>
                <li class="submitBtn"><asp:Button ID="LogoutASPBtn" runat="server" Text="Login" onclick="LoginBtn_Click" /></li>
                <li class="forgotPassword" id="forgotPasswordli" runat="server">
                    <asp:Button runat="server" CssClass="buttonWithLinkStyle" Text="Forgot Password" OnClick="ForgotPassword_Click" />
                </li>
                <li class="selfRegistration" id="selfRegistrationli" runat="server">
                    <asp:Button runat="server" CssClass="buttonWithLinkStyle" Text="Register for Access" OnClick="SelfRegistration_Click" />
                </li>
            </ul>
            <div id="ErrorSpan" class="Error" runat="server"></div>


        </div>
    </div>
    </form>
    <script type="text/javascript">
        jQuery(document).ready(function() {
            var childHeight = jQuery('#Login').height();
            jQuery('#loginIfrmId', window.parent.document).css('height', childHeight);
        });   
    </script>
</body>
</html>
