<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="PositionHiearchy.aspx.cs" Inherits="HRMS.Purcahsing.PositionHiearchy" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                    Position Hierarchy
                        <div class="pull-right">
                            <asp:button text="Save" CssClass="btn btn-info" ID="btn_save" Width="120px"  ValidationGroup="save"
                                runat="server" onclick="btn_save_Click"/>
                            <asp:button text="Back" CssClass="btn btn-info" ID="btn_cancel" 
                                runat="server" onclick="btn_cancel_Click"/>
                        </div>
                    </header>

                    <div class="panel-body">
                        <div class="span6">
                                <div id="divmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="span6">
                                <div id="diverrmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <asp:label text="" id="lbl_err_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>


                            <div class="row" style="padding-top:10px">
                                
                                <asp:HiddenField ID="hidposition_structure_id" runat="server" />
                                <asp:HiddenField ID="hidpos_structure_version_id" runat="server" />
                                 <asp:HiddenField ID="hid_PositionID" runat="server" />
                               
                                  <label class="control-label col-md-2">Name</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_Name" runat="server" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Name" controltovalidate="txt_Name" errormessage="Name is Required!" />
                                    
                           
                                   </div>
                                     </div>
                                  <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left" >
                              <span class="checkbox"><input id="chk_Primary" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$setas"/>
                                   <label class="col-md-1 control-label" ></label>Primary</span>                                                  
                                </div>

                               </div>
                      <asp:Panel ID="Panel1" runat="server" Height="100px" Width="70%" BackColor="White" HorizontalAlign="Left"  GroupingText="Version" Font-Size ="7px" >


                            <div class="row" style="padding-top:10px">
                            
                            <label class="col-md-3 control-label">Number</label>
                                <div class="col-md-4">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_Number" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_Number" controltovalidate="txt_Number" errormessage="Number is Required!" />
                              
                                    </div>
                                    </div>
                            <label class="col-md-2 control-label">Date From</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_Eto" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                    <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Eto" controltovalidate="txt_strt_date" errormessage="Date is Required!" />--%>
                                </div>       
                            </div>

                            <div class="row"  style="padding-top:10px">  
                                <asp:HiddenField ID="hid_tax" runat="server" />
                                 <asp:HiddenField ID="hid_tax_Title" runat="server" />
                                 <label class="col-md-9 control-label">Date To</label>
                                <div class="col-md-3">
                                    
                                     <asp:TextBox ID="txt_Dateto" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                    
                                    </div>   

                               
                            </div>
                            </asp:Panel>
                          <asp:Panel ID="Panel2" runat="server" Height="180px" Width="70%" BackColor="White" HorizontalAlign="Left"  GroupingText="Positions">

                              <div class="row" style="padding-top:10px">
                            
                            <label class="col-md-3 control-label">Name</label>
                                <div class="col-md-9">
                                    
                                    <asp:TextBox ID="txt_posName" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_posName" controltovalidate="txt_posName" errormessage="posName is Required!" />
                              
                                    </div>
                            </div>

                            <div class="row"  style="padding-top:10px">  
                               
                                 <label class="col-md-3 control-label">Holder</label>
                                <div class="col-md-4">
                                    
                                     <asp:TextBox ID="txt_Holder" runat="server" CssClass="form-control "></asp:TextBox>
                                    
                                    </div>   
                                 <label class="col-md-3 control-label">Work Number</label>
                                <div class="col-md-2">
                                    
                                     <asp:TextBox ID="txt_WorkNumber" runat="server" CssClass="form-control "></asp:TextBox>
                                    
                                    </div>   
                               
                            </div>
                              <div class="row"  style="padding-top:10px">  
                               
                                 <label class="col-md-3 control-label">Work Type</label>
                                <div class="col-md-4">
                                    
                                     <asp:TextBox ID="txt_Worktype" runat="server" CssClass="form-control "></asp:TextBox>
                                    
                                    </div>   
                                 <label class="col-md-3 control-label">Number of Subordinates</label>
                                <div class="col-md-2">
                                    
                                     <asp:TextBox ID="txt_numsbord" runat="server" CssClass="form-control "></asp:TextBox>
                                    
                                    </div>   
                               
                            </div>
                               <div class="row"  style="padding-top:10px">  
                               
                                  <label class="col-md-2.5 control-label"></label>
                                <div class="col-md-3 text-left" >
                              <span class="checkbox"><input id="Checkbox1" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$setas"/>
                                   <label class="col-md-1 control-label" ></label>Exists In Hierarchy</span>                                                  
                                </div>
                                 
                               
                            </div>


                              </asp:Panel>
                            <hr />
                            <div class="row">
                                <asp:Label CssClass="control-label col-md-offset-2" ID="lbl_due" runat="server"></asp:Label>
                            </div>


                    </div>
                </section>
            </div>
        </div>
    </div>
</asp:Content>
