summaryrefslogtreecommitdiff
path: root/doc/invocations-http-server/templates/critical_path.html
blob: 8d8188094b472ef79548563680e89adfc741f383 (plain)
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
26
27
{% extends "base.html" %}
{% block heading %}
Invocations {{invocation | e}}
{% endblock %}

{% from 'macros.html' import show_action %}

{% block content %}
<h1>Critical path for {{ invocation | e }}</h1>

<h2>Overview</h2>
<ul>
  <li>Invocation: <a href="/invocations/{{ invocation | e }}"><tt>{{ invocation | e }}</tt></a></li>
  <li>Critical artifact: <tt>{{ critical_artifact["name"] | e }}</tt></li>
  <li>Duration: <tt>{{ critical_artifact["duration"] | e }}</tt></li>
  <li>Path:</li>
  <ul>
  {% for entry in critical_artifact["path"] %}
    {% if entry["type"] == "ACTION" %}
      {{ show_action(entry["data"]) }}
    {% else %}
      <li>{{ entry["type"] | lower | e }} <tt>{{ entry["data"]["name"] | e }}</tt></li>
    {% endif %}
  {% endfor %}
  </ul>
</ul>
{% endblock %}