You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
2 months ago
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||
|
<head>
|
||
|
<title>课堂点名系统</title>
|
||
|
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="container mt-4">
|
||
|
<h1>课堂点名系统</h1>
|
||
|
|
||
|
<!-- 上传成功消息 -->
|
||
|
<div class="alert alert-success" th:if="${message}">
|
||
|
<span th:text="${message}"></span>
|
||
|
</div>
|
||
|
|
||
|
<!-- 随机点名 -->
|
||
|
<form method="post" action="/pick">
|
||
|
<button type="submit" class="btn btn-success">下一步</button>
|
||
|
</form>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<!-- 显示所有学生信息 -->
|
||
|
<h2>学生名单:</h2>
|
||
|
<table class="table">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>姓名</th>
|
||
|
<th>学号</th>
|
||
|
<th>积分</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr th:each="student : ${students}">
|
||
|
<td th:text="${student.name}"></td>
|
||
|
<td th:text="${student.studentId}"></td>
|
||
|
<td th:text="${student.points}"></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|