<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MessageView.aspx.cs" Inherits="Axium.Web.Messages.MessageView" Culture="en-US" %>

<!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>Message Details</title>
    
    <!-- css styles -->
    <link href="../Includes/Css/spinner.css" rel="stylesheet" type="text/css" />

    <!-- plug in -->
    <script src="../Includes/JQueryUI/js/jquery-3.5.1.min.js" type="text/javascript"></script>
    <script src="../Includes/JQueryUI/js/jquery-migrate-3.3.2.min.js" type="text/javascript"></script>
    <script src="../Includes/JQueryUI/js/jquery-ui-1.13.2.custom.min.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/spin.min.js" type="text/javascript"></script>
    
    <!-- custom -->
    <script src="../Includes/Scripts/general.240530.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/iframe.231520.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/message.231520.js" type="text/javascript"></script>
    
    <link rel='stylesheet' type='text/css' href='../Includes/Css/popup.231520.css' />
    
    <style type="text/css" runat="server" ID="logicCss"></style>        <%-- Area to load load logic CSS from CMS (using LogicPage Extension class)--%>

    <script type="text/javascript">
        function initPage() {
            resizeParentIframe('messagePage', window);
            scrollParentToTop();
        }
    </script>

</head>
<body id="messagePage" onload="initPage()">
    <form id="form2" runat="server">
        <div id="PatientMessageDetail">
            <h1>Message Details</h1>
            <div id="MessageContent" runat="server">
                <div id="ActionsBtns">
                    <asp:Button ID="ComposeBtn" runat="server" Text="Compose" CssClass="MessageActionBtn" OnClick="ComposeClick" />
                    <asp:Button ID="ReplyBtn" runat="server" Text="Reply" CssClass="MessageActionBtn" OnClick="ReplyClick"/>
                    <asp:Button ID="ReplyAllBtn" runat="server" Text="Reply All" CssClass="MessageActionBtn" OnClick="ReplyAllClick"/>
                    <asp:Button ID="ForwardBtn" runat="server" Text="Forward" CssClass="MessageActionBtn" OnClick="ForwardClick"/>
                    <asp:Button ID="DeleteBtn" runat="server" Text="Delete" CssClass="MessageActionBtn" OnClientClick="validateDeleteClick(); return false;"/>
                    <input id="hdnDeleteBtn" type="button" value="delete" runat="server" OnServerClick="DeleteClick" />
                    <span class="Navigation">
                        <a ID="InboxClick" href="/PatientAccess/Messages/MessageList.aspx?s=msgi" runat="server" ><asp:Label ID="InboxTxt" runat="server" Text="Inbox"></asp:Label></a>
                        <a ID="SentClick" href="/PatientAccess/Messages/MessageList.aspx?s=msgs" runat="server" >Sent</a>
                    </span>
                    <div class="MessageUrgent"><asp:Label ID="UrgentTxt" runat="server" Text="!" CssClass="UrgentMsg" /></div>
                </div>
                <div id="Info">
                    <div class="MessageDetailSubject">
                        <asp:Label ID="SubjectLbl" runat="server" ></asp:Label>
                    </div>
                    <div class="TitleDiv">
                        <div class="TitleLbl">From:</div>
                        <asp:Label ID="FromLbl" runat="server"></asp:Label>
                    </div>
                    <div class="TitleDiv">
                        <div class="TitleLbl">To:</div>
                        <div class="TitleContentLbl"><asp:Label ID="ToLbl" runat="server"></asp:Label></div> 
                    </div>
                    <div class="TitleDiv" ID="CcDiv" runat="server">
                        <div class="TitleLbl">Cc:</div>
                        <div class="TitleContentLbl"><asp:Label ID="CcLbl" runat="server"></asp:Label></div> 
                    </div>
                    <div class="TitleDiv">
                        <div class="TitleLbl">Date:</div>
                        <div class="TitleContentLbl"><asp:Label ID="DateLbl" runat="server"></asp:Label></div> 
                    </div>
                    <div class="Separator"></div>
                    <div class="TextArea">
                        <asp:Literal ID="TextLiteral" runat="server" EnableViewState="False"></asp:Literal>
                    </div>
                    <br/>
                </div>
            </div>
            <div id="NOMESSAGE" runat="server" class="NoMsgAvail">
                <div id="NOMESSAGECONTENT" class="noItem" runat="server"></div>
            </div>

        </div>
        <asp:PlaceHolder ID="AutoLogout" runat="server" Visible="false" EnableViewState="false" />
    </form>
</body>
</html>
