{% extends ../base.html %} {% block title %}Crafty Controller - Dashboard{% end %} {% block content %}
Host

{{ data.get('hosts_data').get('cpu_usage') }} {{ _('CPU Usage') }}

{{ data.get('hosts_data').get('mem_percent') }}% {{ _('Memory Usage') }}

Servers

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

{{ data['server_stats']['running'] }} {{_('Online')}}

{{ data['server_stats']['stopped'] }} {{_('Shutdown')}}

Players

18

35 Max (24 H)

10 Avg (24 H)

Backups

7

Last: 11-31-2020

Next: 12-05-2020

All Servers

{% for server in data['servers'] %} {% end %}
Server Actions CPU Memory World Players Status
{{ server['server_data']['server_name'] }} {% if server['stats'][0]['running'] %}     {% else %}   {% end %}
{{server['stats'][0]['cpu']}}%
{{server['stats'][0]['mem_percent']}}% - {{server['stats'][0]['mem']}}
{{ server['stats'][0]['world_name'] }} : {{ server['stats'][0]['world_size'] }} {% if server['stats'][0]['int_ping_results'] %} {{ server['stats'][0]['online'] }} / {{ server['stats'][0]['max'] }} Max
{{ server['stats'][0]['desc'] }}
{{ server['stats'][0]['version'] }} {% else %} {{ _("Unable to connect to server") }} {% end %}
{% if server['stats'][0]['running'] %} Online {% else %} Offline {% end %}
{% end %} {% block js %} {% end %}