<%@ page language="C#" autoeventwireup="true" inherits="Organization_Settings_Organization_HolidaySetting, App_Web_ecw5zt21" masterpagefile="~/MasterFile/TimeCheck.master" enableeventvalidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPH" runat="server">
    <div class="content-header">
        <h1 style="background-image: url('../dist/img/holiday.png'); background-repeat: no-repeat; padding-left: 35px">
            <asp:Label ID="lbl_Header" runat="server"></asp:Label>
        </h1>
        <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
            <NodeStyle CssClass="active" />
        </asp:SiteMapPath>
    </div>
    <div class="content">
        <div class="inr-ftr">
            <div class="row">
                <div class="col-sm-12">
                    <div class="pull-left">
                        <asp:Label ID="lbl_ActiveYear" runat="server" Font-Bold="true" Height="36px"
                            Style="font-family: Arial Rounded MT Bold,Arial,Helvetica,sans-serif; color: #5d5d5d; padding: 10px 20px 0px;"></asp:Label>
                    </div>
                    <div class="pull-right">
                        <h6>
                            <span style="color: Red">|</span><span style="padding: 0 10px 0 10px;"><asp:Label
                                ID="lbl_IndicatesMandatoryFields" runat="server"></asp:Label>
                                 (2 No.)</span>
                        </h6>
                    </div>
                    <div class="clearfix">
                    </div>
                </div>
            </div>
        </div>
        <div class="emp-filter">
            <div class="form-horizontal">
                <div class="row">
                    <div class="col-md-12">
                        <div class="row form-group">
                            <asp:HiddenField ID="hdnYearSettingId" runat="server" />
                            <%-- <div class="col-md-12" >
                                <asp:Label ID="qqqw" runat="server" Font-Bold="true" Text="test 12345"></asp:Label>
                                <br />
                                <br />
                            </div>--%>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-6">
                                <asp:Label ID="lbl_maxGolbalHoliday" runat="server"></asp:Label>
                                (<asp:Label ID="lblPerYear" runat="server"></asp:Label>)
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox onpaste="return true" ID="txt_GolbalHoliday" runat="server" CssClass="form-control man-dat"
                                    MaxLength="3" onCut="return false" onDrop="return false" onkeypress="return number_only(event,this)">0</asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_GolbalHoliday"
                                    SetFocusOnError="True" Display="None" ValidationGroup="HolidaySettings">*</asp:RequiredFieldValidator>
                                <asp:RangeValidator ID="rngValidateGlobalHoliday" runat="server" ControlToValidate="txt_GolbalHoliday"
                                    MaximumValue="365" MinimumValue="1" Type="Integer" ErrorMessage="" Display="None" ValidationGroup="HolidaySettings">*</asp:RangeValidator>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-6">
                                <asp:Label ID="lbl_MaxRestrictedHoliday1" runat="server"></asp:Label>
                                (<asp:Label ID="lblPerYear2" runat="server"></asp:Label>)
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox onpaste="return true" ID="txt_YearlyHoliday" runat="server" CssClass="form-control man-dat"
                                    MaxLength="3" onCut="return false" onDrop="return false" onkeypress="return number_only(event,this)">0</asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_YearlyHoliday"
                                    SetFocusOnError="True" Display="None" ValidationGroup="HolidaySettings">*</asp:RequiredFieldValidator>
                                <asp:RangeValidator ID="rngValidateRestrictedHoliday" runat="server" ControlToValidate="txt_YearlyHoliday"
                                    MaximumValue="365" MinimumValue="1" Type="Integer" Display="None" ValidationGroup="HolidaySettings">*</asp:RangeValidator>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-6">
                                <asp:Label ID="lbl_definedGlobalholiday" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox ID="lbl_GlobalHoliday" runat="server" Text="0" Enabled="false" CssClass="form-control"
                                    MaxLength="3"> </asp:TextBox>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-6">
                                <asp:Label ID="lbl_definedRestrictedHoliday" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox ID="lbl_Yearly" runat="server" Text="0" Enabled="false" CssClass="form-control"
                                    MaxLength="3"> </asp:TextBox>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6">
                                <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <div class="pull-right-button">
                                    <asp:LinkButton ID="btn_Add" CssClass="btn save-btn fa-floppy-o" runat="server" OnClick="btn_Add_Click" ValidationGroup="HolidaySettings" />
                                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                                        ShowSummary="False" ValidationGroup="HolidaySettings" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
