<%@ Page Title="Register operator" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="Register_operator.aspx.cs" Inherits="CheckSheet.setting.Register_operator" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <script type="text/javascript" src="Register_operator.js?v=1203"></script>

        <div id="frommain">
         <div id="g0" class="grouplist" style="padding-bottom:-60px;">
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                            <div id="sthd" class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblPageName" runat="server"  CssClass="frmheader"  Text="Register operator"  width="250px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>

              <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                  
                    <asp:Button ID="btnCSVUpload" CssClass="ctlcopybutton" runat="server" Text="CSV Upload" style="width:150px;" OnClientClick="javascript:linkcsv('Upload_operator_CSV');return false;"  />
                    </label>
                 
                    <label>
                  
                    <asp:Button ID="btnCSVDownload" CssClass="ctlcopybutton" runat="server" Text="CSV Download" style="width:150px;"  OnClientClick="javascript:linkcsv('rptOperatorCSV_filter');return false;"   />
                    </label>
                    </span>
                </div>
            </div>
             <br />
     

        </div>
        <div id="g1" class="grouplist" style="padding-bottom:10px;">

              
             <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_inspectionname" runat="server" CssClass="fontlabel"   Text="Inspection Type" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_inspectionname"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_inspection" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_inspectionid','MainContent_txt_inspectionname','inspectionid','inspectionname','mst_Inspection','');return false;"  />
                          <asp:TextBox ID="txt_inspectionid"  runat="server"  Width="1" style="border-style:none;box-shadow:none;">
                    </asp:TextBox>
                    </label>
                    </span>
                    </div>
              </div>        
             
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_lamp" runat="server" CssClass="fontlabel"   Text="Factory name (LAMP) :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_lamp"  runat="server" Width="250" ToolTip="*Factory(Lamp)" CssClass="ctlsearchinput" style="text-transform: uppercase;">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_lamp" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_lamp','MainContent_txt_lamp','lamp','lamp','LineGroupMaster','');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linename" runat="server" CssClass="fontlabel"   Text="Line name :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_linename"  runat="server" Width="250" ToolTip="*Line name" CssClass="ctlsearchinput">
                      </asp:TextBox>
                         <asp:Button ID="btnfil_linename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linename','MainContent_txt_linename','linename','linename','LineGroupMaster','$and lamp =\''+$('#MainContent_txt_lamp').val()+'\'');return false;"  />
                                      <asp:TextBox ID="txt_linegroup"  runat="server" Width="1" style="border-style:none;box-shadow:none;" ></asp:TextBox>

                       
                    </label>
                    </span>
                    </div>
              </div>        

                <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_model" runat="server" CssClass="fontlabel"   Text="Model :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_model"  runat="server" Width="250" ToolTip="*Model" CssClass="ctlsearchinput" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_model" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_model','partnumber','model','LineGroupMaster','$and linename =\''+$('#MainContent_txt_linename').val()+'\'');return false;"  />
        <%--                $and usercode =\''+$('#lbluserid').html()+'\''--%>
                           <asp:TextBox ID="txt_partnumber"  runat="server" Width="1" style="border-style:none;box-shadow:none;" >
                    </asp:TextBox>

                    </label>
                    </span>
                </div>
            </div>
            
             
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="Label1" runat="server" CssClass="fontlabel"   Text="Operator name :" width="150px"></asp:Label>
                    <asp:TextBox ID="txt_empname"  runat="server" Width="250" ToolTip="*Operator name" CssClass="ctlsearchinput">

                    </asp:TextBox>
                   <asp:Button ID="btnfil_empid" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_empid','MainContent_txt_empname','usercode','firstname+\' \'+lastname','Users','');return false;"  />
                  <asp:TextBox ID="txt_empid"  runat="server" Width="1" style="border-style:none;box-shadow:none;">
                    </asp:TextBox>
                    </label>
                    </span>

                   
                   
                    
                </div>
            </div>
          
            <div class="form-row">
                <div class="frmrow">
                     <span class="sp1">
                    <label>
                    <asp:Label ID="Label2" runat="server" CssClass="fontlabel"   Text="Authority :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_authorityname"  runat="server" Width="250" ToolTip="*Authority"  CssClass="ctlsearchinput">
                    </asp:TextBox>
                     <asp:Button ID="btnfil_authority" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_authorityid','MainContent_txt_authorityname','approvalid','approvalname','mst_Approval_Level','');return false;"  />
                            <asp:TextBox ID="txt_authorityid"  runat="server" ToolTip="*Authority" Width="1" style="border-style:none;box-shadow:none;">
                    </asp:TextBox>
                    </label>
                    </span>
                    

           </div>
           </div>

               <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btnsave" CssClass="ctlsavebutton" runat="server" Text="Register" style="width:150px;" OnClientClick="JavaScript:save();return false;" />
                    </label>
                    </span>      
                    </div>
                   </div>   
            <br />
    <div id="gtbl" class="grouplist" style="margin-top:-2px;max-height:270px;width:100%;overflow:auto;" onscroll='getnext_item()'>

  <table class='tbl' id='tbldt' style="width:1010px;"><thead><tr>


