<!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="../register">註冊</a></li>
    <li><a href="{{ url_for('login') }}">登入</a></li>
    <li><a href="../logout">登出</a></li>

</ul>
<br>
<br>
<h1>BOM清單</h1>   
<h2> <label>{{content1}}</label></h2>

<form>
<table class="table table-bordered">
    <!--
    <tr>
      {% for i1 in labels %}
        <th>{{i1}}</font></th>
      {% endfor %}       
    </tr>
    -->
    <tr>
        <th>內部料號</th>
        <th>品名</th>
        <th>數量</th>
        <th>庫存</th>
    </tr>

      {% for i in content2 %}
      <tr>
        <td>{{i[0]}}</td>
        <td>{{ i[1] }}</td>
        <td>{{ i[2] }}</td>
        <td>{{ i[3] }}</td>

      </tr>
    {% endfor %}
        </tr>

    {% for i in content3 %}
    <tr>
        <td>{{i[0]}}</td>
        <td>{{ i[1] }}</td>
        <td>{{ i[2] }}</td>
        <td>{{ i[3] }}</td>
    </tr>
    {% endfor %}

    </table>
</form>
</body>
</html>