<!DOCTYPE html>
<html xmlns:th="http://www.thymrleaf.org">
<head>
    <meta http-equiv="Content=Type" content="text/html" charset="UTF-8">
    <title>teacher</title>
    <style>
        body{
            background-image: url("/static/1.jfif") ;
            background-size: 100%;
        }

    </style>

</head>
<body >
<table>
    <tr>
        <td>教师名</td>
        <td>密码</td>
    </tr>
    <tr th:each="newteacher:${newTeachers}">
        <td th:text="${newteacher.name}"></td>
        <td th:text="${newteacher.password}"></td>
    </tr>
</table>
</body>
</html>