{% extends 'base.html' %} {% block nav_dashboard %}active{% endblock %} {% block content %}
{{ _('Latest images') }}
{% for image in images[:10] %}
  • {{ image['name'] }}
  • {{ image['modified'] }}
{% endfor %}
{{ _('Disk stats') }}
  • {{ _('Disk size') }}
  • {{ _('used') }}
  • {{ _('available') }}
  • {{ _('use') }}(%)
  • {{ disk['total'] // 2**30 }} Gbytes
  • {{ (disk['total'] - disk['free']) // 2**30 }} Gbytes
  • {{ disk['free'] // 2**30 }} Gbytes
  • {{ (((disk['total'] - disk['free']) / disk['total']) * 100)|int }}%
{{ _('Number of images') }}

{{ images | length }}

ogLives
    {% for oglive in oglive_list['oglive'] %}
  • {{ oglive['directory'] }} {% if loop.index0 == oglive_list['default'] %} ({{ _('default') }}) {% endif %}
  • {% endfor %}
{{ _('Memory') }}
  • {{ _('Memory size') }}
  • {{ _('used') }} (%)
  • {{ _('available') }} (%)
  • {{ (stats['memory']['size'] / 2**30)|round(3) }} Gbytes
  • {{ ((stats['memory']['size'] - stats['memory']['free']) / 2**30)|round(3) }} Gbytes ({{ (((stats['memory']['size'] - stats['memory']['free']) / stats['memory']['size']) * 100)|int }}%)
  • {{ (stats['memory']['free'] / 2**30)|round(3) }} Gbytes ({{ ((stats['memory']['free'] / stats['memory']['size']) * 100)|int }}%)
{{ _('Swap') }}
  • {{ _('swap size') }}
  • {{ _('used') }} (%)
  • {{ _('available') }} (%)
  • {{ (stats['swap']['size'] / 2**30)|round(3) }} Gbytes
  • {{ ((stats['swap']['size'] - stats['swap']['free']) / 2**30)|round(3) }} Gbytes ({{ (((stats['swap']['size'] - stats['swap']['free']) / stats['swap']['size']) * 100)|int }}%)
  • {{ (stats['swap']['free'] / 2**30)|round(3) }} Gbytes ({{ ((stats['swap']['free'] / stats['swap']['size']) * 100)|int }}%)
{% endblock %} {% block extrabody %} {% endblock %}