{% extends 'base.html' %} {% block content %}

{{ _('Dashboard') }}

{{ _('3D Model Files (STL)') }}
{{ _('You have uploaded') }} {{ stl_count }} {{ _('files') }}

{{ _('Total Space Used') }}: {{ format_size(stl_used_bytes) }} {% if stl_quota_mb > 0 %} / {{ stl_quota_mb }} MB ({{ _('Quota') }}){% else %} ({{ _('Unlimited') }}){% endif %}

{% if stl_quota_mb > 0 %} {% set stl_percent = (stl_used_bytes / (stl_quota_mb * 1024 * 1024) * 100)|round(1) %}
{% endif %}
{{ _('Sliced Files (GCode)') }}
{{ _('You have sliced or uploaded') }} {{ gcode_count }} {{ _('files') }}

{{ _('Total Space Used') }}: {{ format_size(gcode_used_bytes) }} {% if gcode_quota_mb > 0 %} / {{ gcode_quota_mb }} MB ({{ _('Quota') }}){% else %} ({{ _('Unlimited') }}){% endif %}

{% if gcode_quota_mb > 0 %} {% set gc_percent = (gcode_used_bytes / (gcode_quota_mb * 1024 * 1024) * 100)|round(1) %}
{% endif %}
{% endblock %}