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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" Runat="Server">
    <asp:UpdatePanel ID="StudentViewResultUpdatePanel" runat="server">
        <ContentTemplate>
             <style type="text/css">
              

                  /*@media(max-width:720px){
                    .resp-gridivew{
                        width:80% !important;
                        overflow-y:auto !important;
                    }
                }
                   @media(max-width:414px){
                    .resp-gridivew{
                        width:50% !important;
                        overflow-y:auto !important;
                    }
                }*/
                     @media(max-width:360px){
                    .resp-gridivew{
                        width:70% !important;
                        overflow-y:auto !important;
                    }
                }
            </style>
	          <div id="divContentPage" class="padding-top-header">
                <!-- ContentPlaceHolder Box Starts -->
                 <div style="width: 100%;padding:2px;margin:2px">
                <table width="100%" cellpadding="0" cellspacing="0">
                </table>
                    <div class="spacer5">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                    </div>
                  
                    <%-- EMRD panel Ends Here--%>
                    <%--HEDP History Starts Here--%>
                    <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 resp-gridivew">
                              <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="My Attendance" 
                                                    runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                   
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                         <div class="contentHolder">

                                <div class="himssuHeader6WireBox box-body box-solid gridviewfontbigger">
                                   
                                    <div class="himsBoxContent">
                                      
                                           <asp:GridView runat="server" ID="PresenceListGridView" Width="100%" AutoGenerateColumns="False" OnPageIndexChanging="PresenceListGridView_PageIndexChanging"
                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="PresenceListGridView_RowDataBound"
                                                AllowPaging="True" PageSize="12" DataKeyNames="AcademicId" 
                                               ShowHeader="true" meta:resourcekey="PresenceListGridViewResource1" CssClass="table table-striped table-bordered" >
                                                <Columns>
                                                    <asp:BoundField DataField="ForMonthInWord" HeaderText="Month" HeaderStyle-HorizontalAlign="Left"/>
                                                    <asp:BoundField DataField="TotalCount" HeaderText="WorkingDay" HeaderStyle-HorizontalAlign="Left"/>
                                                    <asp:BoundField DataField="PresentCount" HeaderText="No of Present" HeaderStyle-HorizontalAlign="Left"/>
                                                    <asp:BoundField DataField="AbsentCount" HeaderText="No of Absent" HeaderStyle-HorizontalAlign="Left"/>
                                                    <asp:BoundField DataField="AveragePresence" HeaderText="Average Present" HeaderStyle-HorizontalAlign="Left"/>
                                                    <asp:BoundField DataField="AbsentDays" HeaderText="AbsentDays" HeaderStyle-HorizontalAlign="Left"/>
                                                </Columns>
                                                <PagerSettings Mode="NumericFirstLast" Visible="True"  />
                                    <PagerStyle CssClass="pagination" BackColor="#284775" ForeColor="White" BorderWidth="0" HorizontalAlign="Right" />
                                            </asp:GridView> 
                                        <%--</div>--%>
                                    </div>
                                </div>
                            </div>
                            </asp:Panel>
                            </div>
                               <div class="spacer">
                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                </div>

            </div>
                            </td>
	                    </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>      
            
        </ContentTemplate>
    </asp:UpdatePanel>
   <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script>    
</asp:Content>