12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>查询记录</title>
- </head>
- <body>
- <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.3/css/bootstrap.min.css" rel="stylesheet">
- <div class="container mt-5">
- <form class="mb-3" method="post">
- <div>
- <label class="form-label" for="staff_id">Staff ID:</label>
- <input class="form-control" type="text" id="staff_id"
- name="staff_id"
- value="{{ form["staff_id"] }}">
- </div>
- <div>
- <label class="form-label" for="video_id">Video ID:</label>
- <input class="form-control" type="text" id="video_id"
- name="video_id"
- value="{{ form["video_id"] }}">
- <br>
- </div>
- <button class="btn btn-primary" type="submit">查询</button>
- </form>
- <table class="table table-striped" border="1">
- <tr>
- <th>Staff ID</th>
- <th>Remark</th>
- <th>Video ID</th>
- <th>Send Time</th>
- <th>Days Ago</th>
- </tr>
- {% for row in results %}
- <tr>
- <td>{{ row[0] }}</td>
- <td>{{ row[1] }}</td>
- <td>{{ row[2] }}</td>
- <td>{{ row[3] }}</td>
- <td>{{ row[4] }}</td>
- </tr>
- {% endfor %}
- </table>
- </div>
- </body>
- </html>
|