{% extends 'admin.base' %} {% block title %}{{ trans('general.dashboard') }}{% endblock %} {% block content %}

{{ sum.users }}

{{ trans('admin.index.total-users') }}

{{ trans('general.user-manage') }} 

{{ sum.players }}

{{ trans('admin.index.total-players') }}

{{ trans('general.player-manage') }} 

{{ sum.textures }}

{{ trans('admin.index.total-textures') }}

{% if sum.storage > 1024 %}

{{ (sum.storage / 1024)|round(1) }}MB

{% else %}

{{ sum.storage }}KB

{% endif %}

{{ trans('admin.index.disk-usage') }}

{{ trans('admin.notifications.send.title') }}

{{ csrf_field() }}
{% if errors.any %}
{{ errors.first }}
{% endif %} {% set sent_result = session_pull('sentResult') %} {% if sent_result %}
{{ sent_result }}
{% endif %}

{{ trans('admin.index.overview') }}

{% endblock %}