bom1.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html>
  3. <style>
  4. table, th, td {
  5. border:1px solid black;
  6. }
  7. </style>
  8. <link rel="stylesheet" href="{{ url_for('static',filename='css/ul.css') }}">
  9. <body>
  10. <ul>
  11. <li><a href="../" class="active">首頁</a></li>
  12. <li><a href="{{ url_for('productinfo') }}">檢查產品清單</a></li>
  13. <li><a href="{{ url_for('form') }}">新增產品清單</a></li>
  14. <li><a href="{{ url_for('check') }}">查詢產品清單</a></li>
  15. <li><a href="../register">註冊</a></li>
  16. <li><a href="{{ url_for('login') }}">登入</a></li>
  17. <li><a href="../logout">登出</a></li>
  18. </ul>
  19. <br>
  20. <br>
  21. <h1>BOM清單</h1>
  22. <h2> <label>{{content1}}</label></h2>
  23. <form>
  24. <table class="table table-bordered">
  25. <!--
  26. <tr>
  27. {% for i1 in labels %}
  28. <th>{{i1}}</font></th>
  29. {% endfor %}
  30. </tr>
  31. -->
  32. <tr>
  33. <th>內部料號</th>
  34. <th>品名</th>
  35. <th>數量</th>
  36. <th>庫存</th>
  37. </tr>
  38. {% for i in content2 %}
  39. <tr>
  40. <td>{{i[0]}}</td>
  41. <td>{{ i[1] }}</td>
  42. <td>{{ i[2] }}</td>
  43. <td>{{ i[3] }}</td>
  44. </tr>
  45. {% endfor %}
  46. </tr>
  47. {% for i in content3 %}
  48. <tr>
  49. <td>{{i[0]}}</td>
  50. <td>{{ i[1] }}</td>
  51. <td>{{ i[2] }}</td>
  52. <td>{{ i[3] }}</td>
  53. </tr>
  54. {% endfor %}
  55. </table>
  56. </form>
  57. </body>
  58. </html>