<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="~/PatientAccess/Users/InsuranceListOldVersion.aspx.cs" Inherits="Axium.Web.Users.InsuranceInfoOldVersion" %>

<!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>
    <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="https://kit.fontawesome.com/95fbe47167.js" crossorigin="anonymous"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="PolicyInformation">
        <h1>Insurance Policy Information</h1>
        <div class="metaInfo metaInfoIndicators">
            <span class="covered">ACTIVE</span>
            <span class="notCovered">FUTURE</span>
        </div>
        <div id="PolicyList">
            <asp:Repeater runat="server" ID="PolicyListRepeater" OnItemDataBound="DataBound">
                <ItemTemplate>
                    <asp:Panel runat="server" ID="ItemRow" CssClass="itemRow">
                        <asp:Label CssClass="mainInfo" runat="server" ID="MainInfoBox">
                            <asp:Label runat="server" CssClass="companyName" ID="CompanyName"></asp:Label>
                            <asp:Label runat="server" CssClass="date" ID="Date"></asp:Label>
                            <asp:Label runat="server" CssClass="date" ID="Date2" Visible="False"></asp:Label>
                        </asp:Label>
                        <asp:Label runat="server" CssClass="subInfo" ID="SubInfoBox">
                            <asp:Label runat="server" CssClass="policyHolder" ID="HolderNameBox">
                                <span class="labelField">Policy Holder:</span>
                                <asp:Label runat="server" CssClass="infoField" ID="HolderName"></asp:Label>
                            </asp:Label>
                            <asp:Label runat="server" CssClass="employer" ID="EmployerNameBox">
                                <span class="labelField">Employer:</span>
                                <asp:Label runat="server" CssClass="infoField" ID="EmployerName"></asp:Label>
                            </asp:Label>
                            <asp:Label runat="server" CssClass="subscriberNumber" ID="SubscriberNumberBox">
                                <span class="labelField">Subscriber #:</span>
                                <asp:Label runat="server" CssClass="infoField" ID="SubscriberNumber"></asp:Label>
                            </asp:Label>
                            <asp:Label runat="server" style="float:right">View Details <i class="fa-solid fa-share"></i></asp:Label>
                        </asp:Label>
                    </asp:Panel>
                    
                </ItemTemplate>
            </asp:Repeater>
            <asp:Panel ID="NoItem" runat="server" CssClass="noItem"></asp:Panel>
            
        </div> 
    </div>
    </form>
    <script type="text/javascript">
        jQuery(document).ready(function () {
            var $childHeight = jQuery('#PolicyInformation').outerHeight();
            jQuery('#insuranceIframeId', window.parent.document).css({ 'height': $childHeight });
        });         
    </script>
</body>
</html>
