{% extends "default/_layout.html" %} {% block title %}Контейнеры{% endblock %} {% block content %}
IP | Диск | Память | Статус | |
---|---|---|---|---|
Нет ни одного контейнера. Добавить. | ||||
{% if container['ipv4'] %}IPv4: {{ container['ipv4'] }}{% endif %} {% if container['ipv6'] %}IPv6: {{ container['ipv6'] }}{% endif %} | {% set size_gb = (container.size / 1024 / 1024) %} {{ '%0.2f' | format(size_gb|float) }}GB | {% if container['status'] == 1 %} {% set memory_mb = (container.memory / 1024 / 1024) %} {{ '%0.2f' | format(memory_mb|float) }}MB {% else %} 0MB {% endif %} | {% if container['status'] == 0 %} Неактивно {% elif container['status'] == 1 %} Активно {% elif container['status'] == 2 %} Процесс активации {% elif container['status'] == 3 %} Процесс деактивации {% elif container['status'] == 4 %} Создание... {% elif container['status'] == 5 %} Удаление... {% endif %} | Настройки |