execution_inspect.html 1.58 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
{% extends "base_user.html" %}
{% block title %}Inspect execution {{ e.name }}{% endblock %}
{% block content %}
<h2>Detailed information for execution {{ e.name }}</h2>
<div id="contents">
<ul>
    <li>Application name: {{ e.description['name'] }}</li>
    <li>Owner: {{ e.user_id }}</li>
    <li>Status: {{ e.status }}</li>
    <li>Time submitted: <script>format_timestamp("{{ e.time_submit }}")</script></li>
    {% if e.time_start == None %}
    <li>Time started: not yet</li>
    {% else %}
    <li>Time started: <script>format_timestamp("{{ e.time_start }}")</script></li>
    {% endif %}
    {% if e.time_end == None %}
    <li>Time finished: not yet</li>
    {% else %}
    <li>Time finished: <script>format_timestamp("{{ e.time_end }}")</script></li>
    {%  endif %}
</ul>
{% if e.status == 'error' %}
<p>Error message: <code>{{ e.error_message }}</code></p>
{% endif %}

26 27 28 29 30 31 32 33 34 35 36 37 38
<div id="endpoints">
<h3>Endpoints</h3>
{% if endpoints|length > 0 %}
<ul>
{% for endp in endpoints %}
    <li><a href="{{ endp[1] }}">{{ endp[0] }}</a></li>
{% endfor %}
</ul>
{% else %}
<p>This execution does not have any active endpoint</p>
{% endif %}
</div>

39 40 41 42 43 44 45 46 47
<div id="container_list">
{% if services_info|length > 0 %}
<h3>Services:</h3>
{% endif %}
<ul>
{% for s in services_info %}
    <li class="container_name" id="{{ s['id'] }}">{{ s['name'] }}</li>
    <ul>
    <li>Zoe status: {{ s['status'] }}</li>
48
    <li>Backend status: {{ s['backend_status'] }}</li>
49 50 51 52 53 54 55 56 57 58
    {% if s['error_message'] is not none %}
        <li>Error: {{ s['error_message'] }}</li>
    {% endif %}
    </ul>
{% endfor %}
</ul>
</div>

</div>
{% endblock %}