<%@ Page Title="" Language="C#" MasterPageFile="~/PatientAccess/PAAdmin/AdminMainSubNav.Master" AutoEventWireup="true" CodeBehind="SettingMain.aspx.cs" Inherits="Axium.Web.PAAdmin.SettingTab.SettingMain" %>
<%@ MasterType VirtualPath="~/PatientAccess/PAAdmin/AdminMainSubNav.Master" %>

<asp:Content ID="HeaderSection" ContentPlaceHolderID="AdditionalHeader" runat="server"></asp:Content>

<asp:Content ID="LeftMenu" ContentPlaceHolderID="SubNavigation" runat="server">
    <adminNav:Settings runat="server" ID="SettingNavigationControl" />
</asp:Content>

<asp:Content ID="MainSection" ContentPlaceHolderID="MainContent" runat="server">
    <div class="MainHeader">
        <asp:Button ID="SaveSettingBtn" runat="server" Text="Save" CssClass="ButtonGreen" onclick="SaveBtn_Click" OnClientClick="showSpinner();"/>            
        <input id="hdnResetPasswordsBtn" class="hdnResetPasswordsBtn" type="button" value="delete" runat="server"  OnServerClick="ResetAllPasswords_Click" onclick="showSpinner();" style="display: none;"/>
    </div>
    <div>
        <asp:Panel ID="iSettingPanel" runat = "server"></asp:Panel> 
    </div>
    
    <div id="resetAllAlert" class="jqmAlert">
    <div class="jqmAlertWindow">
        <div class="jqmAlertTitle">
            <h3 id="ConfirmHeader" runat="server" enableviewstate="false">
                WARNING
            </h3>
            <a class="logoutX resetCancel" href="#"><em>Cancel</em> </a>
        </div>
        <div class="jqmAlertContent">
            <div id="LogoutExplanation" runat="server" enableviewstate="false">
                <p>
                    You are about to reset the passwords of all PatientAccess patients. An email will be sent to all PatientAccess patients with a link to change their passwords. <span id="resetExpiry" runat="server">The link will expire in 5 days.</span> This process can take several minutes to complete.<br/><br/> Are you sure you want to continue?
                    <br/>
                    <br/>
                </p>
            </div>
            <p>
                <a ID="resetAllYes" ToolTip="Yes" Text="Yes" runat="server"
                    onclick="" href="#" class="resetYes">Yes</a>
                <asp:HyperLink ID="LogoutCancelLink" ToolTip="No" Text="Cancel"
                    runat="server" EnableViewState="false" NavigateUrl="#" CssClass="resetCancel" />
            </p>
        </div>
    </div>
    
</div>
</asp:Content>

