2016-04-20 22:37:17 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2016-10-02 14:43:48 +02:00
|
|
|
{% trans %}Services status{% endtrans %}
|
2016-04-20 22:37:17 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2017-10-29 18:53:48 +02:00
|
|
|
{% block content %}
|
2017-11-01 17:29:05 +02:00
|
|
|
{% call macros.table() %}
|
2017-10-29 18:53:48 +02:00
|
|
|
<tr>
|
|
|
|
<th>{% trans %}Service{% endtrans %}</th>
|
|
|
|
<th>{% trans %}Status{% endtrans %}</th>
|
|
|
|
<th>{% trans %}PID{% endtrans %}</th>
|
|
|
|
<th>{% trans %}Image{% endtrans %}</th>
|
|
|
|
<th>{% trans %}Started{% endtrans %}</th>
|
|
|
|
<th>{% trans %}Last update{% endtrans %}</th>
|
|
|
|
</tr>
|
|
|
|
{% for name, container in containers.items() %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ name }}</td>
|
|
|
|
<td><span class="label label-{{ "success" if container['State']['Running'] else "danger" }}">{{ container['State']['Status'] }}</span></td>
|
|
|
|
<td>{{ container['State']['Pid'] }}</td>
|
|
|
|
<td>{{ container['Config']['Image'] }}</td>
|
|
|
|
<td>{{ container['State']['StartedAt'] }}</td>
|
|
|
|
<td>{{ container['Image']['Created'] }}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
{% endcall %}
|
2016-04-20 22:37:17 +02:00
|
|
|
{% endblock %}
|