parent
2dde2116c7
commit
3c807a4050
@ -0,0 +1,47 @@
|
||||
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
|
||||
|
||||
<style type="text/css">
|
||||
table.gridtable {
|
||||
font-family: verdana,arial,sans-serif;
|
||||
font-size:11px;
|
||||
color:#333333;
|
||||
border-width: 1px;
|
||||
border-color: #666666;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.gridtable th {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #dedede;
|
||||
}
|
||||
table.gridtable td {
|
||||
border-width: 1px;
|
||||
padding: 8px;
|
||||
border-style: solid;
|
||||
border-color: #666666;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
<table class="gridtable">
|
||||
<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