{% extends "base.html" %} {% block title %}Overview - Dune Awakening Dashboard{% endblock %} {% block content %} {% if tunnel_down %}
SSH Tunnel Not Detected
The PostgreSQL database is not reachable. Start the SSH tunnel in a separate terminal:

$key = "$env:TEMP\dune-awakening-server-sshKey"
ssh -i $key -L 15433:localhost:15433 -N dune@YOUR_SERVER_IP
{% elif db_error %}
Database Error
{{ db_error }}
{% else %}
Accounts
{{ account_count }}
Player Characters
{{ player_count }}
Online Now
{{ online_count }}
Vehicles
{{ vehicle_count }}
Buildings
{{ building_count }}
Guilds
{{ guild_count }}
Total Actors
{{ actor_count }}
{% if players_online %}
Online Players
{% for p in players_online %} {% endfor %}
CharacterMapStatus
{{ p.character_name or 'Unknown' }} {{ p.map or 'N/A' }} {{ p.online_status }}
{% endif %}
Faction Distribution
{% if faction_dist %} {% set total = faction_dist | sum(attribute='count') %} {% for f in faction_dist %}
{{ 'Neutral' if f.name == 'None' else f.name }}
{{ f.count }}
{% endfor %} {% else %}
No faction data available
{% endif %}
Players Per Map
{% if per_map %} {% set pmap_total = per_map | sum(attribute='count') %} {% for m in per_map %}
{{ m.map }}
{{ m.count }}
{% endfor %} {% else %}
No players found on any map
{% endif %}
{% endif %} {% endblock %}