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
|
{% extends "layout.html" %}
{% block content %}
<br />
<h2>Workflows</h2>
<table class="table table-hover">
<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>Owner</th>
<th>Status</th>
<th>Runtime (s)</th>
<th>Tasks</th>
</tr>
</thead>
<tbody>
{% for w in workflows %}
<tr>
<td><a href="workflow/{{ w['run_id'] }}/">{{ w.workflow_name }}</a></td>
<td>{{ w.workflow_version }}</td>
<td>{{ w.user }}</td>
<td>{{ w.status }}</td>
<td>{{ (w.time_began, w.time_completed) | durationformat }}</td>
<td>
<span class="task task-complete">{{ w['tasks_completed_count'] }}</span>
<span class="task task-failed">{{ w['tasks_failed_count'] }}</span>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|