parent
0b909d47ba
commit
8d3605bf07
@ -0,0 +1,49 @@
|
||||
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
|
||||
|
||||
<style type="text/css">
|
||||
table.gridtable {
|
||||
font-family: verdana,arial,sans-serif;
|
||||
color:#333333;
|
||||
border-width: 1px;
|
||||
border-color: #666666;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.gridtable th {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
font-size:50px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #dedede;
|
||||
}
|
||||
table.gridtable td {
|
||||
text-align: center;
|
||||
font-size: 33px;
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
<table class="gridtable" style="width: 100%;height: 80%;alignment: center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>商户</th>
|
||||
<th>角色</th>
|
||||
<th>用户名</th>
|
||||
<th>密码</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr th:each="account : ${accounts}">
|
||||
<td th:text="${account.client_moniker}"></td>
|
||||
<td th:if="${account.role} == 1">admin</td>
|
||||
<td th:if="${account.role} == 2">Manager</td>
|
||||
<td th:if="${account.role} == 3">Cashier</td>
|
||||
<td th:text="${account.username}"></td>
|
||||
<td th:text="${account.password}"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</html>
|
Loading…
Reference in new issue