<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PopUp_LeaveAvailedQuota.aspx.cs"
    Inherits="Transactions_PopUp_LeaveAvailedQuota" %>

<!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" runat="server" id="htmlLeaveQuota">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Transaction</title>
    <link id="stylebootstrap" rel="stylesheet" runat="server" type="text/css" />
    <link id="stylefontawesome" rel="stylesheet" runat="server" type="text/css" />
    <link id="styleAdminLTE" rel="stylesheet" runat="server" type="text/css" />
    <link id="stylecustom" rel="stylesheet" runat="server" type="text/css" />
    <link id="stylefonts" rel="stylesheet" runat="server" type="text/css" />
    <link id="styleselect2" rel="stylesheet" runat="server" type="text/css" />    
    <link id="styleAutocomp" rel="stylesheet" runat="server" type="text/css" />     

    <script language="javascript" src="../js/jquery-1.7.2.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript" src="../js/Popup.js"></script>

    <script language="javascript" type="text/javascript" src="../js/chkbox_delete.js"></script>

    <script language="javascript" src="../js/jquery.min.js" type="text/javascript"></script>

    <script language="javascript" src="../js/fancydropdown.js" type="text/javascript"></script>

    <script language="javascript" src="../js/jquery.min.js" type="text/javascript"></script>

    <script src="../plugins/jQuery/jQuery-2.1.4.min.js" type="text/javascript"></script>

    <script src="../plugins/select2/select2.full.min.js"></script>

    <link href="../css/ProgressBar.css" rel="stylesheet" type="text/css" />
</head>
<body oncontextmenu="return false" style="overflow: auto;">
    <form id="form1" runat="server">
        <div class="content" style="overflow: auto">
            <div class="emp-filter">
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-horizontal">
                            <div class="row form-group">
                                <div class="col-md-12">
                                    <div style="overflow: auto;">
                                        <asp:GridView ID="grv_LeaveAvailed" Width="100%" runat="server" AllowPaging="True"
                                            AutoGenerateColumns="False" PageSize="10" EmptyDataText="No Records Found" AllowSorting="true"
                                            OnPageIndexChanging="grv_LeaveAvailed_PageIndexChanging" OnSorting="grv_LeaveAvailed_Sorting"
                                            ShowFooter="True" OnRowDataBound="grv_LeaveAvailed_RowDataBound" CssClass="table das-table1">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Month" SortExpression="Month">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_Month" Text='<%# Eval("Month")%>' runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <b>
                                                            <asp:Label ID="lblLeaveaviled" runat="server" Text="Leave Availed in this Year"></asp:Label></b>
                                                    </FooterTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Number of Days" SortExpression="NumberofDays">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_NumberofDays" Text='<%# Eval("NumberofDays")%>' runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                    <FooterTemplate>
                                                        <asp:Label ID="lblNumeberofDaysinYear" runat="server" Text="Text">
                                                        </asp:Label></b>
                                                    </FooterTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <HeaderStyle CssClass="empheader" />
                                            <RowStyle Height="30px" CssClass="table-bg" BorderColor="#C5DFFC" />
                                            <PagerStyle Font-Overline="False" HorizontalAlign="Right" CssClass="GridPager" />
                                            <PagerSettings FirstPageText="<<" LastPageText=">>" Mode="NumericFirstLast" NextPageText=">"
                                                PreviousPageText="<" />
                                            <AlternatingRowStyle BackColor="white" />
                                        </asp:GridView>
                                        <asp:Label ID="lblLeave" runat="server" Text="Leave Availed Days" Visible="false"></asp:Label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
