mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Display Users</title>
|
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="container mt-5">
|
|
<h1>User List</h1>
|
|
<form action="/import/users/" method="put">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Select</th>
|
|
<th class="d-none">ID</th>
|
|
<th>Username</th>
|
|
<th>Email</th>
|
|
<th>Plan</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for user in users %}
|
|
<tr>
|
|
<td><input type="checkbox" name="selected_users" value="{{ user.username }}"></td>
|
|
<td class="d-none">{{ user.id }}</td>
|
|
<td>{{ user.username }}</td>
|
|
<td>{{ user.email }}</td>
|
|
<td>{{ user.plan_name }}</td> <!-- Modify or add fields as needed -->
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<button type="submit" class="btn btn-success">Start Import</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|