check1.html 851 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html>
  3. <style>
  4. table, th, td {
  5. border:1px solid black;
  6. }
  7. </style>
  8. <body>
  9. <form>
  10. <table class="table table-bordered">
  11. <tr>
  12. {% for i1 in labels %}
  13. <th>{{i1}}</font></th>
  14. {% endfor %}
  15. </tr>
  16. {% for i in content %}
  17. <tr>
  18. <td>{{ i[0] }}</td>
  19. <td>{{ i[1] }}</td>
  20. <td>{{ i[2] }}</td>
  21. <td>{{ i[3] }}</td>
  22. <td>{{ i[4] }}</td>
  23. <td>{{ i[5] }}</td>
  24. <td>{{ i[6] }}</td>
  25. <td>{{ i[7] }}</td>
  26. <td>{{ i[8] }}</td>
  27. <td>{{ i[9] }}</td>
  28. </tr>
  29. {% endfor %}
  30. </table>
  31. </form>
  32. <br>
  33. <br>
  34. <form action="{{ url_for('del_data') }}" method="post">
  35. <input type="submit" name = "del" value="刪除這筆資料">
  36. </form>
  37. </body>
  38. </html>