<%@ Page Title="Register New Machine" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="RegisterMachine.aspx.cs" Inherits="CheckSheet.RegisterMachine" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <script type="text/javascript" src="RegisterMachine.js?v=12345"></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 New Machine"  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_machine_CSV');return false;" />
                    </label>
                 
                    <label>
                  
                    <asp:Button ID="btnCSVDownload" CssClass="ctlcopybutton" runat="server" Text="CSV Download" style="width:150px;"  OnClientClick="javascript:linkcsv('rptMachineCSV_filter');return false;"   />
                    </label>
                    </span>
                </div>
            </div>
     <br />

        </div>
            
        <div id="g1" class="grouplist" >

             
           
              <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;"  />
           
                       
                    </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="lbl_machinename" runat="server" CssClass="fontlabel"   Text="Machine name :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_MachineName"  runat="server" Width="250" ToolTip="*Machine name" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    </label>
                    </span>

                   
                   
                    
                </div>
            </div>
          
                 <br /><br />
              <div class="form-row"   style="height:150px;margin-top:-30px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_img" runat="server" CssClass="fontlabel"   Text="Image :" width="150px"></asp:Label>
                    <img id="piz" src="../image/piz.png" style="width:150px;" class="ctlsearchinput" />

                    </label>
                <asp:Button ID="btnfil_takephoto" runat="server" Text="&nbsp;" CssClass="ctltakephotobutton"  OnClientClick="JavaScript:takephoto();return false;"  />

                    </span>
                </div>
            </div>
            <br />
             <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>

    <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>       
     
                    </label>
                    </span>       
     
</asp:Content>
