<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MBlogView, App_Web_sqnaqmtm" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="BlogUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                    <strong>
                        <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                </div>
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                                    <div class="himssuHeader1WireBox whitebox">
                                        <div class="himsBoxHeader note note1 box box-danger" id="Div4" runat="server" visible="True">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText fLeft">
                                                    <asp:Label ID="Label4" Text="Blog View"
                                                        runat="server" />
                                                </div>
                                            </div>
                                            <div class="fRight">
                                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="BackButton" Text="Back" />
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <asp:Panel ID="DetailPanel" runat="Server">
                                                <div class="contentHolder">
                                                    <div class="col-md-12 pTop5">
                                                        <div class="col-md-5">
                                                            <table cellspacing="10px">
                                                                <tr>
                                                                    <div class="small-box bg-blue-gradient" style="margin-bottom: 0px !important">
                                                                        <div class="inner">
                                                                            <p>
                                                                                <asp:Label ID="TitleLabel" runat="server" Font-Bold="true" Font-Size="Medium"></asp:Label>
                                                                                <asp:Label CssClass="whiteboxpaddingleft" ID="TotalFavoriteLabel" runat="server" Font-Bold="true" Font-Size="Small"></asp:Label>
                                                                                <i class="fa fa-thumbs-o-up"></i>
                                                                                <asp:Button ID="FavoriteButton" BackColor="DimGray" Text="Favorite" runat="Server" OnClick="FavoriteButton_Click" SkinID="CustomWidthButton" />
                                                                            </p>
                                                                        </div>
                                                                        <div class="small-box-footer" style="height: 20px">
                                                                            <asp:Label CssClass="fLeft whiteboxpaddingleft" ID="BlogDetailsLabel" runat="server">
                                                                            </asp:Label>
                                                                            <asp:Label ID="TotalCommentLabel" CssClass="fa fa-comments-o fRight whiteboxpaddingleft" runat="server" Font-Bold="true" Font-Size="Small"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                    <div class="remarkcolor">
                                                                        <div class="remarkcolor">
                                                                            <asp:Label CssClass="profilenew" ID="BlogRemarkLabel" runat="server" Width="100%"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5" style="padding-left: 10px">
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                                Width="300px" onmouseenter="showHideTooltip()" MaxLength="500" TextMode="MultiLine" Height="40px"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5" style="padding-left: 10px">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="CommentButton" Text="Submit" runat="Server" OnClick="CommentButton_Click" Width="65px" SkinID="0" CssClass="PrimaryButton" />
                                                            <asp:HiddenField runat="server" ID="DeleteCommentIdHiddenField" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="spacer">
                                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                    </div>
                                                    <asp:Repeater ID="BlogRepeater" runat="server" OnItemDataBound="BlogRepeater_OnItemDataBound">
                                                        <ItemTemplate>
                                                            <div class="leftUlMenu" style="padding-left: 20px">
                                                                <ul>
                                                                    <li style="height: auto; color: Black; list-style-type: none; background-color: White; width: 40%">
                                                                        <asp:HiddenField runat="server" ID="CommentIdHiddenField" Value='<%# Eval("Id") %>' />

                                                                        <asp:LinkButton ID="DeleteLinkButton" runat="server" Text="Delete" CssClass="label label-danger" Visible="false" OnClick="DeleteLinkButton_Click" Style="float: right"></asp:LinkButton>
                                                                        <asp:Label runat="server" ID="CommentCreatedUserNameLabel" Text='<%# Eval("CommentCreatedUserName")%>' Font-Size="Smaller" Font-Bold="true"></asp:Label>
                                                                        <asp:Label runat="server" ID="CommentCreatedDateTimeLabel" Text='<%# DataBinder.Eval(Container.DataItem, "CommentCreatedDateTime", "{0:MMMM dd,yyyy}")%>' Font-Bold="true" Style="float: right" CssClass="whiteboxpaddingleft"></asp:Label>
                                                                        <asp:Label CssClass="direct-chat-text rollIn" runat="server" ID="RemarkLabel" Text='<%# DataBinder.Eval(Container.DataItem, "Remark").ToString().Replace(Environment.NewLine, "<br />") %>' Width="250px"></asp:Label>
                                                                    </li>
                                                                    <div class="spacer5 leftUlMenu">
                                                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                                                                    </div>
                                                                </ul>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mblog-view-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>