{% extends "base.html" %} {% block styles %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% block page_content %} {% if current_user.fresh_user == True %}
ping

{% endif %}
Device Manager

{% if inv_deployments != [] %}

{% for deploy in inv_deployments %} {% if deploy.enabled == False %}
{% else %} {% if deploy.warning == True %}
{% else %}
{% endif %} {% endif %}
{% if deploy.enabled == False or deploy.warning == True %}
{% else %}
{% endif %}


{% if deploy.enabled == True %} {% if status[deploy.machine_id] == 'running' %}

{% else %} {% endif %} {% endif %}

{% if deploy.enabled == False %} {% else %} {% if deploy.warning == True %} {% else %} {{ deploy.daysleft }} day(s) {% endif %} {% endif %}

Processor {{ deploy.machine_cpu }} {% if deploy.machine_cpu > 1 %}cores{% else %}core{% endif %}
Allocated memory {{ deploy.machine_mem }} MB

Network traffic
IOPS of {{ deploy.machine_hdd }} GB storage


Unit: {{ deploy.machine_id }}
State: {{ status[deploy.machine_id] }}
Protected: {{ deploy.protected }}

{% endfor %}
{% else %} {% endif %}
{% if inv_domains != [] %}
Domains
{% for domain in inv_domains %} {% if domain.enabled == False %} {% else %} {% if domain.warning == True %} {% else %} {% endif %} {% endif %} {% endfor %}
Name Expiry Date Time Left
{{ domain.fqdn }} {{ domain.date_expire }}EXPIRED{{ domain.daysleft }} day(s)
{% else %} {% endif %} {% if inv_addresses != [] %}
Communications

Private

{% for bridge in inv_bridges %} {% endfor %}
Unit Network
{{ bridge.bridge_id }} 192.168.9.0
Public
{% for address in inv_addresses %} {% endfor %}
IP Region Reverse DNS
{{ address.ip }} {{ region[address.region_id] }} {{ address.rdns }}
{% endif %} {% if inv_services != [] %}
Services
{% for service in inv_services %} {% if service.enabled == False %} {% else %} {% if service.warning == True %} {% else %} {% endif %} {% endif %} {% if service.enabled == False %} {% else %} {% if service.warning == True %} {% else %} {% endif %} {% endif %} {% endfor %}
Category Description Last Charged Time Left
{{ service.category }} {{ service.description }} {{ moment(service.date_last_charge).format('lll') }} ({{ moment(service.date_last_charge).fromNow() }}){{ service.daysleft }} day(s)
{% else %} {% endif %}
{% endblock %}