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

      <div id="frommain">
         <div id="g0" class="grouplist">
              <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="Equipment list"  width="250px"></asp:Label>
                   
                    </label>
                    </span>
                    </div>
                </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnaddline" CssClass="button" runat="server" Text="Register line" style="width:150px;color:white;padding:1em;" OnClick="btnaddline_Click"   />


                    </label>
                    <label>
                  
                             <asp:Button ID="btnaddmachine" CssClass="button" runat="server" Text="Register machine" style="width:150px;color:white;padding:1em;"  OnClientClick="javascript:link('RegisterMachine');return false;"   />


                    </label>
                 
                    </span>
                    
                </div>
             </div>
            <br />
               <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linegroup" runat="server" CssClass="fontlabel"   Text="Line group :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_linegroup"  runat="server" Width="250"  CssClass="ctlsearchinput" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_linegroup" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linegroup','MainContent_txt_linename','linegroupid','linename','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" CssClass="ctlsearchinput">
                     </asp:TextBox>
                     <asp:Button ID="btnfil_linename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linegroup','MainContent_txt_linename','linegroupid','linename','LineGroupMaster','');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_partnumber" runat="server" CssClass="fontlabel"   Text="Part number :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_partnumber"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_partnumber" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_partnumber','partnumber','partnumber','EquipmentList','');return false;"  />

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



        </div>
          
        <div id="g1" class="grouplist">
              <div class="form-row">
                <div class="frmrow">
                 
                      <span class="sp1">
                    <label>
                     <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblmachine" CssClass="content"  runat="server" Text="Machine"></asp:Label>

                       


                    </label>
                      <label>
                  
                       <asp:Button ID="btninspection" CssClass="button" runat="server" Text="Add" style="width:40px;color:white;padding:1em;" OnClick="btninspection_Click"  />


                    </label>
                    </span>
                    
                </div>
             </div>
      <br />
            <div id="gtbl" class="grouplist" style="margin-top:-2px;max-height:170px;width:100%;overflow:auto;" onscroll='getnext_item()'>
               <table class='tbl' id='tbldt' style="width:1010px;"><thead><tr>


<th style="width:15%;"><span style='font-size:12px;' id='linegroup'>Line group</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='linename'>Line name</span></th>
 <th style="width:15%;"><span style='font-size:12px;' id='partnumber'>Part number</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='machinename'>Machine name</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='machineno'>Machine no</span></th>
<th style="width:3%;" colspan="2"><span style='font-size:12px;' id='control'>Edit/Delete</span></th>

 </tr>
                   
</thead>
<tbody id="tbdy0">
<tr>
  

   
     
  


    
         <td style="width:5%;"> 
 <asp:Label ID="txt_linegroup_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 
         
 </td> 
   <td style="width:5%;"> 
 <asp:Label ID="txt_linename_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 


 </td> 
  <td style="width:5%;"> 
 <asp:Label ID="txt_partnumber_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 


 </td> 
       <td style="width:5%;"> 
 <asp:Label ID="txt_machinename_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 
            

 </td> 
    
       <td style="width:5%;"> 
 <asp:Label ID="txt_machineno_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 
            

 </td> 

      <td style="width:30px;"> <asp:Button ID="add_0" CssClass="button" runat="server"  Text="Edit" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="javascript:editmc(this);return false;" />

    </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:delmc(this);return false;" />


    </td>


    </tr>

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

            <div class="form-row">
                <div class="frmrow">
                 <span class="sp1">
                    <label>
                     <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lbljig" CssClass="content"  runat="server" Text="Jig"></asp:Label>

                       


                    </label>
              
                    <label>
                  
                       <asp:Button ID="btnaddjig" CssClass="button" runat="server" Text="Add" style="width:40px;color:white;padding:1em;" OnClick="btnaddjig_Click"   />


                    </label>
                    </span>
                    
                </div>
             </div>
            <br />
            <div id="gtbl1" class="grouplist" style="margin-top:5px;max-height:170px;width:100%;overflow:auto;" onscroll='getnext_item1()'>
               <table class='tbl' id='tbldt1' style="width:1010px;"><thead><tr>


<th style="width:15%;"><span style='font-size:12px;' id='linegroup0'>Line group</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='linename0'>Line name</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='partnumber0'>Part number</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='jigname'>Tool name</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='serial'>Serial</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='expdate'>Calibration</span></th>
<th style="width:3%;" colspan="2"><span style='font-size:12px;' id='control0'>Edit/Delete</span></th>

 </tr>
                   
</thead>
<tbody id="tbdy1">
<tr>
  

   
     
  


    
         <td style="width:5%;"> 
 <asp:Label ID="txt_linegroup1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 
         
 </td> 
   <td style="width:5%;"> 
 <asp:Label ID="txt_linename1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 


 </td> 
       <td style="width:5%;"> 
 <asp:Label ID="txt_partnumber1_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ></asp:Label> 


 </td> 
       <td style="width:5%;"> 
 <asp:Label ID="txt_jigname_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;"></asp:Label> 
            

 </td> 
    
       <td style="width:5%;"> 
 <asp:Label ID="txt_serial_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;"></asp:Label> 
            

 </td> 
          <td style="width:5%;"> 
 <asp:Label ID="txt_expdate_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;"></asp:Label> 
            

 </td> 

    
   
   <td style="width:30px;"> <asp:Button ID="editjig_0" CssClass="button" runat="server"  Text="Edit" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="javascript:editjig(this);return false;" />

    </td>

       <td style="width:30px;"> <asp:Button ID="del1_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>       
         
               <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 /><br />
    </div>
</asp:Content>
