{% extends 'base.html' %} {% block content %}
{{ sports_count }}
Active Sports
{{ teams_count }}
Teams
{{ stadiums_count }}
Stadiums
{{ games_count|floatformat:0 }}
Games
{{ pending_reviews }}
Pending Reviews

Stats by Sport

{% for stat in sport_stats %} {% empty %} {% endfor %}
Sport Teams Stadiums Games Reviews
{{ stat.sport.short_name }} {{ stat.teams }} {{ stat.stadiums }} {{ stat.games }} {% if stat.pending_reviews > 0 %} {{ stat.pending_reviews }} {% else %} 0 {% endif %}
No sports configured

Recent Scrape Jobs

View All
{% for job in recent_jobs %} {% empty %} {% endfor %}
Sport Status Games Time
{{ job.config.sport.short_name }} {% if job.status == 'completed' %} Completed {% elif job.status == 'running' %} Running {% elif job.status == 'failed' %} Failed {% else %} {{ job.status }} {% endif %} {{ job.games_found }} {{ job.created_at|timesince }} ago
No recent jobs

Recent CloudKit Syncs

View All
{% for sync in recent_syncs %} {% empty %} {% endfor %}
Type Status Records Time
{{ sync.sync_type }} {% if sync.status == 'completed' %} Completed {% elif sync.status == 'running' %} Running {% elif sync.status == 'failed' %} Failed {% else %} {{ sync.status }} {% endif %} {{ sync.records_synced }} {{ sync.created_at|timesince }} ago
No recent syncs

Quick Actions

Manage Games Manage Teams Manage Stadiums Review Queue {% if pending_reviews > 0 %}({{ pending_reviews }}){% endif %}
{% csrf_token %}
{% endblock %}