{% extends "base.html" %} {% import "widgets/status.html" as status %} {% block custom_media %} {% endblock %} {% block content %} {% set system_profile = SYSTEM_M.all()[0] %} {% macro system_info() -%}

System Info

Model{{ system_profile.model }}
Build Info{{ system_profile.build }}
Boot Time{{ system_profile.boot_time }}
Up Time{{ system_profile.up_time }}
Licensed Features{{ system_profile.licensed_features }}
{%- endmacro %} {% macro system_status() -%}

System Status

{% if SESSION.theme == 'modern' %} {% set type='progress' %} {% set colspan='col-md-12 col-sm-12' %} {% else %} {% set type='square' %} {% set colspan='col-md-3 col-sm-6' %} {% endif %}
{{ SYSTEM._meta.get_field('cpu').status_widget(system_profile, SYSTEM_M, type=type).render(status, 'js_hook') }}
{{ SYSTEM._meta.get_field('memory').status_widget(system_profile, SYSTEM_M, type=type).render(status, 'js_hook') }}
{{ SYSTEM._meta.get_field('disk_usage').status_widget(system_profile, SYSTEM_M, refresh_freq=1000*60, type=type).render(status, 'js_hook') }}
{{ SYSTEM._meta.get_field('disk_io').status_widget(system_profile, SYSTEM_M, refresh_freq=3000, type=type).render(status, 'js_hook') }}
{%- endmacro %} {% macro va_list() -%}

Virtual Appliances

{% if SESSION.theme == 'modern' %} {% set colspan_sidebar='col-md-12' %} {% set colspan_list='col-md-12' %} {% else %} {% set colspan_sidebar='col-md-2' %} {% set colspan_list='col-md-10' %} {% endif %}
{%- endmacro %} {% if SESSION.theme == 'default' %}
{{ system_info() }}
{{ system_status() }}
{{ va_list() }}
{% else %}
{{ va_list() }}
{{ system_status() }} {{ system_info() }}
{% endif %} {% endblock %}