{% extends ../base.html %} {% block meta %} {% end %} {% block title %}Crafty Controller - {{ translate('dashboard', 'dashboard') }}{% end %} {% block content %}
{{ translate('dashboard', 'cpuUsage') }}: {{ data.get('hosts_data').get('cpu_usage') }}
{{ translate('dashboard', 'memUsage') }}: {{ data.get('hosts_data').get('mem_percent') }}%
{{ data['server_stats']['running'] }} {{ translate('dashboard', 'online').lower() }}
{{ data['server_stats']['stopped'] }} {{ translate('dashboard', 'offline').lower() }}
35 {{ translate('dashboard', 'max') }}
10 {{ translate('dashboard', 'avg') }}
{{ translate('dashboard', 'lastBackup') }} 11-31-2020
{{ translate('dashboard', 'nextBackup') }} 12-05-2020
{{ 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']['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 %} |