<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApplyForJob.aspx.cs" Inherits="HRMS.ApplyForJob" %>

<!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">
<head runat="server">
    <link href="../../ThemeScrips/a_data/bootstrap.css" rel="stylesheet" type="text/css" />
    <script src="../../ThemeScrips/a_data/jquery.js" type="text/javascript"></script>
    <script src="../../ThemeScrips/a_data/bootstrap.min.js" type="text/javascript"></script>
    <link href="../../ThemeScrips/a_data/style.css" rel="stylesheet" type="text/css" />
    <link href="../../ThemeScrips/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet"
        type="text/css" />
    <script src="../../ThemeScrips/a_data/jquery_004.js"></script>
    <script src="../../ThemeScrips/a_data/bootstrap.js"></script>
    <script src="../../ThemeScrips/a_data/jquery_003.js"></script>

    <title></title>
</head>
<body style="background-color: #f1f2f7;">
    <form id="form1" runat="server">
        <div class="container">
            <div class="main-panel">
                <div class="row" style="padding-top: 4%;">
                    <section class="panel">
                        <header class="panel-heading">
                                    <h4>
                                        <asp:Label ID="lbl_header" runat="server"></asp:Label></h4>
                        </header>
                        <div class="panel-body">
                            <hr class="divider" />
                                
                                    <div class="row">
                                        <div class="col-md-2" style="text-align:right">First Name</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" ID="txt_frst_name" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator13" ControlToValidate="txt_frst_name" ErrorMessage="First Name is Required!" />
                                        </div>

                                         <div class="col-md-2" style="text-align:right">Midle Name</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" ID="txt_mid_name" runat="server"></asp:TextBox>
                                        </div>

                                        <div class="col-md-1" style="text-align:right">Last Name</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" ID="txt_lst_name" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator15" ControlToValidate="txt_lst_name" ErrorMessage="Last Name is Required!" />
                                        </div>
                                    </div>

                      
                                    <div class="row" style="padding-top:05px">
                                        <asp:HiddenField ID="hid_vac" runat="server" />
                                        <asp:HiddenField ID="hid_state" runat="server" />
                                        <asp:HiddenField ID="hid_country" runat="server" />
                                        <div class="col-md-2" style="text-align:right">Current Salary</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" onkeypress="return numbersOnly(event)" ID="txt_current_sal" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator1" ControlToValidate="txt_current_sal" ErrorMessage="Current Salary is Required!" />
                                        </div>


                                      <%--  <div class="col-md-1"  style="text-align:right">Type</div>--%>
                                        <div class="col-md-1" runat="server" visible="false">
                                            <asp:DropDownList Visible="false" ID="ddl_cr_sal_type" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                            <asp:RequiredFieldValidator Visible="false" SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator9" ControlToValidate="ddl_cur_currency" ErrorMessage="Currency is Required!" />
                                        </div>


                                        <div class="col-md-2" style="text-align:right">Currency</div>
                                        <div class="col-md-2">
                                            <asp:DropDownList ID="ddl_cur_currency" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator5" ControlToValidate="ddl_cur_currency" ErrorMessage="Currency is Required!" />
                                        </div>



                                        <%--<div class="col-md-1">Email</div>
                                    <div class="col-md-3">
                                        <asp:DropDownList ID="DropDownList1" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator4" ControlToValidate="ddl_cur_currency" ErrorMessage="Currency is Required!" />
                                    </div>--%>
                                    </div>

                                    <div class="row"  style="padding-top:05px">
                                        <div class="col-md-2"  style="text-align:right">Expected Salary</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" onkeypress="return numbersOnly(event)" ID="txt_exp_salary" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator2" ControlToValidate="txt_exp_salary" ErrorMessage="Expected Salary is Required!" />
                                        </div>

                                       <%-- <div class="col-md-1">Type</div>--%>
                                        <div class="col-md-2" runat="server" visible="false">
                                            <asp:DropDownList ID="ddl_exp_sal_type" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator4" ControlToValidate="ddl_cur_currency" ErrorMessage="Currency is Required!" />
                                        </div>


                                        <div class="col-md-2"  style="text-align:right">Currency</div>
                                        <div class="col-md-2">
                                            <asp:DropDownList ID="ddl_exp_curr" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator6" ControlToValidate="ddl_exp_curr" ErrorMessage="Currency is Required!" />
                                        </div>
                                    </div>

                                    <div class="row" style="padding-top: 05px">
                                        <div class="col-md-2" style="text-align:right"> Notice Period (Days)</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" ID="txt_notice_pr" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator3" ControlToValidate="txt_notice_pr" ErrorMessage="Notice Period is Required!" />
                                        </div>

                                      <%--  <div class="col-md-1">City</div>--%>
                                        <div class="col-md-2" runat="server" visible="false">
                                            <asp:DropDownList ID="ddl_city" AutoPostBack="true" OnSelectedIndexChanged="ddl_city_SelectedIndexChanged" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator7" ControlToValidate="ddl_city" ErrorMessage="City is Required!" />
                                        </div>

                                        <div class="col-md-2" style="text-align:right">Date Of Birth</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control datetime" ID="txt_dob" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator10" ControlToValidate="txt_dob" ErrorMessage="Date Of Birth is Required!" />
                                        </div>
                                     
                                    </div>


                                    <div class="row"  style="padding-top:05px">
                                        <div class="col-md-2"  style="text-align:right">Mobile Number</div>
                                        <div class="col-md-2">
                                            <asp:TextBox CssClass="form-control" ID="txt_mob" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator12" ControlToValidate="txt_mob" ErrorMessage="Mobile Number is Required!" />
                                        </div>

                                        <div class="col-md-2" style="text-align:right">Email</div>
                                        <div class="col-md-3">
                                            <asp:TextBox CssClass="form-control" ID="txt_email" runat="server"></asp:TextBox>
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator11" ControlToValidate="txt_email" ErrorMessage="Email is Required!" />
                                        </div>

                                        
                                            

                                    </div>


                            <div class="row">
                            
                            </div>

                                    <div class="row" style="padding-top: 05px" runat="server" visible="false">
                                        <div class="col-md-2">Additional Info</div>
                                        <div class="col-md-7">
                                            <asp:TextBox CssClass="form-control" ID="TextBox3" TextMode="MultiLine" runat="server"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-md-2" style="text-align:right">Upload Your CV</div>
                                        <div class="col-md-4">
                                            <asp:FileUpload CssClass="form-control" ID="FileUpload1" runat="server" />
                                            <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="RequiredFieldValidator8" ControlToValidate="FileUpload1" ErrorMessage="Your Current CV is Required!" />
                                        </div>
                                    </div>

                                    <div class="row" style="padding-top: 20px">
                                        <div class="col-md-4 col-md-offset-3">
                                            <asp:Button ID="btn_apply" Width="350px" runat="server" CssClass="btn btn-info" ValidationGroup="save" Text="Apply" OnClick="btn_apply_Click" CausesValidation="true" />
                                        </div>

                                    </div>

                               
                          
                            <div class="span6">
                                <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <i class="icon-check-sign"></i>
                                    <asp:Label ID="lblMessage" class="msg" runat="server" Text=""></asp:Label>
                                </div>
                                <div class="span6">
                                    <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                                        <i class="icon-check-sign"></i>
                                        <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text=""></asp:Label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
                </div>

            </div>
        </div>




        <script src="../../ThemeScrips/jquery.min.js"></script>
        <link href="../../ThemeScrips/select2.min.css" rel="stylesheet" />
        <script src="../../ThemeScrips/select2.min.js"></script>
        <script>
            $('.select2').select2();
        </script>

        <script>
            function numbersOnly(e) {
                var unicode = e.charCode ? e.charCode : e.keyCode
                if (unicode != 8) {
                    if (unicode < 48 || unicode > 57)
                        return false
                }
            }
        </script>
    </form>
</body>
</html>
