modified: app.py
modified: templates/user_dashboard.html
This commit is contained in:
@@ -12,13 +12,9 @@
|
||||
{% include 'navigation.html' %}
|
||||
<div class="container mt-5">
|
||||
<h1>Welcome, {{ g.user_info['username'] }}!</h1>
|
||||
{% if g.user_data %}
|
||||
<p>Your Points: {{ g.user_data['points'] }}</p>
|
||||
<p>Level: {{ g.user_data['level'] }}</p>
|
||||
<p>Server ID: {{ g.guild_id }}</p>
|
||||
{% else %}
|
||||
<p class="text-danger">No data available for this server.</p>
|
||||
{% endif %}
|
||||
<p>Your Points: {{ g.user_data['points'] }}</p>
|
||||
<p>Level: {{ g.user_data['level'] }}</p>
|
||||
<p>Server ID: {{ g.guild_id }}</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user