{% extends 'adminpanel/base.html' %} {% block title %}System Health ยท Admin Panel{% endblock %} {% block content %}
โ† Back to Dashboard

๐Ÿฅ System Health Monitor

{% if system_status == 'healthy' %} โœ“ System Healthy {% else %} โš  Needs Attention {% endif %}

Pending Transactions

{% if pending_transactions > 10 %} โš ๏ธ {% else %} โœ… {% endif %}
{{ pending_transactions }}

{% if pending_transactions > 10 %} High volume - review needed {% else %} Normal levels {% endif %}

{% if pending_transactions > 0 %} Review transactions โ†’ {% endif %}

Unverified Users

{% if unverified_users > 20 %} โš ๏ธ {% else %} โœ… {% endif %}
{{ unverified_users }}

{% if unverified_users > 20 %} Many pending verifications {% else %} Under control {% endif %}

{% if unverified_users > 0 %} Review users โ†’ {% endif %}

Users Without Accounts

{% if users_no_account > 0 %} โ„น๏ธ {% else %} โœ… {% endif %}

Active users without trading accounts

Failed Transactions

{% if failed_transactions_week > 5 %} โŒ {% else %} โœ… {% endif %}
{{ failed_transactions_week }}

{% if failed_transactions_week > 5 %} Higher than normal - investigate {% else %} Past 7 days {% endif %}

{% if failed_transactions_week > 0 %} View failed โ†’ {% endif %}

Negative Balances

{% if negative_accounts > 0 %} โš ๏ธ {% else %} โœ… {% endif %}
{{ negative_accounts }}

{% if negative_accounts > 0 %} Accounts need correction {% else %} All balances positive {% endif %}

{% if negative_accounts > 0 %} Review accounts โ†’ {% endif %}

Overall Status

{% if system_status == 'healthy' %} ๐Ÿ’š {% else %} ๐Ÿ’› {% endif %}
{% if system_status == 'healthy' %} All Systems Operational {% else %} Monitoring Required {% endif %}

{% if system_status == 'healthy' %} Everything running smoothly {% else %} Some areas need attention {% endif %}

Quick Actions

๐Ÿ’ณ
Review Transactions
๐Ÿ‘ฅ
Manage Users
๐Ÿ’ฐ
Check Accounts
๐Ÿ“Š
View Analytics
{% endblock %}