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

{% endif %}
{% if inv_deployments != [] %}
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


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

{% endfor %}
{% 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)
{% endif %} {% if inv_addresses != [] %}
Addresses

{% for address in inv_addresses %} {% endfor %}
IP Region MAC Addr. Reverse DNS
{{ address.ip }} {{ region[address.region_id] }} {{ address.mac }} {{ 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)
{% endif %}
{% endblock %}