<%@ Page Title="Tool check" Language="C#" MasterPageFile="~/checkinput/CheckInput.Master" AutoEventWireup="true" CodeBehind="Tool_input_check.aspx.cs" Inherits="CheckSheet.checkinput.Tool_check" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
     <script type="text/javascript" src="Tool_input_check.js?v=0123"></script>

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

             <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="Tool Check"  width="250px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>
       
            
           
           <div class="form-row">
                <div class="frmrow">

                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_model" runat="server" CssClass="fontlabel"   style="font-size:14px;line-height:14px;"  Text="Model :" width="150px"></asp:Label>
                    <asp:Label ID="txt_model" runat="server"  Width="250px"  style="font-size:14px;line-height:14px;"  CssClass="fontlabelcontent"></asp:Label> 
                    <asp:Label ID="txt_partnumber" runat="server"  Width="1px"  style="font-size:1px;line-height:1px;" ></asp:Label> 

                         </label>
                    </span>


                </div>
             </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                     <asp:Label ID="lbl_toolname" runat="server" CssClass="fontlabel"  style="font-size:14px;"  Text="Tool name :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_toolname"  runat="server" Width="250"  CssClass="ctlsearchinput" placeholder="Tool name">
                    </asp:TextBox>

                          <asp:TextBox ID="txt_toolno"  runat="server" Width="1"  style="border:none;box-shadow:none;color:transparent;">
                    </asp:TextBox>


       <asp:Button ID="btnfil_type" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_toolno','MainContent_txt_toolname','serial','toolname','JigMaster','');return false;"  />

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

  <br />
        </div>       
        <br />
     <div id="loader"><img src="../loader.gif" /></div>    
<div id="gtbl" class="grouplist" style="margin-top:-2px;max-height:640px;width:99.9%;overflow:auto;">

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


<th style="width:5%;"><span style='font-size:12px;' id='iteno'>ลำดับ</span></th>
<th style="width:20%;"><span style='font-size:12px;' id='itemname'>หัวข้อในการตวจสอบ</span></th>
<th style="width:10%;"><span style='font-size:12px;' id='control'>ผลตรวจสอบ</span></th>
<th style="width:10%;"><span style='font-size:12px;' id='piz'></span></th>

 </tr>
                   
</thead>
<tbody>
<tr>
  


  <td style="width:3%;"> 
 <asp:Label ID="txt_seqno_0" runat="server"  MaxLength="0" Width="100%" CssClass="fontlabelcontent"></asp:Label> 
         
 </td> 
    
  <td style="width:20%;"> 
 <asp:Label ID="txt_itemname_0" runat="server"  MaxLength="0" Width="100%" style="font-size:14px;" CssClass="fontlabelcontent"></asp:Label> 
         
 </td> 
 
    
  <td style="width:10%;"> 
       
                    <div id="ctl1_0">
                    <label>
         
                    <asp:Button ID="btnok_0" CssClass="button" runat="server" Text="OK" style="width:100px;max-height:60px; color:white;background-color:#E3BC08;" OnClientClick="javascript:savedetail(this,'OK');return false;"   />
                    </label>
                   
                    <label>
                    <asp:Button ID="btnng_0" CssClass="button" runat="server" Text="NG" style="width:100px;max-height:60px;color:white;background-color:#E3BC08;" OnClientClick="javascript:savedetail(this,'NG');return false;"   />
                    </label>
                   </div>
       <div id="ctl2_0">
                   
            <asp:TextBox ID="txt_serialno_0"  runat="server" Width="150"  CssClass="ctlsearchinput"></asp:TextBox>
           <label>
         
                    <asp:Button ID="btnsaveserialno_0" CssClass="button" runat="server" Text="save" style="width:40px;max-height:60px; color:white;background-color:#E3BC08;" OnClientClick="javascript:savedetail(this,'2');return false;"   />
                    </label>
                   </div>

       <div id="ctl3_0">
                      <asp:TextBox ID="txt_duedate_0"  runat="server" TextMode="Date" Width="120" Height="40"  CssClass="ctlsearchinput"></asp:TextBox>
            <label>
         
                    <asp:Button ID="btnduedate_0" CssClass="button" runat="server" Text="save" style="width:40px;max-height:60px; color:white;background-color:#E3BC08;" OnClientClick="javascript:savedetail(this,'3');return false;"   />
                    </label>       
            </div>

 </td> 
     <td style="width:10%;"> 
       
                    
                    <label>
         
                   <img id="piz_0" src="../image/piz.png" style="width:100px;" class="ctlsearchinput" />
                    </label>
                   
                    <label>
                  <asp:Button ID="btnfil_takephoto_0" runat="server" Text="&nbsp;" CssClass="ctltakephotobutton"  OnClientClick="JavaScript:takephoto(this);return false;"  />

                    </label>
       
 </td> 
    </tr>


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

        <br />
                    
                    <div class="form-row">
                    <div class="frmrow">

                     <label>
                    <asp:Label ID="lbl_notice" runat="server" CssClass="fontlabel"   Text="Notice :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_notice" runat="server"  Width="280" TextMode="MultiLine" Rows="5" MaxLength="100" CssClass="ctlsearchinput" oninput="javascript:checklen(this);return false;"></asp:TextBox> 
                    </label>


                </div>
             </div>
         </div>
                <div class="form-row" style="margin-top:15px;margin-left:160px;">
                <div class="frmrow">

         
                        <span id="strnotice" style="font-size:12px;color:gray;">Input have remaining 100 character.</span>
                    

            </div>
                </div>
      
    <br /><br />
                        <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btnrequestapprove" CssClass="button" runat="server" Text="Save & Request approve" style="width:200px;color:white;" OnClientClick="javascript:saveall();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:200px;color:white;"  CssClass="ctlbackbutton" OnClick="btnback_Click"/>

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





</asp:Content>

