modified: app.py
modified: requirements.txt modified: templates/global_admin_dashboard.html modified: templates/leaderboard.html
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
<a href="{{ url_for('start') }}" class="btn btn-primary btn-block {{ 'disabled' if g.bot_running else '' }}">Start Bot</a>
|
||||
<a href="{{ url_for('stop') }}" class="btn btn-danger btn-block {{ 'disabled' if not g.bot_running else '' }}">Stop Bot</a>
|
||||
<a href="{{ url_for('view_logs') }}" class="btn btn-warning btn-block">View Logs</a>
|
||||
<a href="{{ url_for('update_all_profile_pictures') }}" class="btn btn-primary mt-3">Update Profile Pictures</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,9 @@
|
||||
<tr>
|
||||
<td>{{ index }}</td>
|
||||
<td>
|
||||
<img src="{{ user.profile_picture or '/static/default_profile.png' }}" alt="Profile Picture" class="profile-picture">
|
||||
<td>
|
||||
<img src="{{ get_profile_picture(user.user_id, user.profile_picture) }}" alt="Profile Picture" class="profile-picture">
|
||||
</td>
|
||||
</td>
|
||||
<td>{{ user.nickname or 'Unknown User' }}</td>
|
||||
<td>{{ user.level }}</td>
|
||||
|
||||
Reference in New Issue
Block a user