Release 1.2: bulk upload, S3/SFTP/FTP, SMTP, password reset, user groups, git deploy
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
<th>ID</th>
|
||||
<th>Логин</th>
|
||||
<th>Email</th>
|
||||
<th>Группа</th>
|
||||
<th>Фото</th>
|
||||
<th>Роль</th>
|
||||
<th>Статус</th>
|
||||
@@ -34,6 +35,15 @@
|
||||
<td>{{ user.id }}</td>
|
||||
<td>{{ user.username }}</td>
|
||||
<td>{{ user.email }}</td>
|
||||
<td>
|
||||
<form action="{{ url_for('admin.set_user_group', user_id=user.id) }}" method="post" class="group-assign-form">
|
||||
<select name="group_id" class="form-select form-select--sm" onchange="this.form.submit()">
|
||||
{% for group in groups %}
|
||||
<option value="{{ group.id }}" {% if user.group_id == group.id %}selected{% endif %}>{{ group.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</form>
|
||||
</td>
|
||||
<td>{{ user.photo_count }}</td>
|
||||
<td>
|
||||
{% if user.is_admin %}
|
||||
|
||||
Reference in New Issue
Block a user