<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="PA2Master.master" CodeBehind="~/PatientAccess/TermsAgreement.aspx.cs" Inherits="Axium.Web.TermsAgreement" %>
<%@ Register TagPrefix="axi" TagName="Copyright" Src="~/PatientAccess/Controls/CopyrightControl.ascx" %>


<asp:Content ID="HeaderContent" ContentPlaceHolderID="Header" runat="server">
    <link rel="stylesheet" href="Includes/Css/PA2.0/common.css" />
    <script type="text/javascript">
        function RefreshParent() {
            // We need to open the spinner before the page is refreshed
            try {
              openModalSpinner();
            } catch {
              try {
                parent.openModalSpinner();
              } catch {}  
            }
            
            window.parent.location.href = '/PatientAccess/Default.aspx';
        }
    </script>
</asp:Content>

<asp:Content ID="ContainerContent" ContentPlaceHolderID="Container" runat="server">
    <form runat="server">
        <div id="TermsAgreed" class="container-fluid">
            <h1 class="d-none" id="PageTitle" ClientIDMode="Static" runat="server"></h1>
            <div id="content1" class="TermsContentInstruction" runat="server"></div>
            <br/>
            <div id="content2" class="TermsContentText" runat="server"></div>
            <br/>

            <asp:CheckBox ID="TermConditionAgreeChkBox" ClientIDMode="Static" runat="server"/>

            <div class="d-grid gap-2 mt-3">
                <asp:Button ID="TermConditionAcceptBtn" ClientIDMode="Static" runat="server" Text="Accept" CssClass="btn btn-primary" OnClick="TermConditionAcceptBtn_Click"/>
            </div>
        </div>
    </form>
    <axi:Copyright ID="Copyright" runat="server" />

</asp:Content>

<asp:Content ID="ScriptsContent" ContentPlaceHolderID="Scripts" runat="server">
    <script src="Includes/Scripts/PA2.0/TermsAgreement.js" type="text/javascript"></script>
</asp:Content>