<!DOCTYPE html>
<html>
<style>
table, th, td {
  border:1px solid black;
}
</style>
<link rel="stylesheet" href="{{ url_for('static',filename='css/ul.css') }}">

<body>

<ul>
    <li><a href="../" class="active">首頁</a></li>
    <li><a href="{{ url_for('productinfo') }}">檢查產品清單</a></li>
    <li><a href="{{ url_for('form') }}">新增產品清單</a></li>
    <li><a href="{{ url_for('check') }}">查詢產品清單</a></li>
    <li><a href="{{ url_for('system_sink') }}">檢查統槽清單</a></li>
    <li><a href="{{ url_for('form_sink') }}">新增統槽清單</a></li>
    <li><a href="{{ url_for('check_sink') }}">查詢統槽清單</a></li>
    
    <li><a href="../register">註冊</a></li>
    <li><a href="{{ url_for('login') }}">登入</a></li>
    <li><a href="../logout">登出</a></li>

</ul>
<br>
<br>


<form>
<table class="table table-bordered">
    <tr>
        
      {% for i1 in labels %}
        <th>{{i1}}</font></th>
      {% endfor %}       
    </tr>

      {% for i in content %}
      <tr>
        <td>{{i[0]}}</td>
        <td>{{ i[1] }}</td>
        <td>{{ i[2] }}</td>
        <td>{{ i[3] }}</td>
        <td>{{ i[4] }}</td>
        <td>{{ i[5] }}</td>
        <td>{{ i[6] }}</td>
        <td>{{ i[7] }}</td>
        <td>{{ i[8] }}</td>
        <td>{{ i[9] }}</td>
        <td>{{ i[10] }}</td>
        <td>{{ i[11] }}</td>
        <td>{{ i[12] }}</td>
        <td>{{ i[13] }}</td>
        <td>{{ i[14] }}</td>
        <td>{{ i[15] }}</td>
        <td>{{ i[16] }}</td>
        <td>{{ i[17] }}</td>
        <td>{{ i[18] }}</td>
        <td>{{ i[19] }}</td>
        <td>{{ i[20] }}</td>
        <td>{{ i[21] }}</td>
        <td>{{ i[22] }}</td>
        <td>{{ i[23] }}</td>
        <td>{{ i[24] }}</td>
        <td>{{ i[25] }}</td>
        <td>{{ i[26] }}</td>
        <td>{{ i[27] }}</td>
        <td>{{ i[28] }}</td>
        <td>{{ i[29] }}</td>
        <td>{{ i[30] }}</td>
        <td>{{ i[31] }}</td>
        <td>{{ i[32] }}</td>
        <td>{{ i[33] }}</td>
        <td>{{ i[34] }}</td>
        <td>{{ i[35] }}</td>
        <td>{{ i[36] }}</td>
        <td>{{ i[37] }}</td>
        <td>{{ i[38] }}</td>
        <td>{{ i[39] }}</td>
        <td>{{ i[40] }}</td>
        <td>{{ i[41] }}</td>
        <td>{{ i[42] }}</td>
        <td>{{ i[43] }}</td>
        <td>{{ i[44] }}</td>
        <td>{{ i[45] }}</td>
        <td>{{ i[46] }}</td>
        <td>{{ i[47] }}</td>
        <td>{{ i[48] }}</td>
        <td>{{ i[49] }}</td>
        <td>{{ i[50] }}</td>
        <td>{{ i[51] }}</td>
      </tr>
    {% endfor %}
    </table>
</form>

    <br>
    <br>

    <form action={{ url_for('updateaction_sink') }} method="post"> 
        <table>
            <p>系統 <input type = "text" name = "系統" /></p>
            <p>狀態 <input type = "text" name = "狀態" /></p>
            <p>進貨狀態 <input type = "text" name = "進貨狀態" /></p>
            <p>內部料號 <input type = "text" name = "內部料號" /></p>
            <p>組序號 <input type = "text" name = "組序號" /></p>
            <p>模組圖名 <input type = "text" name = "模組圖名" /></p>
            <p>模組圖號/出圖連結 <input type = "text" name = "模組圖號/出圖連結" /></p>
            <p>模組數量 <input type = "text" name = "模組數量" /></p>
            <p>項次 <input type = "text" name = "項次" /></p>
            <p>零件圖名 <input type = "text" name = "零件圖名" /></p>
            <p>零件圖號 <input type = "text" name = "零件圖號" /></p>
            <p>零件數量 <input type = "text" name = "零件數量" /></p>
            <p>零件總數量 <input type = "text" name = "零件總數量" /></p>
            <p>類型 <input type = "text" name = "類型" /></p>
            <p>進度 <input type = "text" name = "進度" /></p>
            <p>備註 <input type = "text" name = "備註" /></p>
            <p>出圖日期 <input type = "text" name = "出圖日期" /></p>
            <p>出圖人員 <input type = "text" name = "出圖人員" /></p>
            <p>修改日期 <input type = "text" name = "修改日期" /></p>
            <p>修改原因 <input type = "text" name = "修改原因" /></p>
            <p>修改人員 <input type = "text" name = "修改人員" /></p>
            <p>模組 <input type = "text" name = "模組" /></p>
            <p>主板編號 <input type = "text" name = "主板編號" /></p>
            <p>制動器編號 <input type = "text" name = "制動器編號" /></p>
            <p>項目 <input type = "text" name = "項目" /></p>
            <p>韌體(有V) <input type = "text" name = "韌體(有V)" /></p>
            <p>韌體連結git <input type = "text" name = "韌體連結git" /></p>
            <p>型號(規格書) <input type = "text" name = "型號(規格書)" /></p>
            <p>安裝位置 <input type = "text" name = "安裝位置" /></p>
            <p>數量 <input type = "text" name = "數量" /></p>
            <p>需求電壓(V) <input type = "text" name = "需求電壓(V)" /></p>
            <p>需求電流(A) <input type = "text" name = "需求電流(A)" /></p>
            <p>功率(W) <input type = "text" name = "功率(W)" /></p>
            <p>通訊介面 <input type = "text" name = "通訊介面" /></p>
            <p>芯數 <input type = "text" name = "芯數" /></p>
            <p>線材編號 <input type = "text" name = "線材編號" /></p>
            <p>單價 <input type = "text" name = "單價" /></p>
            <p>總價 <input type = "text" name = "總價" /></p>
            <p>請購單號 <input type = "text" name = "請購單號" /></p>
            <p>220V_電流 <input type = "text" name = "220V_電流" /></p>
            <p>220V_功率 <input type = "text" name = "220V_功率" /></p>
            <p>24V_電流 <input type = "text" name = "24V_電流" /></p>
            <p>24V_功率 <input type = "text" name = "24V_功率" /></p>
            <p>12V_電流 <input type = "text" name = "12V_電流" /></p>
            <p>12V_功率 <input type = "text" name = "12V_功率" /></p>
            <p>5V_電流 <input type = "text" name = "5V_電流" /></p>
            <p>5V_功率 <input type = "text" name = "5V_功率" /></p>
            <p>3.3V_電流 <input type = "text" name = "3.3V_電流" /></p>
            <p>3.3V_功率 <input type = "text" name = "3.3V_功率" /></p>
            <p>流量(率) <input type = "text" name = "流量(率)" /></p>
            <p>容量 <input type = "text" name = "容量" /></p>
            <p>壓力 <input type = "text" name = "壓力" /></p>
        </table>
    
        <input type="submit" value="update"> 
    </form> 

</body>
</html>