<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Credentials.aspx.cs" Inherits="Axium.Web.Credentials" Title="Credentials" %>

<%@ Import Namespace="Axium.Web.Code" %>
<%@ Register TagPrefix="axi" TagName="CredentialFull" Src="~/PatientAccess/Controls/CredentialsFull.ascx" %>

<!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" >
<head id="Head1" runat="server">
    <title></title>
    
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <!-- //Todo: External style files, script and style compression and merge -->
    <!--[if lt IE 8]><style type="text/css">#questions h3{padding-top:5px;background-position:10px left;}#Login #Forgot{margin-left:11px;}div.links{position:relative;}div.links input.nextprevious{margin:0;position:absolute;top:20px;}.picker{margin-bottom:-22px;}</style><![endif]-->
    <!--[if lt IE 7]><style type="text/css">#Content{overflow:auto;}#MainContent{width:565px;margin-left:13px;}
        #SideBar ul.leftNav li a{background-position:3px 2px;padding:8px 5px 8px 20px;}#Login #Forgot{margin-left:6px;}.available,.unavailable{line-height:14px;}
        #MainContent h2.topHeader{width:565px;}#questions h3{background-position:5px left;}#iFormsListing li a{width:100%;}
        .jqmWindow,.jqmAlert,#logoutAlert{position: absolute;top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');width:300px;}#logoutAlert{left:40%;}#logoutAlert div.jqmAlertContent{display:block;clear:both;}
        iframe.jqm {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');
        </style>
    <![endif]-->
    <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>
    <script src="Includes/Scripts/json2.min.js" type="text/javascript"></script>
    <script src="Includes/Scripts/utilities.js" type="text/javascript"></script>
    <script src="Includes/Scripts/jqModal-r14.js" type="text/javascript"></script>
    <script src="Includes/Scripts/ui.datepicker.js" type="text/javascript"></script>
    <script src="Includes/Scripts/jquery.maxlength-1.0.3.min.js" type="text/javascript"></script>    
    <script src="Includes/Scripts/jquery.timer.js" type="text/javascript"></script>    
    <script src="Includes/Scripts/jquery.validate-1.19.2.min.js" type="text/javascript"></script>
    
    <script type="text/javascript">
        function RefreshParent() {
            window.parent.location.href = '/PatientAccess/Default.aspx?successfull=true'; // 28957955 call default page to display all links if was correct update for credentials full.
        }
        //36732337 Hide any notification message
        $(document).ready(function() {
            $('input').on('keydown', function (e) {		// AX-24898.24919.2 .keydown(function (e) {
                $('.success').hide();
                $('.errorMsg').hide();
            });
            $('select').on('change', function () {     	// AX-24898.24919.2 .change(function () {
                $('.success').hide();
                $('.errorMsg').hide();
            });
        });
    </script>

</head>
<body>
    <form name="aspnetForm" method="post" action="Credentials.aspx" id="aspnetForm" runat="server">
    <div id="Credentials">
    <h1>Update Credentials</h1>
        <asp:Literal ID="Notifications" runat="server" Visible="false" EnableViewState="false" />
        <div class="validationError validation">
            <ul>
            </ul>
        </div>
        <div id="content1" class="instructionMessage" runat="server"></div>
        <div id="content2" class="contentbox" runat="server">
            <axi:CredentialFull ID="Creds" runat="server" />
            <div id="ButtonDiv" class="buttons">
                <asp:Button ID="Update" runat="server" CssClass="button" AccessKey="l" OnClick="UpdateButton_Click"
                    EnableViewState="false" Text="Update" />
            </div>
        </div>
    </div>
    </form>
    <script type="text/javascript">
        jQuery(window).load(function() {
            $childHeight = jQuery('#Credentials').outerHeight();
            $newheight = $childHeight + 300;
            jQuery('#TempPassIfrmId', window.parent.document).css('height', $newheight);
        });             
    </script>
</body>
</html>
