WebAdminPanel/templates/members.html

41 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2022-12-10 08:14:21 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<link href="../static/css/table-members.css" rel="stylesheet">
</head>
<body>
<table>
<thead>
<tr>
<th>id</th>
<th>first name</th>
<th>username</th>
<th>role</th>
<th>warnings</th>
<th>join date</th>
</tr>
</thead>
<tbody>
{% for member in members %}
<tr>
<td>{{member.user_id}}</td>
<td>{{member.first_name}}</td>
{% if member.username %}
<td>{{member.username}}</td>
{% else %}
<td></td>
{% endif %}
<td>{{member.role}}</td>
<td>{{member.warns}}</td>
<td>{{member.joined}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>