<th style="width:3%;"><span style='font-size:12px;' id='seqno'>No</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='lamp'>Factory<br />LAMP</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='linename'>Line name<br />ID</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='model'>Model<br />ID</span></th>


<th style="width:15%;"><span style='font-size:12px;' id='operator'>Operator<br />ID</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='operator_name'>Operator<br/>Name</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='authority'>Authority</span></th>
      <th style="width:3%;"></th>
 </tr>
                   
</thead>
<tbody>
<tr onclick="javascript:edit('_0');return false;">
  

    
   
      <td style="width:3%;"> 
 <asp:Label ID="txt_SeqNo_0" runat="server"  Width="30px" CssClass="fontlabelcontent"></asp:Label>
          <br />
           <span id="approvelogid_0" style="font-size:1px;color:transparent;"></span> 
 </td> 
    <td style="width:5%;"> 
 <asp:Label ID="txt_lamp_0" runat="server"  MaxLength="0" Width="100%" style="line-height:20px;" CssClass="fontlabelcontent"></asp:Label> 

         
 </td> 
    <td style="width:5%;"> 
       <asp:Label ID="txt_linename_0" runat="server"  MaxLength="0" Width="100%"  style="line-height:20px;" CssClass="fontlabelcontent"></asp:Label> 
  
 </td> 
    <td style="width:5%;"> 
              <asp:Label ID="txt_model_0" runat="server"  MaxLength="0" Width="100%"  style="line-height:20px;" CssClass="fontlabelcontent"></asp:Label> 

 </td> 

         <td style="width:5%;"> 
              <asp:Label ID="txt_usercode_0" runat="server"  MaxLength="0" Width="120px" style="line-height:20px;" CssClass="fontlabelcontent"></asp:Label> 

 <asp:Label ID="txt_empid_0" runat="server"  MaxLength="0" Width="1px" style="box-shadow:none;border:none;color:transparent;" CssClass="fontlabelcontent"></asp:Label> 
         
 </td> 
   <td style="width:5%;"> 
 <asp:Label ID="txt_empname_0" runat="server"  MaxLength="0" Width="100%" style="line-height:20px;" CssClass="fontlabelcontent"></asp:Label> 


 </td> 

       <td style="width:5%;"> 
 <asp:Label ID="txt_approvelevel_0" runat="server"  MaxLength="0" Width="120px" style="line-height:20px;" CssClass="fontlabelcontent"></asp:Label> 


 </td> 
    
          <td style="width:30px;"> <asp:Button ID="del_0" CssClass="button" runat="server"  Text="Delete" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="JavaScript:gvdelrowid(this,'Do you want to delete the data?');return false;" />


    </td>



   
    </tr>


</tbody></table>
</div>

    <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnback" runat="server"  Text="Back"  style="height:40px;width:150px;color:white;"  CssClass="ctlbackbutton" OnClick="btnback_Click"/>

                    </label>
                    </span>
                    
                </div>
            </div>
            <br />
   </div>
            </div>
</asp:Content>

