{% extends 'console/metrics_base.html' %} {% load cycle from future %} {% load console_tags %} {% block content %}

Container {{ container.name }} ({{ container.uid }})

{% csrf_token %}
{% for k, v in container_copy.items %} {% endfor %} {{ containerform }}
Connection ssh {{container_copy.uid}}@{{container.server_address}}
{{ k|get_title }} {% if k == 'legion_address' or k == 'linked_to' %} {{ v|join:", " }} {% else %} {{ v }} {% endif %}

Add or remove ssh keys

{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %} {{ sshform }}
{% for k in container.ssh_keys %}
{{ k }}
{% endfor %}
{% csrf_token %} {{ newloopboxform }}

{% if loopboxes %}

{% for tag in tags %} {% endfor %}

{% for l in loopboxes %} {% endfor %}
ID Filename Mount Point Tags
{{ l.0.id }} {{ l.0.filename }} {{ l.0.mountpoint }}
{% csrf_token %} {{ l.1.tags }}
{% else %}

No Loopboxes

{% endif %}
{% get_metrics_list container as metrics %} {% include "console/metrics.html" with arg=container.uid id='container' %}

Latest alarms for container {{ container.uid }}

{% if alarms %}
{% if a_container %} {% endif %} {% if a_class %} {% endif %} {% if a_level %} {% endif %} {% if a_color %} {% endif %} {% if a_vassal %} {% endif %} {% if a_filename %} {% endif %} {% if a_line %} {% endif %} {% if a_func %} {% endif %}
Container
Class
Level
Color
Vassal
Filename
Line
Function
{% for a in alarms %}
{% for k, v in a.items %} {% if v and k != 'msg' and k != 'id' and k != 'color' %} {% endif %} {% endfor %}
{{ k|get_title }} {{ v }}
{% endfor %}
{% else %}

No alarms

{% endif %}
{% endblock %} {% block footer_js %} {{ block.super }} {% endblock %}