{% extends 'admin/base.html' %} {% block page_title %}Dashboard{% endblock %} {% block admin_content %}
{{ "{:,}".format(total_users) }} Total Users +{{ new_users_today }} today
{{ "{:,}".format(total_rounds) }} Total Rounds {{ rounds_today }} today
{{ "{:,.0f}".format(total_wagered) }} Total Wagered (XAF)
{{ "{:,.0f}".format(house_profit) }} House Profit (XAF)
Active Users (7d) {{ active_users }}
New Users (7d) {{ new_users_week }}
Total Won {{ "{:,.0f}".format(total_won) }} XAF
Total Lost {{ "{:,.0f}".format(total_lost) }} XAF

Recent Bets

View All
{% for bet in recent_bets %} {% else %} {% endfor %}
User Amount Multiplier Profit Time
{{ bet.user.username }} {{ "{:,.0f}".format(bet.amount) }} XAF {{ bet.cashout_multiplier|round(2) if bet.cashed_out else '-' }}x {{ "{:+,.0f}".format(bet.profit) }} XAF {{ bet.created_at.strftime('%H:%M') }}
No recent bets

Top Winners

{% for user in top_winners %} {% else %} {% endfor %}
# User Total Won Games
{{ loop.index }} {{ user.username }} {{ "{:,.0f}".format(user.total_won) }} XAF {{ user.total_games }}
No data

Recent Transactions

View All
{% for tx in recent_transactions %} {% else %} {% endfor %}
ID User Type Amount Method Status Time
#{{ tx.id }} {{ tx.user.username }} {{ tx.type|capitalize }} {{ "{:,.0f}".format(tx.amount) }} XAF {{ tx.payment_method or '-' }} {{ tx.status }} {{ tx.created_at.strftime('%Y-%m-%d %H:%M') }}
No recent transactions
{% endblock %}