<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MPollView, App_Web_xo24zi45" 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">
                <!-- ContentPlaceHolder Box Starts -->
                 <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>
                          <%--  <div class="col-md-3">
                        <section class="content-header" style="margin-bottom: 5px; margin-right: 0px; padding-right: 0px !important; padding-left: 0px;">
                             <div style="padding-right:0;">
                                 <asp:Label runat="server" ID="ScreenNamelabel" Text="" Font-Bold="true" CssClass="screennamelabel"/>
                             </div>
                        </section>
                    </div>--%>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                    <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="Poll 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="outerBox pTop5">
                                                        <%-- <div class="controlLabelWidth">
                                                </div>--%>
                                                        <div style="padding-left :30px"><%--class="fLeft pRight5"--%>
                                                            <table cellspacing="10px">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="TitleLabel" runat="server"  Font-Bold="true" Font-Size="Medium"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="RemarkLabel" runat="server"  Font-Size="Small"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                   
                                                    </div>
                                               
                                                    <div align="right" style="margin-right: 15px;margin-top:5px">
                                                        <asp:Button ID="VoteButton" Text="Vote" runat="Server" OnClick="VoteButton_Click"
                                                            Style="float:right" CssClass="btn-primary" />
                                                        <asp:Label CssClass="pad" ID="TotalPollVoteLabel" runat="server" Font-Bold="true" Font-Size="Medium"></asp:Label>
                                                    </div>
                                                    <div class="spacer">
                                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                    </div>
                                                    <asp:Repeater ID="PollAnswerRepeater" runat="server" OnItemDataBound="PollAnswerRepeater_OnItemDataBound">
                                                       
                                                        <ItemTemplate>
                                                            
                                                            <br />
                                                            <div class="leftUlMenu pTop5" >
                                                                <ul>

                                                                    <li style="height: auto; color: Black; list-style-type: none; 
                                                                        width: 98%">
                                                                        <asp:Label runat="server" ID="PollAnswerLabel" Text='<%# Eval("PollAnswer")+" &nbsp; " %>' Font-Bold="true"></asp:Label>
                                                                        <asp:Label runat="server" ID="PercentagePollAnswerVoteLabel" Text='<%# Eval("PercentagePollAnswerVote")+"% (" %>'></asp:Label>
                                                                        <asp:Label runat="server" ID="TotalPollAnswerVoteLabel" Text='<%# Eval("TotalPollAnswerVote")+" Votes)<br />" %>'></asp:Label>
                                                                        <div runat="server" width="100%" style="padding: 0px; margin: 0px;" class="progress-bar-danger">
                                                                            
                                                                            <asp:Label runat="server" ID="PercentageColorLabel" Height="15px" CssClass="progress-bar-green"
                                                                                Width="50%" Style="padding: 0px; margin: 0px;"></asp:Label>

                                                                            
                                                                        </div>
                   
                                                                    </li>
                                                                    <div class="spacer5 leftUlMenu">
                                                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                                                                    </div>
                                                                </ul>
                                                            </div>
                                                            <%--</div>--%>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <div class="cBoth">
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script>       
</asp:Content>