{% from "table_search.html" import table_search with context %} {% from "components/metadata_tables.html" import kv_table, resource_cost_table, collapsible_li, job_status_table %} {% from "utils.html" import batch_state_indicator, job_state_indicator, danger_button, submit_button, link, auto_refresh %} {% extends "layout.html" %} {% block title %}Batch {{ batch['id'] }}{% endblock %} {% block head %} {% endblock %} {% block content %}
| ID | Name | {% for job in batch['jobs'] %}|||
|---|---|---|---|---|
| {{ link(base_path ~ '/batches/' ~ job['batch_id'] ~ '/jobs/' ~ job['job_id'], job['job_id']) }} |
{% if 'name' in job and job['name'] is not none %}
{{ link(base_path ~ '/batches/' ~ job['batch_id'] ~ '/jobs/' ~ job['job_id'], job['name']) }}
{% else %}
{{ link(base_path ~ '/batches/' ~ job['batch_id'] ~ '/jobs/' ~ job['job_id'], 'no name') }}
{% endif %}
{{ job_state_indicator(job) }}
|
{{ job.get('exit_code', '') }} | {{ job.get('duration') or '' }} | {{ job.get('cost') or '' }} |