{% extends "base.html" %} {% load i18n static timedelta %} {% block body %}
{% trans "Disk usage" %}
{% if enforce_disk_storage and not user.has_free_disk_storage %} {% endif %}
{{ user.calc_disk_usage|filesizeformat }}{% if enforce_disk_storage %}/{{ user.disk_storage_limit|filesizeformat }}{% endif %}
{% trans "Calculated from your images and models" %}
{% if enforce_disk_storage %}
{{ disk_storage_used_percentage }}% used
{% endif %}
{% trans "CPU usage" %}
{% if enforce_cpu and not user.has_free_cpu_minutes %} {% endif %}
{{ cpu_cost_last_week|floatformat:3 }}{% if enforce_cpu %}/{{ user.cpu_minutes_limit }}{% endif %} CPU-min
{% trans "CPU usage over the last week" %}
{% if enforce_cpu %}
{{ cpu_minutes_used_percentage }}% used
{% endif %}
{% trans "GPU usage" %}
{% if enforce_gpu and not user.has_free_gpu_minutes %} {% endif %}
{{ gpu_cost_last_week|floatformat:3 }}{% if enforce_gpu %}/{{ user.gpu_minutes_limit }}{% endif %} GPU-min
{% trans "GPU usage over the last week" %}
{% if enforce_gpu %}
{{ gpu_minutes_used_percentage }}% used
{% endif %}
{% for report in object_list %} {% empty %} {% endfor %}
{% trans "Task report" %} {% trans "Started at" %} {% trans "Done at" %} {% trans "Duration" %} {% trans "State" %} {% trans "CPU cost" %} {% trans "GPU cost" %}
{{ report.label }} {{ report.started_at }} {{ report.done_at }} {{ report.duration|format_timedelta }} {% with state=report.get_workflow_state_display %} {% if state == "Finished" %} {{ state }} {% elif state == "Crashed" %} {{ state }} {% elif state == "Running" %} {{ state }} {% else %} {{ state }} {% endif %} {% endwith %} {% if report.cpu_cost %} {{ report.cpu_cost|floatformat:2 }} {% else %} 0 {% endif %} CPU-min {% if report.gpu_cost %} {{ report.gpu_cost|floatformat:2 }} {% else %} 0 {% endif %} GPU-min {% trans "Details" %}
{% trans "You don't have any task report yet." %}
{% include 'includes/pagination.html' %}
{% endblock %}