{% extends 'base.html' %} {% block content %}
{% if statuses.items() %}
{% for service_display_name, details in statuses.items() %} {% if details.version %} {% else %} {% endif %} {% endfor %}
Status Service Name Version Port Actions
{% if details.status == True %} {% elif details.status == False %} {% elif details.status is none %} ? {% endif %} {{ service_display_name }}
({% if details.type == ("docker") %} {% elif details.type == ("system") %}{% endif %}{{ details.real_name }})
{{ details.version }} {% if details.port %} {% set ports = details.port %} {% if ports is string %} {{ ports }} {% elif ports is iterable and ports|length > 0 %} {% if ports|length > 1 %} {% set port_list = ports|join(', ') %} {{ port_list }} {% else %} {{ ports[0] }} {% endif %} {% else %} {% endif %} {% else %} {% endif %} {% if details.status %} {% if details.real_name == 'admin' %} {% else %} {% endif %} {% else %} {% endif %}  
{% else %}
No Services

Make sure that file /etc/openpanel/openadmin/config/services.json has valid JSON.

{% endif %}
{% endblock %}