File: app.html

package info (click to toggle)
python-parsl 2025.01.13%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,072 kB
  • sloc: python: 23,817; makefile: 349; sh: 276; ansic: 45
file content (53 lines) | stat: -rw-r--r-- 1,734 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends "layout.html" %}

{% block content %}

<br />
<h2>{{ app_name }}</h2>
<hr>


<ul>
    <li><b>Workflow name:</b>  <a href="/workflow/{{ workflow_details['run_id'] }}/">{{ workflow_details['workflow_name'] }}<a/></li>
    <li><b>Started:</b>  {{ workflow_details['time_began'] | timeformat }}</li>
    <li><b>Completed:</b>  {{ workflow_details['time_completed'] | timeformat }}</li>
    <li><b>Workflow duration:</b>  {{ (workflow_details['time_began'], workflow_details['time_completed']) | durationformat }}</li>
    <li><b>Owner:</b>  {{ workflow_details['user'] }}</li>
    <li><b>Host:</b>  {{ workflow_details['host'] }}</li>
    <li><b>Run directory:</b>  {{ workflow_details['rundir'] }}</li>
    <li><b>Number of completed tasks:</b>  {{ workflow_details['tasks_completed_count'] }}</li>
    <li><b>Number of failed tasks:</b>  {{ workflow_details['tasks_failed_count'] }}</li>
</ul>



 <table class="table table-hover">
    <thead>
      <tr>
        <th>Name</th>
        <th>Task ID</th>
        <th>Dependencies</th>
        <th>Completed</th>
      </tr>
    </thead>
    <tbody>
      {% for t in task_summary %}
      <tr>
        <td>{{ t.task_func_name }}</td>
        <td><a href="/workflow/{{ workflow_details['run_id'] }}/task/{{ t['task_id'] }}">{{ t['task_id'] }}</a></td>
        <td>
        {% if t['task_depends'] %}
            {% for id in t['task_depends'].split(",") %}
                <a href="/workflow/{{ workflow_details['run_id'] }}/task/{{ id }}">{{ id }} </a>
            {% endfor %}
        {% else %}
            None
        {% endif %}
        </td>
        <td> {{ t['task_time_returned'] | timeformat }}</td>
      </tr>
    {% endfor %}
    </tbody>
  </table>

{% endblock %}