{% extends ../base.html %} {% block meta %} {% end %} {% block title %}Crafty Controller - {{ translate('dashboard', 'dashboard') }}{% end %} {% block content %}
{{ translate('dashboard', 'host') }}

{{ translate('dashboard', 'cpuUsage') }}: {{ data.get('hosts_data').get('cpu_usage') }}

{{ translate('dashboard', 'memUsage') }}: {{ data.get('hosts_data').get('mem_percent') }}%

{{ translate('dashboard', 'servers') }}

{{ data['server_stats']['total'] }}

{{ data['server_stats']['running'] }} {{ translate('dashboard', 'online').lower() }}

{{ data['server_stats']['stopped'] }} {{ translate('dashboard', 'offline').lower() }}

{{ translate('dashboard', 'players') }}

18

35 {{ translate('dashboard', 'max') }}

10 {{ translate('dashboard', 'avg') }}

{{ translate('dashboard', 'backups') }}

7

{{ translate('dashboard', 'lastBackup') }} 11-31-2020

{{ translate('dashboard', 'nextBackup') }} 12-05-2020

 {{ translate('dashboard', 'allServers') }}

{{ translate('dashboard', 'cannotSeeOnMobile') }}
{{ translate('dashboard', 'cannotSeeOnMobile2') }}
{% for server in data['servers'] %} {% end %}
{{ translate('dashboard', 'server') }} {{ translate('dashboard', 'actions') }} {{ translate('dashboard', 'cpuUsage') }} {{ translate('dashboard', 'memUsage') }} {{ translate('dashboard', 'world') }} {{ translate('dashboard', 'players') }} {{ translate('dashboard', 'status') }}
{{ server['server_data']['server_name'] }} {% if server['stats']['running'] %}     {% elif server['stats']['updating']%} UPDATING... {% else %}     {% end %}
{{server['stats']['cpu']}}%
{{server['stats']['mem_percent']}}% - {% if server['stats']['mem'] == 0 %} 0 MB {% else %} {{server['stats']['mem']}} {% end %}
{{ server['stats']['world_name'] }} : {{ server['stats']['world_size'] }} {% if server['stats']['int_ping_results'] %} {{ server['stats']['online'] }} / {{ server['stats']['max'] }} {{ translate('dashboard', 'max') }}
{% if server['stats']['desc'] != 'False' %} {{ server['stats']['desc'] }}
{% end %} {% if server['stats']['version'] != 'False' %} {{ server['stats']['version'] }} {% end %} {% end %}
{% if server['stats']['running'] %} {{ translate('dashboard', 'online') }} {% else %} {{ translate('dashboard', 'offline') }} {% end %}
{% end %} {% block js %} {% end %}